The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
help debugin reputation not showing
Hello there everyone.I am ussing vbulletin 4.1.8 and a plugin to display in postbit_legacy the user info i want for the users.After the update to 4.1.8 i noticed that in the reputation instead of showin the images wich show the reputation it simply shows
PHP Code:
Currently i am ussing this code to display the repution Code:
<div class="post_field"><span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}"><dt>Reputation</dt><dd>{vb:raw post.reputationdisplay}</dd></span></div> Thanks in advance for the help. :d |
#2
|
|||
|
|||
My postbit_legacy from 4.1.8 has this:
Code:
<vb:each from="reputationdisplay" value="row"> <img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend} </vb:each> |
#3
|
||||
|
||||
what theme are you ussing?
|
#4
|
|||
|
|||
I don't know - it's just the default style.
|
#5
|
||||
|
||||
The way the reputation is built was changed in 4.1.8 to what kh99 posted above
|
#6
|
||||
|
||||
auch and n ow how do i adapt it to what i use?can anyone help me?
|
#7
|
|||
|
|||
Did you try just replacing {vb:raw post.reputationdisplay} in your code with what I posted above?
|
#8
|
||||
|
||||
no but i will now.Thaks for the tip :d
--------------- Added [DATE]1323983291[/DATE] at [TIME]1323983291[/TIME] --------------- not showint the reputation http://www.elitegamers.co/staff-appl...2.html#post247 here is what i use now Code:
<div class="post_field"><span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}"><dt>Reputation</dt><dd><vb:each from="reputationdisplay" value="row"> <img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend} </vb:each></dd></span></div> |
#9
|
|||
|
|||
Looking in fetch_reputation_image in includes/functions_repuattion.php, it looks like it's trying to construct a set of bars, one for each 100 points of reputation. So, do any users have > 100 reputation? I think if a user's rep is between -100 and 100 it will be blank.
|
#10
|
||||
|
||||
so the new system will show reputation only if the user have it above 100?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|