View Full Version : Change rep to a number in postbit
Boko577
03-20-2010, 12:18 AM
What's the code and where do I put it? Also is it possible to move the rep to below the avatar? I think it'd look nicer.
vicelover
03-20-2010, 12:36 AM
yes, you can.
go to this url
https://vborg.vbsupport.ru/showthread.php?t=237042
hope you will get what you need.
Boko577
03-20-2010, 04:48 PM
Thanks I'll check it out!
--------------- Added 1269107476 at 1269107476 ---------------
yes, you can.
go to this url
https://vborg.vbsupport.ru/showthread.php?t=237042
hope you will get what you need.
That didn't help. I want to change the rep green images to just a number instead, or keep both the images and the rep number.
mandingo
03-20-2010, 05:01 PM
You can enable "rep power" in admincp>thread display options>Post Elements>Display Reputation Power
Boko577
03-20-2010, 06:58 PM
You can enable "rep power" in admincp>thread display options>Post Elements>Display Reputation Power
Not rep power, I just want REP. I want REP changed into the number instead of the green block images in the postbit.
mandingo
03-20-2010, 07:09 PM
wow,i totally figured it out!!
In template postbit_legacy or postbit
find:
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span>
just delete "display" from it and it shows the number instead of the pips.
--------------- Added 1269116156 at 1269116156 ---------------
So what I did was:
<span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">Rep:{vb:raw post.reputation}</span>
Boko577
03-20-2010, 11:38 PM
It changes it to a number, but then when I put Reputation: right before that code, it says Reputation: rep number, but the rep number is on the next line. Can I put them on the same line?
princeedward
03-20-2010, 11:58 PM
hi guys....try this one...
<dt>{vb:rawphrase 'replevel'}</dt> <dd>{vb:raw post.reputation}</dd>
you might create new phrase maybe...for rep_level
GO > ACP > LANGUAGE & PHRASES > PHRASE MANAGER > ADD NEW PHRASE
Phrase Type: GLOBAL
Product: vBulletin
Varname: replevel
Text: Rep Level or Rep.
goodluck and best regards...
:p
Boko577
03-21-2010, 12:13 AM
hi guys....try this one...
<dt>{vb:rawphrase 'replevel'}</dt> <dd>{vb:raw post.reputation}</dd>
you might create new phrase maybe...for rep_level
GO > ACP > LANGUAGE & PHRASES > PHRASE MANAGER > ADD NEW PHRASE
Phrase Type: GLOBAL
Product: vBulletin
Varname: rep_level
Text: Rep Level or Rep.
goodluck and best regards...
:p
Okay I added that phrase, now do I just put that php code into the postbit_legacy or do I put it where it says translation?
princeedward
03-21-2010, 12:26 AM
Okay I added that phrase, now do I just put that php code into the postbit_legacy or do I put it where it says translation?if you created new phrase the way i told you....then its okay to add now the code above to your posbit_legacy template...
find this:
<vb:if condition="$show['reputation']">
<vb:if condition="$show['reppower']">
add below:
<dt>{vb:rawphrase 'replevel'}</dt> <dd>{vb:raw post.reputation}</dd>
hope it help you or else...
:p
vicelover
03-21-2010, 01:52 AM
hi guys....try this one...
<dt>{vb:rawphrase 'replevel'}</dt> <dd>{vb:raw post.reputation}</dd>
you might create new phrase maybe...for rep_level
GO > ACP > LANGUAGE & PHRASES > PHRASE MANAGER > ADD NEW PHRASE
Phrase Type: GLOBAL
Product: vBulletin
Varname: rep_level
Text: Rep Level or Rep.
goodluck and best regards...
:p
hi, priceedward.
There is something wrong.
The "Varname: rep_level" and "replevel" must be same.
best regards
Boko577
03-21-2010, 06:13 AM
Umm, what?
princeedward
03-21-2010, 06:42 AM
hi, priceedward.
There is something wrong.
The "Varname: rep_level" and "replevel" must be same.
best regardsthanks...you're right mate...that's the way i meant it....;)
Umm, what?it's a joke mate...:p did you get it now?
best regards to both of you....
:)
Boko577
03-24-2010, 07:43 AM
thanks...you're right mate...that's the way i meant it....;)
it's a joke mate...:p did you get it now?
best regards to both of you....
:)
No, I don't understand, sorry. I'm kinda new to this kind of stuff.
ChangeFive
04-01-2010, 02:52 PM
I've been trying to do the same thing and perhaps I'm doing something, but when someone reps another, the number reverts back to a green pip (until the page is reloaded).
Boko577
08-01-2010, 12:31 AM
I Need This!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.