PDA

View Full Version : Forum Stats not working...


WoodiE
06-16-2004, 09:01 PM
I've recently upgraded from vb 2.3.0 to 3.0.1 and have added a right sidebar that displays throughout the forum, how ever I can't get the side bar to display forum stats such as posts, threads, new posts, members, and so on. ( example: www.rcnitrotalk.com/forum (http://www.rcnitrotalk.com/forum) )

Here's an example of the code for the side bar:

<strong>$vbphrase[posts]:</strong> $totalposts


Yet it displays only Total Posts: in bold and nothing after that. Any ideas as to why?


-Michael

Tony G
06-17-2004, 08:03 AM
Weird problem, should work if you put it in the forumhome template.

Can you maybe attach your sidebar code?

Brad
06-17-2004, 11:02 AM
Rebuild the cache, go into update counters and run all the processes.

WoodiE
06-17-2004, 03:55 PM
Rebuild the cache, go into update counters and run all the processes.
Brad I'm not sure how to clear the cache, but I did update all my counters on the forum - still a no go.


Tony - I've attached ALL of my sidebar code in the below text file, I hope this helps.



-Michael

Tony G
06-18-2004, 06:24 AM
What's this sidebar template?

The variable will only work in the forumhome template. It'll probably require hacking to make it work in any other template. Put your sidebar code in your forumhome template, and it should work. If it's already in there, then I have no idea what the problem is. =/

WoodiE
06-18-2004, 03:40 PM
Tony,

I've replaced the $sidebar in the footer with the entire code of the $sidebar template - still nothing.

Tony G
06-18-2004, 11:50 PM
The variable only works in the forumhome template. It doesn't work anywhere else without some hacking.

WoodiE
06-19-2004, 12:44 PM
Thanks Tony, I'll head over to vb.org

-Michael

Tony G
06-19-2004, 01:11 PM
To save you hacking, you could put the sidebar code in your forumhome template.