![]() |
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 |
My postbit_legacy from 4.1.8 has this:
Code:
<vb:each from="reputationdisplay" value="row"> |
what theme are you ussing?
|
I don't know - it's just the default style.
|
Quote:
|
auch and n ow how do i adapt it to what i use?can anyone help me?
|
Did you try just replacing {vb:raw post.reputationdisplay} in your code with what I posted above?
|
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"> |
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.
|
so the new system will show reputation only if the user have it above 100?
|
Hmm...that's a good point. Actually a user should have at least one block no matter what their reputation is, so obviously there's something else wrong. Before you were seeing "Array" so we know that reputationdisplay is an array, but looking at the html source of the page on your site, there's nothing there at all. Maybe someone else will have an idea?
|
so is this a bug from vbulletin or from my skin?
|
If it works fine in the default skin, then it is your custom skin causing the issue.
|
and how can i fix it?
|
If it looks fine in the default skin, then you will need to contact whoever did the skin it is not working in.
|
Seems to me like its working ?
|
I have the same thing since I have upgraded to 4.1.8. I also have 'Array' listed on the Online Users in the CMPS module and get an SQL when I try and see Who's online. Any ideas?
|
ok.problem rezolved.A moderator please close the thread.
--------------- Added [DATE]1324162729[/DATE] at [TIME]1324162729[/TIME] --------------- I have another question i disabled this code from the postbit template Code:
<vb:if condition="$show['reputation']"> |
What are postbit tabs ?
|
1 Attachment(s)
try to press these button an a post
|
1 Attachment(s)
something very strange.
After i give reputation the reputation displays untill the refresh of the page when it dissapears again. |
can someone please help me?
|
All times are GMT. The time now is 06:51 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:
|