vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Display extra 'Golden' pips when members have large reputations (https://vborg.vbsupport.ru/showthread.php?t=69836)

Gio Takahashi 09-28-2004 09:57 PM

O_o its not there..I don't have it.

Paul M 09-28-2004 10:06 PM

Probably because you are not using vB 3.0.3

Gio Takahashi 09-28-2004 10:53 PM

Meh, I'm not about to upgrade to vB 3.0.3, it is *WAY* too much work to do so.

Any chance of seeing vB3.0.0 compatible hack?

rinkrat 09-29-2004 01:28 AM

Wow I suggested this in the other reputation mod and here it is!! Sweet!!

Erwin 09-29-2004 01:44 AM

Great idea! :)

rookie7 09-29-2004 04:53 AM

Great mod. Can you make it so that it would reset the pip and start over with 1 gold instead of adding it to the light green?

Paul M 09-29-2004 02:28 PM

Quote:

Originally Posted by Gio Takahashi
Any chance of seeing vB3.0.0 compatible hack?

Sorry, I don't have a version of 3.0.0.

I would imagine the same (or very similar) block of code is just located in a different file, so you just need to find and replace it.

Paul M 09-29-2004 02:30 PM

Quote:

Originally Posted by rookie7
Great mod. Can you make it so that it would reset the pip and start over with 1 gold instead of adding it to the light green?

Probably, I'll have a look later to see if it's easy to modify, i'm a bit busy atm. :)

Edit;

Under ;

$repval = $post['reputation'];

Add ;

$cutoff = ($repval > (($band_a_val * $band_a_count) + ($band_b_val * $band_b_count))) ;


Change the Band a & b eval statements to ;

if (!$cutoff) { eval('$post[\'reputationdisplay\'] .= "' . fetch_template('postbit_reputation') . '";'); }


Be warned that this will make larger negative reputations look a bit odd as they don't have a third colour equivelent to 'gold'.

rookie7 10-01-2004 04:43 PM

Thank you for answering my request. I'm a bit slow so...could you please tell me what you mean by
Quote:

Originally Posted by Paul M
Change the Band a & b eval statements to ;

if (!$cutoff) { eval('$post[\'reputationdisplay\'] .= "' . fetch_template('postbit_reputation') . '";'); }


Paul M 10-01-2004 07:48 PM

Quote:

Originally Posted by rookie7
Thank you for answering my request. I'm a bit slow so...could you please tell me what you mean by

Find ;

$posneg = $repa;

replace the next line with ;

if (!$cutoff) { eval('$post[\'reputationdisplay\'] .= "' . fetch_template('postbit_reputation') . '";'); }


and again, find ;

$posneg = $repb;

and replace the next line with ;

if (!$cutoff) { eval('$post[\'reputationdisplay\'] .= "' . fetch_template('postbit_reputation') . '";'); }
:D


All times are GMT. The time now is 07:57 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.01159 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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