![]() |
Reputation as Numbers and/or Green Bars
1 Attachment(s)
Hey guys, im very new to PHP so this took me wayyyy longer than it should have done lol.
in postbit_legacy and/or postbit find PHP Code:
PHP Code:
PHP Code:
|
|
I was unable to get it to work
Here is my code from postbit Any suggestions? </vb:if> {vb:raw template_hook.postbit_userinfo_left} <vb:if condition="$show['reputation']"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">Reputation: {vb:raw post.reputation}</span> </vb:if> |
Ok, also replaced it in postbit_legacy and it is now working correctly.
Thanks! Good Job! |
how can I enable the green bars?
|
@paradox109, The green bars are {vb:raw post.reputationdisplay}, instead of {vb:raw post.reputation} for numbers.
@Merlinii, You could just change the code to something similar without the span class, so it would look like this: Code:
<vb:if condition="$show['reputation']"> |
Quote:
Reputation >> {vb:rawphrase reputation} Code:
<vb:if condition="$show['reputation']"> |
Thank you for this information. I found it to be VERY useful.
Can anyone help me to get the rep to display on the member profile? Thanks in advance. |
|
It seems this view doesn't honor the setting "User can hide reputation".
Anyone knows how to achieve that? |
http://img535.imageshack.us/img535/9639/reputationk.jpg Can i Get this in Straight line rather than 3 different lines :( My code is : Code:
<img src="{vb:stylevar imgdir_button}/reputation-40b.png" alt="{vb:rawphrase add_reputation}" /> |
how to set it under the rep power function?
Like as this below http://www.desiupload.com/out.php/i720710_Capture.PNG |
siete7, it should respect if the user has decided not to show reputation, hense the code
Code:
<vb:if condition="$show['reputation']"> whyiteasy, Add </ br> after the RepPower script |
You Can Show The Rep Image + Numbers In The Same Time Like This
Code:
<vb:if condition="$show['reputation']"> |
Hello,installed.
Now https://vborg.vbsupport.ru/external/2011/02/3.jpg I would like this on 2 rows : https://vborg.vbsupport.ru/attachmen...1&d=1298567642 This is my legacy : Quote:
|
Just remove the span. So be like:
Code:
<vb:if condition="$show['reputation']"> |
Does anyone know what the code to add Rep Power aswell is?
Thanks. |
It gives me
adding child to non-existent node when i edit it in the postbit legacy i can't find it in postbit any tips? |
This mod needs updated. vBulletin 4.18 changes the way that reputation is displayed. raw post.reputationdisplay no longer works.
|
|
Waiting for update ! 4.1.8
|
|
Please Update!
|
Only the reputationdisplay has been removed from vBulletin code. The vb:raw post.reputation (reputation as a number) is still active and working.
|
Quote:
|
Could you please help me how to change this code to display reputation number on post profile.
here my code.. Quote:
|
how do you make it so when the person has -rep it shows red numbers and when the person has positive rep it shows in green numbers
|
is there a 4.1.12 mod version around?
|
Looking forward to the 4.1.12 mod too. The old one shows the rep icon above the reputation.
|
I assume something around here needs amending for 4.1.12 but ive had no luck
<vb:if condition="$show['reputation']"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}"> |
bump
|
Not working for 4.2.0 - any update?
|
OK, I just left the green dots alone, and I added another line for Reputation to the end of my user's information:
Look for this: PHP Code:
Directly after it add: PHP Code:
|
Hey .. i done everything but still its not working in my forum im using 4.0.8
|
i have a probleme , i dont find the codes :(
here is my postbit legacy : Quote:
can someone help? |
i found this :
Quote:
|
in 4.2.0 (BETA 1)+ you have to add it below this:
PHP Code:
PHP Code:
|
can this work as a plugin?
|
I changed the coding to say "reputationdisplay" so it will display the bars instead of numbers, and when I do that it says "Reputation Array" where the reputation bars should be. When I put it only as "reputation" in the coding, it shows the number value.
What am I missing? |
Sorry. This is what I have as far as coding goes.
postbit and postbit legacy are the same <vb:if condition="$show['reputation']"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">Reputation: {vb:raw post.reputation}</span> </vb:if> I'm on a 4.2.2 |
All times are GMT. The time now is 08:52 PM. |
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:
|