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...
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...