![]() |
Making the "Reputation" text a link
Hi,
Can somebody please tell me how I go about getting the reputation text in the post bit to become a clickable link? Or perhaps point me to a thread where this has been done? So that users could "rep" someone by clicking on it The below link is an example to a vbulletin forum which has managed to do this:- http://www.weforums.com/forums/showt...44#post1872944 Any help would be much appreciated. |
Here you go:
Template: 'postbit' find: HTML Code:
<if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower] </if><div>$post[reputationdisplay]</div></if> HTML Code:
<if condition="$show['reputation']"><if condition="$show['reppower']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[reppower]</a>: $post[reppower] </if><div>$post[reputationdisplay]</div></if> HTML Code:
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if> HTML Code:
<if condition="$show['reputation']"><div><if condition="$show['reppower']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[reppower]</a>: $post[reppower]</if>$post[reputationdisplay]</div></if> |
Thanks for the reply but unfortunately it doesn't work.
Coudl you possibly edit this code to make it clickable please? <if condition="$show['reputation']"><div><if condition="$show['reputation']">$vbphrase[reputation]: </if>$post[reputationdisplay]</div></if> |
The code above works. Read the post. Find and REPLACE. ;)
|
HTML Code:
<!-- post #$post[postid] --> |
You didn't find the exact since your postbit_legacy template has been altered. Here is the fix for you specific style.
Find: HTML Code:
<if condition="$show['reputation']"><div><if condition="$show['reputation']">$vbphrase[reputation]: </if>$post[reputationdisplay]</div></if> HTML Code:
<if condition="$show['reputation']"><div><if condition="$show['reputation']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[reputation]</a>: </if>$post[reputationdisplay]</div></if> |
HTML Code:
<!-- post #$post[postid] --> |
Find:
HTML Code:
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if> HTML Code:
<if condition="$show['reputation']"><div><if condition="$show['reputation']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><strong>$vbphrase[reputation]</strong></a>: </if>$post[reputationdisplay]</div></if> |
All times are GMT. The time now is 01:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|