Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
Galeras's Avatar
Galeras : 50+
Galeras is a glorious beacon of lightGaleras is a glorious beacon of lightGaleras is a glorious beacon of lightGaleras is a glorious beacon of lightGaleras is a glorious beacon of lightGaleras is a glorious beacon of light
offline Joined: Sep 2007 Location: Promyshlennyi Vorkuta Posts: 164 Thanked: 47
  #1  
Thread Starter Unread 10-10-07
Let user choose how many reputation points to give (up to their limit) (v1.1)

This modification gives the user the option to choose how many reputation points to give or take when posting reputation on a post. They cannot give or take more than the number of points they have available.

When giving rep, aside from choosing if they approve or disapprove of the post and entering a comment, there is a dropdown box going from 0 to the number of rep points they have. This allows them to award or take a lower number of points than the default which uses their point value.

There is a check in place to make sure the user didn't alter the form to give or take more than the maximum value they can use. An appropriate error message is displayed.

An important thing to note about this mod is that due to a problem with Internet Explorer not being able to show the select box on top of the page when you have the ajax popups enabled, turning this mod on will override your setting for using ajax for giving reputation. It doesn't turn ajax off for anything else. The user will be taken to the default page that is used when popups are disabled if they are using Internet Explorer.

Installation: To install, unzip the product XML file, and import it to your board using the product manager in the AdminCP found under "Plugins & Products" => "Manage Products" => "Add/Import Product"

There are no templates to edit, they should be done automatically. If there is any problem with the dropdown menu showing up please let me know.

Change Log:

Version 1.1.0
Dropdown is no longer displayed for users with 0 rep power
The default value is no longer 0 and is now the user's reputation power
Fix negative reputation problem which could generate an error if the user takes more than half their rep power
Ajax popup is now enabled for non Internet Explorer users (IE bug prevents dropdown from showing in Ajax popup)
Version 1.0.0
Initial Release
Attached Images You must register or login to view attachments.
Attached Files Click the thanks button to view this attachment.
Quote
The Following 2 Users Say Thank You to Galeras For This Useful Post:
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
give, points, v11, limit, v1.1, choose, user, reputation
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
Powered by GYSN Underground 2021