The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Reputation, turn off for those who opt not to display
In the postbit template there exist the following lines:
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> </if> I'd like to wrap those lines with a conditional that stops the display of the reputation link if the user has opted not to display their reputation. Something like: <!-- reputation opt in/out detection --> <if condition=" WHAT GOES HERE TO DETECT IF USER IS OPTED NOT TO DISPLAY THEIR REPUTATION?"> <if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a> </if> </if> I'm trying to figure out how to detect that the user is allowing their reputation to be shown and then, as I said, not allow them to vote on reputations. Any suggestions would be grand! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|