The Arcive of vBulletin Modifications Site. |
|
Show Reputation Count on User public profile Details »»
|
|||||||||||||||||||||||||||
|
Show Reputation Count on User public profile
Developer Last Online: Oct 2010
This will show the number of rep points on the users public profile.
I have it set to show in the mini statistics box but you can use it anywhere! The dt class & dd class are just text formatting to make it fit in with the site. FIND in memberinfo_block_ministats Code:
<dd>$prepared[posts]</dd> Code:
<dt class="shade">Reputation Count: </dt><dd>$userinfo[reputation]</dd> Enjoy! DEMO HERE Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Updated - fixed variable so it shows rep / karma count for the user who's profile page you're viewing.
It will now work so guests can see users rep points |
|
#3
|
||||
|
||||
|
thank u man
|
|
#4
|
|||
|
|||
|
Thanks. Very helpful
![]() Just wondering. How would I do the same in the postbit legacy template? I tried using the same functions as your code but it looks like it revolves around a different code I think for the postbit templates. My current Rep code in the postbit template. Which is just for the blobs. I want to have blobs and then the number underneath of it. Code:
<if condition="$show['reputation']"><tr bgcolor="#ececec"><td align="center" style="border:1px;border-color:#d4d4d4;border-style:double;width:160px;"> Code:
<div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></tr></td></if>
|
|
#5
|
|||
|
|||
|
Quote:
In Postbit FIND Code:
<div> $vbphrase[posts]: $post[posts] </div> Code:
<div> Rep: $post[reputation] </div> IN postbit_legacy FIND Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> Code:
<div> Rep: $post[reputation] </div> This variable - $post[reputation] can be used anywhere in the postbit / postbit_legacy template so feel free to alter the layout to suit your needs. DEMO HERE |
|
#6
|
|||
|
|||
|
great work man
|
|
#7
|
|||
|
|||
|
Okay, what exactly do I have to edit if I want those pips to instead say Reputation: x,xxx?
|
|
#8
|
||||
|
||||
|
Nice --Thanks
|
|
#9
|
|||
|
|||
|
Hi I need some help, I do the edit in 3.8.3 and nothing hows up. Do I need to clear a cache or something? Maybe it does work with 3.8.3?
|
![]() |
|
|