vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Extended Reputation Display (https://vborg.vbsupport.ru/showthread.php?t=122589)

katie hunter 06-02-2007 04:02 PM

Hi, I installed this xml, i mean uploaded it but shouldn't there be extra options in the user reputation in my admin cp ? like these for example ?

I don't see any additional options that were added like for example set 2 green bars = may be 25 rep points etc.. ?

enable system
default rep
reutation undefined
number of reputation ratings to display
adminisartors reputation power
Regsister date factor

deezelpope 06-02-2007 04:28 PM

<i>It's under vb options.</i>

katie hunter 06-02-2007 09:40 PM

But I had this mod before and for some issues i lost it etc.. It had an extra option under user reputation where i can set how many gem = how many points ? Where can i find that mod, i find this but it is deleted , the download file .

Paul M 06-05-2007 10:45 PM

If installed correctly then the options should appear.

CyberRanger 06-07-2007 07:44 PM

Quote:

Originally Posted by Paul M (Post 1254005)
10 Stars ???

I've never seen anyone get that far, the highest we have is four, and I'm thinking maybe I'll need to line break at five sometime in the not to distant future. So yes, such a thing may make it into the code at some point - but as for 10 stars - maybe you need to review your point value settings slightly.

I ran into this problem on my site. With the exisiting plugin, we were set to have 5 of each pip which translated into a total of 15 stars being displayed. That was too many plus it didn't show more if the user earned more reputation.

I modified the plugin so that if the user gets more than x (say 10) stars, after the stars a [+x] will appear to show how many stars above 10 the user has earned. The attachment shows a real life example of what it looks like.

I made these changes to the plugin:

look for this code:
PHP Code:

                $repa 'green';
                
$repb 'greenh';
                
$repc 'gold';
                
$repx 'goldstar';
            }
            
$count $linemax_cnt

REPLACE the $count = $linemax_cnt; with
PHP Code:

                // next lines from Brent, begin section I
                        
$goldstar_num floor($repval/$linemax_val);
                        
$goldstar_show 10;

                          if (
$goldstar_num $goldstar_show)
                          {
                            
$count $goldstar_num;
                            
$extra 0;
                          } else {
                            
$count $goldstar_show;
                            
$extra $goldstar_num $goldstar_show;
                          }
                        
// end of Brent section I 

AFTER:
PHP Code:

            while ($count and $repval $linemax_val
            {
                
$count -= 1;
                
$repval -= $linemax_val;
                
$posneg $repx;
                
$linemax_exd += 1;
                eval(
'$post[\'reputationdisplay\'] .= "' fetch_template('postbit_reputation') . '";');
            } 

ADD:
PHP Code:

    // added by Brent to show [x] after medals
            
if ($extra 0)
            {
                
$post['reputationdisplay'] .= "&nbsp;[+".$extra."]";
                
$repval -= $extra $linemax_val;
            }
              
// end of Brent change 2 

Change $goldstar_show to how many stars you want to display.

ePrOmD 07-23-2007 12:20 PM

hi Paul! , i used to have this hack installed in my VB 3.6.4, recently we update to 3.6.7, after the update, we uninstall all hacks.
now i install the hack again. but it doesn´t work :S

Paul M 07-23-2007 04:14 PM

It works on any 3.6 version, so you must have a local problem.

ePrOmD 07-30-2007 01:50 AM

tks paul, for answering my post. actually is working without problems! :tup:

RockStrongo 08-01-2007 12:55 AM

This is the first mod I've installed and I love it! On my forum the users think that reputation is more powerful than a Pulitzer Prize and now that they have a visual representation of their cyber-greatness then it just makes the forum that much more fun!

Thanks!

adsense-id 08-04-2007 10:40 AM

installed, but I can see any icon display.


All times are GMT. The time now is 07:27 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.01366 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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