Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Change reputation 'gem' levels Details »»
Change reputation 'gem' levels
Version: 1.01, by boozehound boozehound is offline
Developer Last Online: Sep 2007 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 02-17-2005 Last Update: Never Installs: 11
DB Changes
 
No support by the author.

Change the amount of reputation needed to acquire each reputation 'gem' (as displayed in the postbit) and the type of gem displayed for each level (bright or normal).

Adding this hack will add a new option in admincp, called 'Reputation Level Manager'. In this page you can:
  • Change the amount reputation needed to acquire each gem
  • Change the type of gem displayed per level (either bright or normal)
  • Add new levels
  • Delete levels

Note that these 'gems' are separate from the normal 'reputation levels' which govern the description shown when you mouseover the gems in the postbit.

The levels are shown for positive values only; negative reputations are simply a mirror image of the positive reputation levels, and the same rules apply regarding the type of gem displayed and the amount of reputation need (albeit, negative).

Further note that to install this hack requires the ability to run SQL queries, as this hack adds an additional table.

Fully tested on 3.0.3, 3.0.4, 3.0.5 and 3.0.6.

Update 1.01 20th Feb 2005

- Settings are now cached, so this hack incurs a cost of only one query per page (for pages that show reputation levels, e.g. threads)
- Installer included

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-20-2005, 10:37 PM
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ambrosious
Yes, I still see the same old gems as always... don't have a clue why.
Remember the initial settings are identical to the hard coded settings so you won't notice any changes until you change the settings. If that's not the case I don't understand what the problem is as everyone should be getting the same page data, as the rewritten fetch_reputation_image function will be in use from the moment you uploaded the changed code. So then the only thing I can think of is you're somehow seeing cached pages.
Reply With Quote
  #13  
Old 02-21-2005, 12:20 AM
ambrosious ambrosious is offline
 
Join Date: Jun 2004
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed the settings so it should show up for everyone, I bet I'm looking at chached images. Will get back to you on this.
Reply With Quote
  #14  
Old 02-21-2005, 12:23 AM
ambrosious ambrosious is offline
 
Join Date: Jun 2004
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got it! It's the old real reputable members. I just need to "up" the points for reputation upgrades and it should work. It works fine with the new members.
Reply With Quote
  #15  
Old 03-28-2005, 02:14 AM
sim tech sim tech is offline
 
Join Date: Jan 2005
Location: Georgia
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man, that's just the mod I was looking for! Thanks!!

I'm guessing it'll mirror the same values for the negative numbers? I installed the mod (in about 3 minutes) and I really like the feature, but is there a way to set a negative number when I "Add New Reputation Gem Level"? The minimum I can go is 0.
Reply With Quote
  #16  
Old 03-29-2005, 01:55 AM
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sim tech
Man, that's just the mod I was looking for! Thanks!!

I'm guessing it'll mirror the same values for the negative numbers? I installed the mod (in about 3 minutes) and I really like the feature, but is there a way to set a negative number when I "Add New Reputation Gem Level"? The minimum I can go is 0.
I deliberately made it not allow you to enter negative numbers so that the negative levels mirror the positive ones. I'll write a patch to allow you to set the negative levels too.
Reply With Quote
  #17  
Old 03-29-2005, 02:04 AM
sim tech sim tech is offline
 
Join Date: Jan 2005
Location: Georgia
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man, that is great - I was just getting ready to redo my rep levels so they would match up with the gems.

You are truly one of the good ones Boozehound... I'm buying you a brewery when I win that powerball!

* sim tech clicks install & 5 star rating *
Reply With Quote
  #18  
Old 03-29-2005, 11:13 PM
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sim tech
Man, that is great - I was just getting ready to redo my rep levels so they would match up with the gems.

You are truly one of the good ones Boozehound... I'm buying you a brewery when I win that powerball!

* sim tech clicks install & 5 star rating *
Ok here is an updated installation.txt for the variation of this hack where you can enter negative values (that do not necessarily mirror the positive values). If you've already installed, just replace the code you added to admincp/adminreputations.php and includes/functions_reputation.php with the code in this txt file. You will then need to add the negative levels through the admincp page (I didn't update the installer to add default negative levels).
Reply With Quote
  #19  
Old 04-10-2005, 06:54 PM
NFLForums NFLForums is offline
 
Join Date: Sep 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is part of what I'm looking for...Is there any way to change the "gems" to other pictures?

For example, I run an american football board -- is there any way to have the negative rep things show as "yellow flags" or whistles, and the others show as footballs, field-goal posts/uprights or as lombardis?

I am just doing a little bit of looking into things so that I know what I can do...
Reply With Quote
  #20  
Old 04-11-2005, 02:46 AM
sim tech sim tech is offline
 
Join Date: Jan 2005
Location: Georgia
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The images themselves are located in /forums/images/reputation/

(reputation_pos.gif for example for th egreen dot)

If it was me, I would think the easiest way would be to just rename your images to what the gif files that are located in that directory are called.

That way you don't have to do any template or code modding.
Reply With Quote
  #21  
Old 04-11-2005, 02:56 AM
NFLForums NFLForums is offline
 
Join Date: Sep 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks sim, I had just figured that out & hadn't gotten back over here to post yet! Thanks for your help though!
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 02:33 AM.


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.04473 seconds
  • Memory Usage 2,301KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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