![]() |
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? |
All times are GMT. The time now is 03:43 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:
|