Back to vBulletin 4.x Template Modifications

Reputation as Numbers and/or Green Bars
Mod Version: 0.40, by Thr33

vB Version: 4.0.x Rating: (6 votes - 4.50 average) Installs: 49
Released: 11 Mar 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Code Changes Re-usable Code Translations  

Hey guys, im very new to PHP so this took me wayyyy longer than it should have done lol.

in postbit_legacy and/or postbit

find
PHP Code:
            <vb:if condition="$show['reputation']">
                <
span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
            </
vb:if> 
replace with
PHP Code:
            <vb:if condition="$show['reputation']">
                <
span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">Reputation: {vb:raw post.reputation}</span>
            </
vb:if> 
I also added the rep symbol infront of the "Reputation", you can do this by adding
PHP Code:
<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> 
before.

Download

No files for download.

Screenshots

Click image for larger version
Name:	repnumbers.png
Views:	4058
Size:	18.0 KB
ID:	113842  

Similar Mods

Show Thread Enhancements Reputation Displayed As Numbers vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024