Venturer X
03-13-2010, 03:23 PM
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 1268503287 at 1268503287 ---------------
I got it working.
My 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>
In postbit
EDIT : not working, everyone has Infinite rep now
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 1268503287 at 1268503287 ---------------
I got it working.
My 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>
In postbit
EDIT : not working, everyone has Infinite rep now