Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Let user choose how many reputation points to give (up to their limit). Details »»
Let user choose how many reputation points to give (up to their limit).
Version: 1.1.0, by drew010 drew010 is offline
Developer Last Online: Jan 2012 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.8 Rating:
Released: 05-03-2007 Last Update: 10-04-2007 Installs: 193
Uses Plugins Template Edits
 
No support by the author.

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.

Show support if you use it: Mark This As Installed if you use it on your board. Thanks

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

Supporters / CoAuthors

Show Your Support

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

Comments
  #52  
Old 10-11-2007, 01:01 AM
mrghostno1 mrghostno1 is offline
 
Join Date: Aug 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnks fellow! This will make much clear to users.
Reply With Quote
  #53  
Old 10-13-2007, 04:43 PM
Pocket Aces Pocket Aces is offline
 
Join Date: Mar 2007
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack!
Marked installed and nominated as MOTM.
Reply With Quote
  #54  
Old 10-14-2007, 01:21 AM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack!!
Reply With Quote
  #55  
Old 10-17-2007, 12:16 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice update. Thank you.
Reply With Quote
  #56  
Old 10-18-2007, 02:21 AM
networktemple networktemple is offline
 
Join Date: Sep 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wats trigger the drop down box?
Reply With Quote
  #57  
Old 10-18-2007, 04:02 AM
drew010's Avatar
drew010 drew010 is offline
 
Join Date: Nov 2005
Location: Santa Rosa, CA
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

two dropdown elements are created, one invisible, and an automatic template edit inserts javascript to toggle between the two sets of dropdowns when each one is clicked.
Reply With Quote
  #58  
Old 10-19-2007, 04:24 AM
networktemple networktemple is offline
 
Join Date: Sep 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check out my repping system.. i want to add the box in each of these http://www.networktemple.com/
Reply With Quote
  #59  
Old 10-20-2007, 04:44 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A few problems...

(1) First problem... weak negative repping

Code:
$neg_score = intval($score / 2);
This code assumes that your negative reputation power is half of your positive rep power. On my forum this is not the case. In fact I have installed other mods like this one so I can change the multiplication factor for positive and negative rep (say, making negative rep twice as powerful as positive rep).

I have solved this for myself by changing the line above from :
Code:
$neg_score = intval($score / 2);
to :
Code:
$neg_score = intval($score * 1);
However, I think it might be nice if this mod worked with the other mod and used the multiplication factor it set. If the other mod isn't installed, it should use the vbulletin default.

(2) Second problem - users are confused by two things to click.

With stock vbulletin, you only have to choose one of two radio buttons for rep (good, or bad). It then does all the calculations for you as to how much rep to give. So the user only has to click twice at most (once to submit the form, another time if they want to change the type of rep given from good to bad before they submit the form).

It occurred to me that you could put ALL of the reputation options in one drop-down menu, and update choices accordingly.

For example, instead of getting this menu for giving good rep :
Code:
(X) Good - VBPHRASE : i_approve
( ) Bad - VBPHRASE : i_disapprove

[drop-down-menu from 0 to positive rep power]
and this menu for negative rep :

Code:
( ) Good - VBPHRASE : i_approve
(X) Bad - VBPHRASE : i_disapprove

[drop-down-menu from 0 to negative rep power]
You could instead eliminate the 'good' / 'bad' radio buttons, and have a system where anyone loading the page is shown one customisable phrase, and then presented with a drop-down menu listing all their rep choices from their max negative power to their max positive power.
Once they choose how much rep to give, they are then shown some descriptive text asking them to confirm their choice, and a 'Do it' button appears (or is activated).

Example of how the window could work :

1) When loaded, the user is shown an (editable) phrase like :
"You are about to give or take reputation from this person. This will affect their standing in the forum. Give reputation for things which in your opinion, make the forum a better place to visit, and take away reputation for things you feel detract from the forum.
Please select the number of points to give or take away : [drop_down_menu_here]"

2) Once they pick a number from the drop-down menu, text appears below the drop-down-menu. Say they selected +5 on the drop-down menu :
"You have selected to GIVE 5 points. This should be done only if you are happy with what was posted, thinking it was good for the forum and want to see more posts like it. [confirm_button_here]"

If they selected "-5" on the menu, they would get :
"You have selected to [B]REMOVE [/5] reputation points. This should be done only if you think what was posted will have a negative effect on the forum. [confirm_button_here]".

The benefits of this approach are :
1) No need to bother with good/bad radio buttons.
2) The text which appears can give people some sense of why they are giving the reputation, and confirm that it is for the right reasons.
3) With some modding, you could generate different phrases depending on how much reputation was given/taken. E.g. a -1 could generate a different message than a -5... so the forum owner could have a system that encouraged people to give -1s for off-topic posts, and -5s for flaming, spam, etc.

Just a thought.
Reply With Quote
  #60  
Old 10-22-2007, 12:08 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks...Installed!
Reply With Quote
  #61  
Old 10-27-2007, 01:02 AM
jmurrayhead's Avatar
jmurrayhead jmurrayhead is offline
 
Join Date: Sep 2006
Location: Washington, D.C.
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been looking for this type of mod EVERYWHERE. Finally I found it! Cheers!
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 03:35 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.04884 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_code
  • (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
  • (4)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