PDA

View Full Version : values no showing ??


chewy
06-29-2006, 05:20 PM
Whats wrong with this code, im trying to add it to a side bar on my forum home but none of the stats show but the $vbphrase's are.


<tr>
<td class="$bgclass">
<span class="smallfont">$vbphrase[members]: $numbermembers<br />
$vbphrase[threads]: $totalthreads<br />
$vbphrase[posts]: $totalposts<br />
$vbphrase[top_poster]: <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$topposter[userid]">$topposter[username]</a> ($topposter[posts])<br /></span>
</td>
</tr>
<tr>
<td class="$altbgclass"><span class="smallfont"><phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></span></td>
</tr>

sabret00the
06-29-2006, 08:19 PM
have you globalised the variables?

chewy
06-30-2006, 03:36 PM
have you globalised the variables?

If I knew how to, I would, but this is all a bit new to me...:confused:

sabret00the
06-30-2006, 03:48 PM
you'll need to add the variables to the global_start plugin, off the top of my head, i can't recall if they're cached or not, but i would personally recomment you cache them.

there are a few sidebar modifications that have been posted around the forums, you should check them out.

chewy
06-30-2006, 04:01 PM
you'll need to add the variables to the global_start plugin,

where in admincp will I find that ??

sabret00the
06-30-2006, 08:22 PM
sorry didn't mean the global_start plugin, i meant the global_start hook