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
  #62  
Old 11-01-2007, 07:15 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there really no way around the Internet Explorer bug to show the ajax popups?
Reply With Quote
  #63  
Old 11-01-2007, 07:51 PM
jmurrayhead's Avatar
jmurrayhead jmurrayhead is offline
 
Join Date: Sep 2006
Location: Washington, D.C.
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dutchbb View Post
Is there really no way around the Internet Explorer bug to show the ajax popups?
You would probably have to modify it to use regular javascript popup window, instead of AJAX.
Reply With Quote
  #64  
Old 11-01-2007, 08:28 PM
drew010's Avatar
drew010 drew010 is offline
 
Join Date: Nov 2005
Location: Santa Rosa, CA
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dutchbb View Post
Is there really no way around the Internet Explorer bug to show the ajax popups?
I tried several things, including changing the z-index of the dropdown box to be one of the highest values possible, but for some reason IE has an error drawing it on that dynamic window that gets created. I have seen it display okay in some versions of IE7 but I haven't been able to work out which versions of 7 it didn't work with. IE6 will probably be hopeless, but I think in a future version there will be better detection for IE7 and use ajax for that rep window wherever possible.

Basically, what happens is when the window shows, the space where the dropdown should be is just empty, the words are spaced apart as if it were there taking up room, but it seems to be invisible or underneath the popup div or something.
Reply With Quote
  #65  
Old 11-02-2007, 04:28 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thanks. I got another suggestion for this hack: in usercp/latest rep. showing how many points have been given would be usefull
Reply With Quote
  #66  
Old 12-30-2007, 10:22 AM
SNATCH3R SNATCH3R is offline
 
Join Date: Aug 2007
Location: Dubai
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good mod..

But i would like to knw can we restrict this mode to certain usergroups only...rather than to all the users....

thanks once again...
Reply With Quote
  #67  
Old 12-30-2007, 10:01 PM
petacat petacat is offline
 
Join Date: Sep 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works well. Simple to instal
Installed. Voted for MOTM
Reply With Quote
  #68  
Old 12-30-2007, 10:05 PM
petacat petacat is offline
 
Join Date: Sep 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by luttappy View Post
Good mod..

But i would like to knw can we restrict this mode to certain usergroups only...rather than to all the users....

thanks once again...
Try the User Reputation options in the standard Usergroup permissions...
Reply With Quote
  #69  
Old 01-01-2008, 11:20 PM
OttoBomb OttoBomb is offline
 
Join Date: Jun 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, I'm surprised vBulletin didn't put this in their original build. Nice work drew010!
Reply With Quote
  #70  
Old 01-02-2008, 03:48 AM
LilSniper LilSniper is offline
 
Join Date: May 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nominated!
Reply With Quote
  #71  
Old 01-03-2008, 06:39 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work for vb 3.7?
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:58 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.05142 seconds
  • Memory Usage 2,312KB
  • 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
  • (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
  • (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