vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbBux / vbPlaza (https://vborg.vbsupport.ru/forumdisplay.php?f=171)
-   -   How-To: Add vbBux to the drop down menu (https://vborg.vbsupport.ru/showthread.php?t=110282)

Bluestrike2 03-13-2006 08:43 PM

How-To: Add vbBux to the drop down menu
 
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.

Code:

<!--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. 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?


All times are GMT. The time now is 05:37 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01471 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete