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
  #82  
Old 09-27-2008, 06:59 PM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey guys, does any one know a way to show the user reputation points on their posts along with rep power?
Reply With Quote
  #83  
Old 09-29-2008, 12:52 PM
Charles_1 Charles_1 is offline
 
Join Date: Jun 2006
Location: Czech Republic, Brno
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nadeemjp View Post
hey guys, does any one know a way to show the user reputation points on their posts along with rep power?
Just put $post[reputation] in your template postbit (or postbit_legacy) wherever you want it.
Reply With Quote
  #84  
Old 10-24-2008, 07:41 PM
Gwendolin Gwendolin is offline
 
Join Date: Jan 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mfyvie View Post
Replace with:

Code:
for($i = $score; $i >= 0; $i=$i-1) {
This will reverse current order, making max rep the first choice, and 0 the last.
Hi,

how this works with the negative points?

I tried

Code:
for ($i = 0; $i <= $neg_score; --$i) {
but than the popups don't works anymore.

And how I could remove the 0 from the negative points?
Reply With Quote
  #85  
Old 01-11-2009, 03:53 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works well on vb 3.8
Reply With Quote
  #86  
Old 01-18-2009, 12:07 AM
JackRock JackRock is offline
 
Join Date: Jan 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 3.8, and it works fine. THANK YOU for offering this. I'm gonna suggest this mod to the admins on another forum I frequent.
Reply With Quote
  #87  
Old 07-02-2009, 07:57 PM
Gwendolin Gwendolin is offline
 
Join Date: Jan 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

what can I do to disable this addon at some forums.

It tried this, but it don't like to work for me, so I need a little bit help

Code:
if (!in_array($this->$thread['forumid'], array(1,22,333)))
    {
$show['user_defined_reputation'] = true;
    }
Regards,
Gwen
Reply With Quote
  #88  
Old 02-21-2010, 07:15 AM
emperatour emperatour is offline
 
Join Date: Sep 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mod works fine on vB 3.8.4.
Thanks a lot,
Reply With Quote
  #89  
Old 03-07-2010, 05:15 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks working great on 3.8.4
Reply With Quote
  #90  
Old 03-15-2010, 06:41 PM
SoulStealer SoulStealer is offline
 
Join Date: Jan 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any update for vBulletin 4.0.x ?
Reply With Quote
  #91  
Old 06-13-2010, 05:02 PM
Shanti Nanda's Avatar
Shanti Nanda Shanti Nanda is offline
 
Join Date: May 2010
Location: Mexico
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="DarkOrchid">I really need it for 4.0.x D':

update, plis <3</font>
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 04:45 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.05211 seconds
  • Memory Usage 2,309KB
  • 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_code
  • (2)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
  • (3)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