The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Is setting my reputation as this possible?
Hey, I wanted to have a little play around with my user.
I wanted to set myself to have an infinite amount of reputation, not 999999 or anything but either display the symbol "∞" or have to word "Infinite" or "Infinity" show up. I only want this to happen for my userid and no-one else. I am in usergroup id "21" - Root Admin Is maybe using a vb:if function in the postbit the way forward? PS : I also want it to it is impossible to give me reputation which may screw up the word or something PPS : I found that the HTML code for the infinity symbol ∞ is & # 8 7 3 4 ; without the spaces, would that help? --------------- Added [DATE]1268503287[/DATE] at [TIME]1268503287[/TIME] --------------- I got it working. My code : Code:
<vb:if condition="$show['reputation']"> <vb:if condition="$bbuserinfo['userid']==2"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}"><dt>Reputation</dt>∞</span> </vb:if> <vb:if condition="$bbuserinfo['userid']!=2"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}"><dt>Reputation</dt>{vb:raw post.reputation}</span></vb:if> </vb:if> EDIT : not working, everyone has Infinite rep now |
#2
|
||||
|
||||
You have too much free time on your hands.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|