The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Showing reputation points in 3.0.3?
3.0.3 gives users the additional option of hiding their reputation.
In my postbit_legacy template, I show exactly how many reputation points a user has: Points: $post[reputation] Is there a conditional I can use to hide that number if the user has opted to hide their reputation? |
#2
|
||||
|
||||
Questions about modifying vBulletin's default behaviour and asking about modifications in general, should be posted in General vBulletin Questions. Please read the forum descriptions more carefully in future. I've moved your thread there for you
Thanks, - Dean |
#3
|
||||
|
||||
it should be:
HTML Code:
<if condition="$post['reputationdisplay']">$post[reputation]</if> |
#4
|
||||
|
||||
Thanks Dean C.
That conditional had no effect for me, deathemperor. |
#5
|
||||
|
||||
I used <if condition="$userinfo['reputationdisplay']">$userinfo[reputation]</if> for my MEMBERINFO template and it works, replacing the userinfo with post should make it work on postbit.
Ok, I figured it out. HTML Code:
<if condition="$show['reputation']">$post[reputation]</if> |
#6
|
||||
|
||||
That's not working 100% for me.
This is what I have in my template: HTML Code:
<if condition="$show['reputation']"> <fieldset> <legend><strong>Karma:</strong></legend> Points: $post[reputation] $post[reputationdisplay] </fieldset> </if> As you can see from the above link, the image alt tag says that I've disabled reputation. However, the actual numerical value of 30 still shows. |
#7
|
||||
|
||||
now I'm lost
this is what the default postbit do to show the reputation if the user enables HTML Code:
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if> |
#8
|
||||
|
||||
I did a search on vb.com, and found the answer:
HTML Code:
<if condition="$post['showreputation']"></if> Thanks for your time. Much appreciated. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|