Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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
  #32  
Old 01-10-2006, 07:56 AM
MixMakers MixMakers is offline
 
Join Date: Apr 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boozehound
I have a beta scheduled to be released in a few days, for 3.5. Same as the 3.0.x version with a couple of changes:

- Rather than simply specifying 'bright' or 'normal' one specifies the suffix of the reputation image. This way, alternative images can be used.
- There is an option to insert template code before a reputation image for each level, e.g. you can insert a template containing just:
Code:
<br />
before a particular gem, resulting in a line break in the row of images.

Example:

Nice! That is exactly what my forum can use.
Reply With Quote
  #33  
Old 01-12-2006, 08:53 AM
chimaira chimaira is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How is it progressing?
Reply With Quote
  #34  
Old 01-12-2006, 05:05 PM
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chimaira
How is it progressing?
Finished:

https://vborg.vbsupport.ru/showthread.php?t=105156
Reply With Quote
  #35  
Old 01-15-2006, 05:41 AM
MixMakers MixMakers is offline
 
Join Date: Apr 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boozehound
AH! I misread your post, I thought you were also releasing one for 3.0.x. Is it possible to make a hack compatible for the 3.0 versions?
Reply With Quote
  #36  
Old 01-21-2006, 07:52 AM
Mr. Brian's Avatar
Mr. Brian Mr. Brian is offline
 
Join Date: Jan 2003
Location: Internet
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way that we could change the type of image displayed for each level ?

Assistance would be much appreciated.
Reply With Quote
  #37  
Old 01-22-2006, 09:24 AM
boozehound's Avatar
boozehound boozehound is offline
 
Join Date: Feb 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need alter the code to change the 'bright' radio button in the admincp page to a text field, and change the database column for 'bright' to be a varchar to begin with, like I've done for the 3.5 version of this. After I've ported some 3.5 stuff I'll be rewriting the 3.5 version of this hack for 3.0.x.
Reply With Quote
  #38  
Old 01-26-2006, 09:01 PM
MixMakers MixMakers is offline
 
Join Date: Apr 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boozehound
You need alter the code to change the 'bright' radio button in the admincp page to a text field, and change the database column for 'bright' to be a varchar to begin with, like I've done for the 3.5 version of this. After I've ported some 3.5 stuff I'll be rewriting the 3.5 version of this hack for 3.0.x.
I'm definately going to be on the lookout for this
Reply With Quote
  #39  
Old 03-19-2006, 04:06 AM
Mr. Brian's Avatar
Mr. Brian Mr. Brian is offline
 
Join Date: Jan 2003
Location: Internet
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boozehound
After I've ported some 3.5 stuff I'll be rewriting the 3.5 version of this hack for 3.0.x.
So any progress so far?
Reply With Quote
  #40  
Old 03-19-2006, 09:30 PM
MixMakers MixMakers is offline
 
Join Date: Apr 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr. Brian
So any progress so far?
Yes, definately interested to find out. I've been waiting for this for a while :banana:
Reply With Quote
Reply


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 09:21 PM.


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.04323 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (6)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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