I have been playing around with myBB again over the weekend. I was looking at ideas on how you can use myBB as a full frontal CMS. I have discovered if you make a copy of portal.php and rename it (to anything) and also make a copy in the ACP you're able to create unqiue pages with all myBB's functionallity intact.
Here's my test version: https://sitebee.co.uk/mybb/ninja-slammer-test.php
Here's the instructions:
Login into FTP and navigate to myBB root folder, make a copy of the portal.php file. Rename it to whatever you need it to be called. For example purposes lets name it portal2.php
Now login into myBB admin, head to the template editor. Copy the file contents of portal, then you need to 'add template'. Paste the contents of portal and save the file as portal2.
Now go back to the newly renamed php file of portal.
Look for:
See where its asking for the template file name? Modify the name to portal2. Save the file and upload to the myBB root folder. Visit the page via your web browser to confirm its valid and live. If it is your can go edit the template file to add whatever content you require. You can find the template file in the ungrouped template set.
I'm gonna play around some more and see what other myBB hacks I can find.
Here's my test version: https://sitebee.co.uk/mybb/ninja-slammer-test.php
Here's the instructions:
Login into FTP and navigate to myBB root folder, make a copy of the portal.php file. Rename it to whatever you need it to be called. For example purposes lets name it portal2.php
Now login into myBB admin, head to the template editor. Copy the file contents of portal, then you need to 'add template'. Paste the contents of portal and save the file as portal2.
Now go back to the newly renamed php file of portal.
Look for:
PHP:
eval("\$portal = \"".$templates->get("portal")."\";");
See where its asking for the template file name? Modify the name to portal2. Save the file and upload to the myBB root folder. Visit the page via your web browser to confirm its valid and live. If it is your can go edit the template file to add whatever content you require. You can find the template file in the ungrouped template set.
I'm gonna play around some more and see what other myBB hacks I can find.