The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Reputation Coding Questions
<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> This is what I have in my postbit and postbit legacy. I am running 4.2.2. I'm trying to have the bars for reputation instead of the reputation number value, but when I change it to vb:raw post.reputationdisplay it shows "reputation array" instead of bars. Green bars would be okay, but the orange bars would fit my theme. Can anyone help me out, please? |
#2
|
||||
|
||||
You have posted this same question in three other places, as well as send me a PM about it:
https://vborg.vbsupport.ru/showpost....2&postcount=40 https://vborg.vbsupport.ru/showthread.php?t=307851 https://vborg.vbsupport.ru/showthread.php?p=2478813 Please only post once, and wait for a answer. Once someone see it and has a idea they will answer. |
2 благодарности(ей) от: | ||
RichieBoy67, Simon Lloyd |
#3
|
|||
|
|||
Quote:
|
#4
|
||||
|
||||
You have customized the template as that is not how it appears in the default version of template. Revert the changes and you'll get the rep images back.
|
#5
|
|||
|
|||
Quote:
I did this, and changed it back to the original. It got rid of the number display, and added in the word "Array" again. I'll post the changes here: <vb:if condition="$show['reputation']"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span> </vb:if> What I did was take out the word "Reputation" to the right of the red text, and added in the word "display" (green text) which is how it was in the beginning. Then I tried taking out the word "display" (green text above) and left out the word "reputation" and now it shows JUST the number value, and not "Reputation 1234" I did this in postbit and postibit.legacy. Is there another place I need to do this in @squidsk ? --------------- Added [DATE]1391539193[/DATE] at [TIME]1391539193[/TIME] --------------- I changed it back to say "Reputation - 1234" until I can figure this out. I tried web searches, and I searched in this whole entire forum. Beyond me, man. |
#6
|
||||
|
||||
|
#7
|
|||
|
|||
Quote:
I found the code in my postbit and legacy from the first post, and changed it to the post to show the numbers. THen I read how to do it so it showed the green bars, and when I did that, it changed it to "array". I think the THEME that I have for my message board is not compatible with 4.2.2. I believe it's from 4.1.x It's cool. Thanks for the information, and any others that can help I appreciate it. I'm going to find a theme that's more up to date in accordance with my version, and that should fix the problem. |
#8
|
||||
|
||||
That code without the display added is not the default (i.e. supplied by vbulletin). When looking at the template click the revert button to restore it to the vbulletin default. Note you may have to do this with any parent styles you also have. An alternative is to create a new style with no parent and look at what the code for reputation is in the postbit and postbit_legacy templates in that new default style.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|