PDA

View Full Version : Sidebar Content


SNATCH3R
02-01-2008, 08:02 AM
Hello

I am facing a problem with my vb 3.6.8

I am having a sidebar defined for my style and in the side column in one of the table cell i had given the following code. The side column and codes are defined in the navbar template.

Forum Members: $numbermembers<br />
Total Threads: $totalthreads<br />
Posts: $totalposts<br />
<br />
Forum Staff:<br />
<a href="member.php?u=1">Administrator</a>,<br />
<br />
There are currently <span class="staff"><b>$totalonline</b></span> users online.


The code works fine in the index page where I can see the main forums, but in the sub forums and other pages the $numbermembers, $totalthreads, $totalposts etc are not getting displayed. It's either blank or shows 0 or 1 post / threads etc.

Can anybody help me how to make these work on all the pages.

Thanks

calorie
02-01-2008, 12:35 PM
Not all those variables are set on all pages. Take a look at the main index.php file for how those variable are set and check how it was done in the vB 3.5 days, or see if you can find something more recent:

https://vborg.vbsupport.ru/showthread.php?t=95493
https://vborg.vbsupport.ru/showthread.php?t=104591

SNATCH3R
02-01-2008, 05:26 PM
Thanks for the update..i sorted it out with one of the plugin.....just edited the XML file to remove unwanted queries :p

Thanks once again....