Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Change Reputation Color Details »
Change Reputation Color
Mod Version: 1.00, by semprot (Member) semprot is offline
Developer Last Online: May 2016 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (0 vote - 0 average) Installs: 4
Released: 29 Nov 2013 Last Update: Never Downloads: 0
Not Supported Uses Plugins Re-usable Code  

This plugin will allow users of some usergroups (example : admin only / moderators only) to change color of their reputation from their user control panel (usercp).

Like this one


I've included some colorful reputation images on attachments.
This is tested on 4.2.2, not sure if it works on other version.

So here's how to do it.

Preparing User Profile Fields
1. admincp > user profile fields > add new user profile field.
2. Profile Field Type > Single selection menu
3. (you can see attachments for example).

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. Click Save
5. You will be redirected to User Profile Field Manager page.
Please see the "name" of your newly created user profile field.



On my example above, the field name is "field6", it may be different in your forum.

Upload New Reputation Images
For example you can download these 2 PNG files and put them under
/images/reputation/

Save as reputation_blue.png - Click here

Save as reputation_bluel.png - Click here

Remember to always use .png file, because it's better than .gif in terms of transparency.

The Plugin Code
Admincp > Add New Plugin.
Product : vBulletin.
Hook Location :
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Title : Custom reputation color (or whatever you like)
Execution order : 5 (or whatever you like)
Plugin PHP Code : (don't forget to change the $_reputation_field value according to your field name)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Plugin is Active : Yes.
Click "Save".

Now you can go to your "Edit Profile" page and change your reputation image.
Usually the page is located on profile.php?do=editprofile

Note :
1. this plugin probably is not compatible with other plugin that also modifies reputation.
2. anyone may port this hack to bigger hack

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Screenshot_2.jpg
Views:	85
Size:	56.1 KB
ID:	147370   Click image for larger version

Name:	Screenshot_3.jpg
Views:	380
Size:	9.1 KB
ID:	147371  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 29 Nov 2013, 12:55
semprot semprot is offline
 
Join Date: Mar 2010
Real name: Jeremy
Tips for adding more colorful reputation images :

- Just open existing reputation PNG file in your image editor, and adjust the hue & brightness to change it to other color.
__________________
Best regards,

Jeremy
Reply With Quote
  #3  
Old 30 Nov 2013, 11:58
JamalFree JamalFree is offline
 
Join Date: Dec 2012
tahnk you
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 15:55.

Layout Options | Width: Wide Color: