The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Reputation Plugin Not Working
We had created something for reputation which looked like this.
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="" />'; } |
#2
|
||||
|
||||
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?
|
#3
|
|||
|
|||
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...
|
#4
|
||||
|
||||
I can't see the image you posted.
|
#5
|
|||
|
|||
This it...
|
#6
|
||||
|
||||
And what is showing now? Is the variable $post['reputationdisplay'] called in the template?
|
#7
|
|||
|
|||
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...
|
#8
|
|||
|
|||
Wondering if you guys have any thoughts on this now...
|
#9
|
||||
|
||||
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?
|
#10
|
|||
|
|||
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 Before |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|