vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   help debugin reputation not showing (https://vborg.vbsupport.ru/showthread.php?t=275500)

Popa Andrei 12-14-2011 09:21 PM

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:

Reputation
Array 

here is a link to a post to http://www.elitegamers.co/staff-appl...n.html#post166

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>
How should it be now?
Thanks in advance for the help. :d

kh99 12-14-2011 09:31 PM

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>


Popa Andrei 12-14-2011 09:50 PM

what theme are you ussing?

kh99 12-14-2011 09:56 PM

I don't know - it's just the default style.

HMBeaty 12-14-2011 11:37 PM

Quote:

Originally Posted by Popa Andrei (Post 2277830)
what theme are you ussing?

The way the reputation is built was changed in 4.1.8 to what kh99 posted above

Popa Andrei 12-15-2011 07:34 PM

auch and n ow how do i adapt it to what i use?can anyone help me?

kh99 12-15-2011 07:38 PM

Did you try just replacing {vb:raw post.reputationdisplay} in your code with what I posted above?

Popa Andrei 12-15-2011 07:43 PM

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>


kh99 12-15-2011 08:20 PM

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.

Popa Andrei 12-16-2011 07:27 PM

so the new system will show reputation only if the user have it above 100?


All times are GMT. The time now is 11:44 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
  • Page Generation 0.01010 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete