![]() |
Display Total Points
I'm trying to add in the total points, in pocket and in bank combined, on the vbPlaza main page, and subpages, such as the bank and shop categories. I'd like to place it in the "[user] vbBux vbPlaza Information" box, directly underneath the bank total and above the "Enter the Bank" link.
I've tried placing the following underneath the code for the bank total and above the code for the link: Code:
<div class="smallfont"><phrase 1="$vbphrase[vbbux_points]">$vbphrase[vbbux_total_points]</phrase>: $userinfo[totalpoints]</div> Sorry if this post is unnecessarily long, I just wanted to make sure that I gave as much information as might be needed to work out this problem. |
$userinfo may not work properly, try $vbulletin->userinfo and it should work.
-CMX |
Tried it, that gives me "Array[totalpoints]" instead of a number.
Thanks for the quick response, though. Any other suggestions? |
Well, try $vbulletin->userinfo[totalpoints] instead of $vbulletin->userinfo.
It should work if u put $vbulletin->userinfo[totalpoints] -CMX |
All times are GMT. The time now is 03:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|