Log in

View Full Version : Move forum stats to sidebar on all pages?


himerus
12-20-2005, 09:53 PM
I've got a sidebar setup, and I had the stats working properly if the code was in the FORUMHOME template....

I have needed now to move the code to the FOOTER template to have it on every page....

I realize that it probably is because the


<b>$vbphrase[threads]:</b> $totalthreads,<br />
<b>$vbphrase[posts]:</b> $totalposts,<br />
<b>$vbphrase[members]:</b> $numbermembers<br />


variables aren't declared global...

I tried to hook those in with a global statement in a plugin, but I'm new to the plugin system, and I'm having an issue accomplishing this... and I'm sure it's really easy, but I haven't used vB since 3.0.3, and learning the plugin system is just going to take me some fooling around...

Can anyone help me on this one??!!

Thanks in advance...

Adyum
01-13-2007, 07:43 PM
I need help with this too please.

Dominic
01-14-2007, 01:06 AM
You may have to make a new plugin and just make it global or cache and then add the code. Maybe if i have time i will make one for you, but i beleive there is a hack / addon for this already.