vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Reputation Plugin Not Working (https://vborg.vbsupport.ru/showthread.php?t=304878)

RealitYYY 11-22-2013 06:10 PM

Reputation Plugin Not Working
 
We had created something for reputation which looked like this.
http://filesharingtalk.com/attachmen...3789160http://

The plugin shows rep total rather than needing to hover over it.
It also creates pip every 5 rep members have on the site.
This is the code we have which isnt working now...

Code:

// Fix for multiple reputation descriptions
$templater = vB_Template::create('postbit_reputation');
    $templater->register('post', $post);
$post['reputationdisplay'] = $templater->render();

// Now let's make up the pip thingys...
for ( $i = 1; $i < ceil ( intval( $post['level'] ) / 4.5 ); $i++ )
{
    if ($i > 8) { break; }
    $post['reputationdisplay'] .= '<img src="images/reputation/reputation_highpos.png" alt="" />';
}


pityocamptes 11-22-2013 06:13 PM

Did you do an update, or it just stopped working? Are your images showing? Have you checked the images folder to see if still there?

RealitYYY 11-22-2013 06:20 PM

The pip is there. The site had updates since and it dosent work now. Would like something to show pip for 5 rep recieved on the site. Would like the total to show with it like image shown also...

Lynne 11-22-2013 06:24 PM

I can't see the image you posted.

RealitYYY 11-22-2013 07:06 PM

1 Attachment(s)
This it...

Lynne 11-22-2013 11:17 PM

And what is showing now? Is the variable $post['reputationdisplay'] called in the template?

RealitYYY 11-24-2013 06:07 PM

It shows the pips like standard now. There isnt any total and pips arent created every 5 like they were. Not sure how to check table your reffering to on this...

RealitYYY 11-27-2013 02:05 AM

Wondering if you guys have any thoughts on this now...

Lynne 11-27-2013 07:10 PM

The code you posted shows nothing about the total, so there really isn't anything to say except you need to add in the code that shows the total. And, you say the pips aren't showing correctly, but what is showing? I mean, they look fine to us, so what is wrong with them?

RealitYYY 11-28-2013 06:25 PM

The pips are there. Though pips should show for 5 rep recieved on the site. If you have 40 rep youde have 8 pips then. Now its simply vb default settings. Theres members with 100 rep that have 2 pips showing. The totals now show when you hover over the pips on the site. Perhaps comapre these images of this...

Now
https://vborg.vbsupport.ru/external/2013/11/7.png

Before
https://vborg.vbsupport.ru/external/2013/11/1.gif


All times are GMT. The time now is 01:11 PM.

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.01057 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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