At least, I think that's what I need to do.
I'm trying to install a small mod which displays a user's credits (from vBCredits II) in the navbar. Works perfectly on the forum pages, but always shows up as zero on the vBAdvanced main page.
This is the code being used:
CREDITS_DISPLAY_NAVBAR_ROW TEMPLATE<if condition="$bbuserinfo['userid']">
Under Main Options on the problem page, I see the bit where I should enter variables to be "globalized". I'm not sure that's the solution to the problem, but I don't know what to enter there. I've tried various things in the above code which have a $ sign in front of them (I missed the dollar sign out as instructed on the admin page), I've tried the hook name, but it doesn't seem to be working.<if condition="$vb4"><li><else /><td class="vbmenu_option" id="vbcredits_background"></if><a href="credits.php$session[sessionurl_q]" rel="credits-$currency[currencyid]-$user[userid];$user[username]"><span style="color: white;"><center>$currency[title]<br /><b>$useramt</b></center></span></a><if condition="$vb4"></li><else /></td></tr></if></td>
Any ideas what I should be doing?