The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add reputation link to decimal
Currently i have my postbit setup like this
vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt> <dd>{vb:raw post.joindate}</dd></vb:if> <vb:if condition="$post['field2']"><dt>{vb:rawphrase location_perm}</dt> <dd>{vb:raw post.field2}</dd></vb:if> <vb:if condition="$post['age']"><dt>{vb:rawphrase age}</dt> <dd>{vb:raw post.age}</dd></vb:if> <vb:if condition="$show['reputation']"> <dt>Rep</dt> <dd>{vb:raw post.reputation}</dd> </vb:if> I would like to have a URL to reputation when clicking on the decimal |
#2
|
||||
|
||||
Quote:
Code:
<vb:if condition="$show['reputation']"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}"> Репутация: <b> <vb:if condition="$post[reputation] >= 0"> <font color="green">{vb:raw post.reputation}</font> <vb:else /> <font color="red">{vb:raw post.reputation}</font> </vb:if> </b> <a class="popupctrl reputation" title="{vb:rawphrase reputation}" href="reputation.php?{vb:raw session.sessionurl}do=addreputation&p={vb:raw post.postid}" rel="nofollow" id="reputation_{vb:raw post.postid}"> <b>[<font color="green">+</font>/<font color="red">-</font>]</b> </a> </span> </vb:if> Code:
/* reputation image */ .postbit_reputation { clear: both; display: block; font-size: 0; padding-left: 2px; } Code:
/* reputation image */ .postbit_reputation { clear: both; display: block; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|