![]() |
Reputation Displayed As Numbers
This is an updated and improved version of this thread (which was made on my old account).
Made this thread to give support and share simplified version of the modification. This modification does the following on the postbit display: Before modification: Rep: XXXXXXXXX After modification: Reputation: 1046 XXXXXXXXX Real and live examples can be found on my own community (look on the left side at user information): Graphite Skin iSkin Skin Default Style Skin Update Log ------------ 1.2 -> 1.21 - Fixed issue where reputation amount in numbers would still be displayed if user would have disabled reputation display through user control panel. (Thanks to airborneCAL for noticing this) 1.1 -> 1.2 - Replaced the string "Reputation" with $vbphrase[reputation]. (Thanks to Icy for noticing this) In "postbit" (horizontal style) and/or "postbit_legacy" (vertical style) template find: PHP Code:
REPLACE WITH: PHP Code:
Please note that you might have to modify it to make it appear perfect on your skin. On my community's Graphite and iSkin styles I didn't have to do anything more special, but on Default Style style I had to place a <br /> in front of the REPLACE WITH code to make it appear on a new line. If you have trouble with anything, I'll try my best to help you out. |
Cool.
|
Quote:
I'm not a web coder or designer (yet ;P), but I know how to change certain stuff and Google helps out a lot as well in this. Just sharing since it's not available anywhere, hope people enjoy it. |
Hi.
Has anyone tried this for the horizontal display. I made the change in postbit but nothing changed. Thanks. Fabian |
I will very soon have my community in both vertical and horizontal, I'll update this thread and send out email for the update if anything special needs to be changed.
If not, I'll post it as well. |
Once your reputation reaches the point at which more than one green pip would be displayed, you'll have mutiple instances of "Repuation Number"
|
I cannot find that code ANYWHERE in there. I am using the rogue skin. Know what the problem might be?
|
Thanks.
|
Quote:
|
After giving a reputation in a post, the number disappear.
I need to do a refresh Is it normal? |
Great mod, works perfectly.
|
This doesn't appear to work with the postbit set to horizontal.
|
Works fine for me.
|
I can't even find the code there now...
Something strange has happened, I very well might have messed it up. |
This is what my script looks like. It is still showing the little green icons, can anyone point me in the right direction?
Code:
<if condition="$show['reputation']"><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]">Reputation: $post[reputation]<br />$post[reputationdisplay]</span></div></if> |
Thanks man I'm using it on my site right now. :D
|
Quote:
Make sure your cache is up-to-date. PS: The green gems will still show, it will just also display your actual reputation in numbers above the reputation gems. |
Quote:
HTML Code:
$vbphrase[reputation]: $post[reputation]<br />$post[reputationdisplay] |
It says Rep: ;).
I rather have "Reputation: 312" displayed on my community than "Rep: 312". Looks better and professional if you ask me. |
It doesn't. Its a standerd vBulletin Global phrase. Search for it in ACP. You 'll find it. $vbphrase[reputation] shows Reputation.
|
Liked it ;) 5 starz
|
Can someone please help me out... I've been trying to get this to work, it just isn't showing up. This is the code I currently have.
Code:
<if condition="$show['reputation']"><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]">Reputation: $post[reputation]<br />$post[reputationdisplay]</span></div></if> |
Quote:
|
Oooh.... Much appreciated. Thanks.
|
I modified the first thread to include postbit change (instead of mentioning postbit_legacy alone) and updated the modification to change the string "Reputation" to the variable $vbphrase[reputation] (Thanks to Icy for reporting).
|
Thanks... I've been looking for this. :D
|
thanks nice work :)
|
installed, thanks :)
|
very kewl
|
Hiyas
This is what I found in postbit for reputation: <img class="inlineimg" src="$stylevar[imgdir_reputation]/reputation_$posneg.gif" alt="$post[username] $post[level]" border="0" /> Not sure what to do? Help Please :D |
Can you give me a link to the skin on your community?
|
<a href="http://www.clancbs.com/board" target="_blank">www.clancbs.com/board</a>
Just vbulletin default style. |
You should be able to find the "$post[reputationdisplay]".
Make sure you don't include spaces in there like "$post[reputationdisplay] ". |
The numbers still show up for users that have the reputation disabled. How can you fix that?
|
Quote:
Thank you for reporting this. I will have it fixed and an update sent out within an hour. |
Quote:
I can't seem to reproduce this. With more gems, it still displays just once. Quote:
This is very strange, I will look further into it and have an update released when I get this fixed. Thanks for reporting. I'm guessing it auto updates this on the fly, with AJAX or something, while this code is only in the postbit template. |
Quote:
I modified the code a bit to show different images, and am not sure what I did the first time I installed your mod, and what I added when I changed the images (using a different mod). THANKS! |
From 1.2 to 1.21
Change: PHP Code:
Into: PHP Code:
|
Tested and confirmed working with version 3.6.7, updated version number on thread.
|
thanks fred it’s work gr8 with 3.6.8
|
All times are GMT. The time now is 03:21 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:
|