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

Paul M 05-22-2005 10:08 AM

Quote:

Originally Posted by MissKalunji
Hey will this work with 3.5.0? thx

That would be a little hard to answer as 3.5.0 does not come out for a few weeks, and then only as a beta. :)

MissKalunji 05-22-2005 02:08 PM

Quote:

Originally Posted by Paul M
That would be a little hard to answer as 3.5.0 does not come out for a few weeks, and then only as a beta. :)


thank you :nervous:

Paul M 05-22-2005 02:17 PM

I can tell you that all all my main hacks will be adapted (if necessary) to work on 3.5.x as they are all used on our forum.

Jamie-UK 06-23-2005 01:29 PM

Is there any way I could get this working under 3.0.3 ?

Paul M 06-23-2005 08:06 PM

Quote:

Originally Posted by Jamie-UK
Is there any way I could get this working under 3.0.3 ?

It was written on 3.0.3 so it should work perfectly.

Jamie-UK 06-23-2005 09:06 PM

Quote:

Originally Posted by Paul M
It was written on 3.0.3 so it should work perfectly.

That is strange.. I don't have a functions_reputation.php in vbb installation.

I have a adminfunctions_reputation.php and a reputation.php but neither contain the function needed to replace..

:(

Paul M 06-23-2005 09:38 PM

Quote:

Originally Posted by Jamie-UK
That is strange.. I don't have a functions_reputation.php in vbb installation.

I have a adminfunctions_reputation.php and a reputation.php but neither contain the function needed to replace..

:(

Then you don't have 3.0.3 ......

The code was in functions_showthread in versions prior to 3.0.2 :)

Jamie-UK 06-23-2005 10:17 PM

I do apologise. For some reason, I thought I had installed 3.0.3
I don't. I have 3.0.1

Ho Hum... :(

Marco van Herwaarden 06-24-2005 03:51 AM

Then i would suggest that you upgrade your board or at least apply security patches. Some security holes have been fixed since 3.0.1

The Joint 07-07-2005 06:54 PM

this should be a relatively simple question....

how do i get the "line" of "pips" to start a new line after 5 pips....let me explain, i use pot leaves instead of pips, which are bigger, and i only want 5 on a row but instead i get 6 or more, what little piece of code should i edit [tell me what to do, i'm a n00b] to get the rep images to start a new line after 5 pips?

thanks in advance, and excellent hack btw, -luke

Paul M 07-07-2005 07:18 PM

Quote:

Originally Posted by The Joint
how do i get the "line" of "pips" to start a new line after 5 pips....let me explain, i use pot leaves instead of pips, which are bigger, and i only want 5 on a row but instead i get 6 or more, what little piece of code should i edit [tell me what to do, i'm a n00b] to get the rep images to start a new line after 5 pips?

In the hack code, place this line

PHP Code:

if ($repval 0$post['reputationdisplay'] .= "<br />"

below this line ;

PHP Code:

$count $band_b_count

and also below this line ;

PHP Code:

$count $band_c_count


The Joint 07-07-2005 07:24 PM

thanks paul, you rawk my world!

The Joint 07-07-2005 07:29 PM

works very nicely, thanks again paul

sharonkitty67 07-14-2005 12:14 PM

Thanks - even an idiot like me, got this hack working :) Members love it!

Hastin 09-17-2005 07:35 PM

Sorry to bump an old thread, but ws wondering:

Paul, is there anyway to make this work with vB 3.5? (I don't mind editing files, using plug-ins, or both.) :)

Paul M 09-17-2005 08:53 PM

Quote:

Originally Posted by Hastin
Sorry to bump an old thread, but ws wondering:

Paul, is there anyway to make this work with vB 3.5? (I don't mind editing files, using plug-ins, or both.) :)

There will be a 3.5 version of this released - it's working on my test system - but not ready for release yet. :)

ambumann 09-19-2005 07:31 PM

Quote:

Originally Posted by Paul M
There will be a 3.5 version of this released - it's working on my test system - but not ready for release yet. :)

Looking forward to see it!

Paul M 09-19-2005 10:05 PM

Quote:

Originally Posted by ambumann
Looking forward to see it!

Yes.

It needs a new hook adding otherwise a file edit is required. I have requested this hook but until the next version comes out I won't know if it's been added.

It is tempting to release it anyway, but that means upgrading it later ......

mfizzel 09-23-2005 02:54 AM

great hack, thanks

Hastin 09-23-2005 06:43 AM

Did it as a file edit, and got it working. Just had to change a term. :)

Paul M 10-07-2005 01:03 AM

Quote:

Originally Posted by Hastin
Sorry to bump an old thread, but ws wondering:

Paul, is there anyway to make this work with vB 3.5? (I don't mind editing files, using plug-ins, or both.) :)

Now ported to 3.5.

https://vborg.vbsupport.ru/showthread.php?t=97777

MissKalunji 10-07-2005 01:45 AM

Quote:

Originally Posted by Paul M


Hurray :nervous:

slvr ralliart 10-23-2005 07:29 PM

ok... i did that all replacing in the functions-rep.php and uploaded the gifs so now how do i run this/install? or what do i do next?

maharajah 10-24-2005 01:57 AM

nice work buddy

Installed.

.

Malibu 11-14-2006 05:23 AM

Is it possible to adjust when a member recieves each green/gold box within the admin control panel? is there a mod/product plugin for that?


cheers
Malibu
www.limestonelifestyle.com

BigJimTheLug 07-19-2007 12:21 PM

Installed. sweet.

Smitty 07-28-2008 04:30 AM

Anyone know of anything like this for 3.7.2?


All times are GMT. The time now is 04:17 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.01422 seconds
  • Memory Usage 1,799KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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