PDA

View Full Version : How-To: Add vbBux to the drop down menu


Bluestrike2
03-13-2006, 08:43 PM
Whenever you click on someone's name, you see options such as View Profile etc. This will add vbBux to that, but as a separate category.


<!--vbPlaza -->
<if condition="$vbulletin->options['vbbux_enabled']">
<tr><td class="thead"><phrase 1="$post[username]">vBPlaza Stats</phrase></a></td></tr>
<tr><td class="vbmenu_option">
$vbphrase[vbbux_points]: $post[points]
</td></tr>
<tr><td class="vbmenu_option">
$vbphrase[vbbux_bank]: $post[bank]
</td></tr>
<tr><td class="vbmenu_option">
<phrase 1="$vbphrase[vbbux_points]">$vbphrase[vbbux_total_points]</phrase>: $post[totalpoints]
</td></tr>
<tr><td class="vbmenu_option">
<a href="vbplaza.php?do=donate&amp;userid=$post[userid]">$vbphrase[vbplaza_donate]</a>
</td></tr>
</if>
<!-- /vbPlaza -->


Example is here (http://mlgpwncast.com/forum/showthread.php?t=70). Click on my name to see.

I didn't notice anyone posting this here (although I've merely thumbed through it :(), so I figured I might as well post this little tidbit of information. If it has already been posted, forgive me :D.

Sooner95
03-13-2006, 09:54 PM
nice idea indeed. Cleans up the postbit or postbit legacy.

Ohiosweetheart
03-13-2006, 11:04 PM
oh yeah I like that too... um... what template would this be in?