MyBB Community Forums

Full Version: Calling variables from portal.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to make the sideboxes of portal.php appear on index page?
I tried pasting the codes on the index but they don't work.
{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}
{$latestthreads}
Regards
You will have to make modifications to the core index.php file.
(2010-05-04, 04:31 PM)Joshee Wrote: [ -> ]You will have to make modifications to the core index.php file.

could you give a brief explanation?
You just have to copy the correct lines of code from the portal.php file and put them in the index.php file.
Thanks. thats what i am doing in my plugin.
Yes, you have to copy most of the portal code into your plugin file. That's what I did here: http://mods.mybboard.net/view/index-boxes

Problem: Whenever the codes changes (update, security issue) you also have to update your plugin file...
I finished developing my plugin which shows the protal boxes on index, forums/threads with lots of settings in AdminCP. Smile

http://community.mybboard.net/thread-69317.html