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)

Lottis 01-26-2005 07:43 AM

Thanx mindbuster. :)
*install*

dfdems 02-04-2005 03:45 AM

I have played around with this for about 4 hours and I cant get it right. I have this hack installed

Quote:

In functions_reputation.php

Find (line 81):
Code:

$reputation_value = $post['reputation'];



Immediately after, ADD:
Code:

$reputation_power = fetch_reppower($post, $perms);
$post['reputationpower'] = $reputation_power;



Now, you can use $post[reputationpower] the same way you can use $post[reputation] in your postbit template...

__________________
Tony - webmaster@is300.net
(Done! From phpbb to vb3 - 1.5m posts/20k users)
Its from here

I cant get the two to play nice together. I can get one or the other to work, not both. My question is where would I install this

Quote:

$reputation_power = fetch_reppower($post, $perms);
$post['reputationpower'] = $reputation_power;
to get this to work or am I on the wrong track here with this?

Paul M 02-04-2005 08:42 AM

Well that's not really my hack to support - but from a quick look, I think they should work if you put them after ;

PHP Code:

global $vboptions$stylevar$vbphrase

:)

dfdems 02-09-2005 03:35 AM

I just got a chance to try what you wrote. It worked.

Thanks for taking the time to help me out, I didnt want to have to choose between the two hacks and I already have a couple of your hacks installed (and they all work). I figured based on that I would ask here rather than the other thread.

Thanks again

Paul M 02-09-2005 07:27 AM

Quote:

Originally Posted by dfdems
Thanks again

No problem.

Paul M 05-10-2005 01:43 AM

Version 1.21 uploaded. See main post for the change(s). :)

secret1980 05-11-2005 05:00 PM

nice work mate :claps: itz workin cool for me :D

Nabs 05-15-2005 06:45 AM

excellent.. thank you. :)

Paul M 05-15-2005 10:24 AM

Quote:

Originally Posted by Nabs
excellent.. thank you. :)

Glad you like it, please show your thanks by clickiig the install link. It helps hack writers to know how many people are using something :)

MissKalunji 05-22-2005 09:43 AM

Hey will this work with 3.5.0? thx


All times are GMT. The time now is 05:41 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.01145 seconds
  • Memory Usage 1,735KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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