Back to vBulletin 3.8 Template Modifications

(vBCredits II Addon) Persistant Navbar Credits Display with Background Image
Mod Version: 1.00, by Replicators

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 2
Released: 10 Dec 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Translations  

VBCredits II Addon = Persistant Navbar Credits Display with Background Image for VB 3.8

This was made from the pro version so i can't guarantee it will work for the LITE version or not, and WILL NOT work in vb4!

You can get vbcredits II from:

[DBTech] vBCredits II Deluxe LITE = [DBTech] vBCredits II Deluxe

[DBTech] vBCredits II Deluxe PRO = http://www.dragonbyte-tech.com/vbecommerce.php?do=purchase&act=product&id=40

What this will do is add a permanent display of your credits inside your navbar so it is alway's viewable instead of having to click or hover over anything to see how much you have.

Example:


STEP ONE:
First go into Vbcredits dropdown in admincp, and into "Automatic Template Edits" and click onto "Navbar" and replace in the following information.

Click on "Show Advanced Options" at the bottom and put in.

Combination Rounding: Optional
Wrap Currencies with Main Template: Yes
Main Template: Blank
Currency Template: credits_display_navbar_row
Hook Name: Vbcredits_Display
Leave the rest blank!

Now save.

STEP TWO:
Now go into "Styles & Templates" and visit the "navbar" template and find:

HTML Code:
<if  condition="$show['pmwarning']"><div><strong><phrase  1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
Add Underneath:

HTML Code:
<if condition="$bbuserinfo['userid']">
                  $template_hook[Vbcredits_Display]</if>
Now Save

STEP THREE:
Go into the "credits_display_navbar_row" and replace all text with:

HTML Code:
<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>
STEP FOUR:

Now save and then go back into "Style Manager" and dropdown to your "Main CSS" option. Go the the very last box named "Additional CSS Definitions" and enter the following in the second box at the end.

PHP Code:
#vbcredits_background {
backgroundurl(./images/vbcredits_navbg.gifrepeat;

I have also attached a image you may use, just upload it to your /images/ directory.

Download

No files for download.

Screenshots

Similar Mods

Site navbar overlayed on background image vBulletin 3.5 Template Modifications

vblts.ru supports vBulletin®, 2022-2024