Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Extended Reputation Display Details »»
Extended Reputation Display
Version: 4.2.2.0, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.2.x Rating:
Released: 01-01-2010 Last Update: 08-28-2014 Installs: 460
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

As of 23 Nov 2017 this modification has been withdrawn.

This hack extends the existing reputation display system from just the light/dark green pips to green and golden pips, and then a series of bronze, silver and gold stars as the pips limit is reached.

The dark green pips are followed by light green pips, which are then followed by gold pips.

When the limit these can display is reached, the (prefix) display of stars begins - starting with the bronze stars, then the silver stars and finally the gold Stars. If your reputation is zero then the neutral grey pip is displayed. Negative reputations are displayed in a similar manner using light and dark red pips and red stars - however, there is only one star level for negative reputation.

Each time you 'lap' the limit of the pips display, another star is added. The number of each star is limited by an ACP option (by default, 5 bronze = 1 silver, and 5 silver = 1 gold). The number and value of the pips in each group of pips is defined by six settings.

A line break can be inserted after the stars. The extended display system can be enabled/disabled in the options.

All options are in ACP > Options > Extended Reputation

To install just download and unzip the files and follow the instructions in the text file.


History:

v4.0.1 : 02-Jan-2010 : Initial release for vb 4.0.0 Gold.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.
v4.1.8.0 : 18-Nov-2011 : Updated for vBulletin 4.1.8 onwards (only).
v4.1.8.1 : 28-Nov-2011 : Extend line-break back to non legacy postbit.

v4.2.0.0 : 24-May-2012 : Updated for vBulletin 4.2.0.
v4.2.2.0 : 29-Aug-2014 : Fixed line-break issue as per 4.1.8.1).

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
9 благодарности(ей) от:
ELROBLE, Erica1977, final kaoss, ggrimes620, Life Revived, RichieBoy67, rootsxrocks, VTXCafe.com

Comments
  #42  
Old 03-13-2010, 12:41 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a minor change to the installation code, so nothing for anyone who has it installed to worry about.
Reply With Quote
  #43  
Old 03-14-2010, 11:24 PM
sung sung is offline
 
Join Date: Feb 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by New Joe View Post
After installing this I noticed when you place your mouse over the repo green dots it doesn't say the little sayings any more ", it just shows as "reputation"

Here's the changes you need to make to get them back.

Quote:
Originally Posted by Paul M
Quote:
Originally Posted by sung
I altered the plugins and templates slightly to allow for displaying the alternate text, would you like the changes to incorporate into the mod?

If not can I post my changes in the thread for the mod so that others can use them if they want?

So that we're not sending PMs back and forth here are the changes:

Changed postbit_reputation_erd to match the default postbit_reputation (I'm not sure if this negates the need for the custom template or not?), namely the alt tag.

OLD:
Code:
alt="{vb:phrase reputation}"
NEW:
Code:
alt="{vb:raw post.username} {vb:raw post.level}"

Changed the following plugin: Extended Reputation Display (3) reputation_image

OLD:
PHP Code:
if ($vbulletin->options['erdenable'])
{
    if (
$posneg <> 'off')
    {
        
$repval $post['reputation'];    
        
$post['reputationdisplay'] = ($vbulletin->options['legacypostbit'] ? '<br/>' '' );

        if (!
$post['reputationlevelid'])
        {
            
$post['level'] = $vbulletin->options['reputationundefined'];
        }

        
$erdxv = ($vbulletin->options['erdav'] * $vbulletin->options['erdac']) + 
        (
$vbulletin->options['erdbv'] * $vbulletin->options['erdbc']) + 
        (
$vbulletin->options['erdcv'] * $vbulletin->options['erdcc']) ;

        
$erdyv $erdxv $vbulletin->options['erdsl'];
        
$erdzv $erdyv $vbulletin->options['erdsl'];
        
$erdxc $erdyc $erdzc $vbulletin->options['erdsl'];

        
$templater vB_Template::create('postbit_reputation_erd');

        
$stars false

NEW:
PHP Code:
if ($vbulletin->options['erdenable'])
{
        if (!
$post['showreputation'] AND $perms['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canhiderep'])
        {
        
$posneg 'off';
        
$post['level'] = $vbphrase['reputation_disabled'];

        
$templater vB_Template::create('postbit_reputation_erd');
            
$templater->register('posneg'$posneg);
            
$templater->register('post'$post);
        
$post['reputationdisplay'] = $templater->render();
    }
        else
    {
        
$repval $post['reputation'];
        
$post['level'] = $vbphrase['reputation' $post['reputationlevelid']];
        
$post['reputationdisplay'] = ($vbulletin->options['legacypostbit'] ? '<br/>' '' );

        if (!
$post['reputationlevelid'])
        {
            
$post['level'] = $vbulletin->options['reputationundefined'];
        }

        
$erdxv = ($vbulletin->options['erdav'] * $vbulletin->options['erdac']) + 
        (
$vbulletin->options['erdbv'] * $vbulletin->options['erdbc']) + 
        (
$vbulletin->options['erdcv'] * $vbulletin->options['erdcc']) ;

        
$erdyv $erdxv $vbulletin->options['erdsl'];
        
$erdzv $erdyv $vbulletin->options['erdsl'];
        
$erdxc $erdyc $erdzc $vbulletin->options['erdsl'];

        
$templater vB_Template::create('postbit_reputation_erd');
            
$templater->register('post'$post);

        
$stars false

The rest of the code below that line remains unaltered.
Hi.

You are free to post your changes if you wish - however, I took the alt text out deliberately, so I wont be putting it back

Cheers, Paul.
I'm not supporting this in any way, so if you have problems uninstall and reinstall the mod so you have a fresh installation.
Reply With Quote
  #44  
Old 03-16-2010, 10:23 AM
Argyle Argyle is offline
 
Join Date: Jun 2002
Location: Melbourne, Australia
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sung View Post
Here's the changes you need to make to get them back.
Works for me. Thanks!

(and thanks again to Paul for the product)
Reply With Quote
  #45  
Old 03-16-2010, 11:27 PM
-=Leb=-'s Avatar
-=Leb=- -=Leb=- is offline
 
Join Date: Jan 2008
Location: Sweden
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for the good work
Reply With Quote
  #46  
Old 03-17-2010, 06:16 AM
Professional2's Avatar
Professional2 Professional2 is offline
 
Join Date: Nov 2009
Location: 1/2 Of the World
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will it work on 4.0.2?
Reply With Quote
  #47  
Old 03-17-2010, 12:29 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes ;

Quote:
vB Version: 4.0.x
Reply With Quote
  #48  
Old 03-17-2010, 01:21 PM
Professional2's Avatar
Professional2 Professional2 is offline
 
Join Date: Nov 2009
Location: 1/2 Of the World
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but i copied the images and imported it ,i don't know why it does'n work:
http://www.mobile4persian.com/forum/
Reply With Quote
  #49  
Old 03-17-2010, 08:42 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What makes you think it isnt working ?
Reply With Quote
  #50  
Old 03-18-2010, 07:45 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanxxxx

installed
Reply With Quote
  #51  
Old 03-21-2010, 11:29 PM
FaiSao_963 FaiSao_963 is offline
 
Join Date: Dec 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Translated into Arabic

Thanks,
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05104 seconds
  • Memory Usage 2,350KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete