Not Solved [How To?] Putting board stats on sidebar
#1
Not Solved
This user has been denied support. This user has been denied support.
Hello,

I know putting the board stats on certain theme won't work but I'd like to know how do I put the board stats on my side? What is the exact code? Where do I put it?
Reply
#2
Not Solved
There are plugins for this

http://mods.mybb.com/view/sidebox
http://community.mybb.com/thread-131633.html
What goes around comes around
Reply
#3
Not Solved
This user has been denied support. This user has been denied support.
But still what's the code? Where do I place it?

And my forum is 1.8
Reply
#4
Not Solved
Sidebox uses the code for the portal page to place on other pages. You will find that code inside the install package of the plugin, or portal.php. The template for boardstats is portal_stats

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$lang->forum_stats}</strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">
<strong>&raquo; </strong>{$lang->num_members} {$stats['numusers']}<br />
<strong>&raquo; </strong>{$lang->latest_member} {$newestmember}<br />
<strong>&raquo; </strong>{$lang->num_threads} {$stats['numthreads']}<br />
<strong>&raquo; </strong>{$lang->num_posts} {$stats['numposts']}
<br /><br /><a href="{$mybb->settings['bburl']}/stats.php">{$lang->full_stats}</a>
</span>
</td>
</tr>
</table>
<br />

Using the above code as is on a page other than portal won't work.
What goes around comes around
Reply
#5
Not Solved
This user has been denied support. This user has been denied support.
Now, where do I place it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)