Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Unvote in Polls (Free Version) by BOP5 (Change your vote) Details »»
Unvote in Polls (Free Version) by BOP5 (Change your vote)
Version: 1.1.1, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 04-02-2012 Last Update: 08-17-2013 Installs: 79
Supported Uses Plugins
Translations  

Brought to You By BirdOPrey5
www.BirdOPrey5.com


Version 1.1.1

This is a mod that lets users "unvote" from a poll. After unvoting they are free to vote again so it effectively lets them change their vote.

You can specify whether users are able to unvote from closed polls or not. (By default they are not.)

This is the FREE version. It allows all users to "unvote" from all polls in all forums.

The GOLD version is available here: Unvote in Polls GOLD by BOP5

The GOLD version has 3 additional features:
  • Restrict unvoting to specific usergroups
  • Restrict unvoting to specifc forums
  • Basic integration with points mods to reduce points or reputation after a user unvotes

This mod is compatible with all VB 3.8.x and 4.x.x versions released to date. I expect it will work with earlier VB versions as well but have not tested it.

There are several phrases for easy translation. Exact phrase info is in the info.txt file included in the zip.

Please Note:
If the "Unvote" link is "invisible" in your style (and it probably will be) add this code to your additional.css template:

Code:
#bop5unvote_link {color: blue;}
Where the "color" is any valid HTML or color code. Examples:
red, blue, green, #C0C0C0, #00FF00, etc...


Please Mark as Installed if you use this.
Donations Always Appreciated :up:

VB 4.0.3 (and other old versions) See This Post: https://vborg.vbsupport.ru/showpost....8&postcount=31

Download Now

File Type: zip Unvote in Polls by BOP5 Free v111.zip (5.1 KB, 161 views)

Screenshots

File Type: jpg unvote_settings_free.jpg (132.4 KB, 0 views)
File Type: jpg unvote_poll_vb4.jpg (75.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Gemma, SaN-DeeP, z3r0

Comments
  #32  
Old 09-08-2012, 12:53 PM
Frans72 Frans72 is offline
 
Join Date: May 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The misc.php plugin part does not redirect after unvoting on vb403. No idea if it works on vb4.1 but 4.03 needs to eval that code and needs the array() construct removed.

Code:
vb403 works:     eval(print_standard_redirect('bop5_uv_unvoted', true, true));
//vb403 fails:      print_standard_redirect(array('bop5_uv_unvoted'), true, true);
Thanks for the mod none the less, 'cos it works nicely now
Reply With Quote
Благодарность от:
BirdOPrey5
  #33  
Old 09-11-2012, 11:19 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for posting the fix.
It does work on newer versions as is.
Reply With Quote
  #34  
Old 11-06-2012, 04:12 PM
Kirk Fitzgerald's Avatar
Kirk Fitzgerald Kirk Fitzgerald is offline
 
Join Date: Apr 2012
Location: Oxford, UK
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're a godsend, thank you very much for this Mod', an absolute life saver, brilliant, and it works perfectly.
Reply With Quote
Благодарность от:
BirdOPrey5
  #35  
Old 12-24-2012, 12:42 AM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[s]Not working on my vB 4.2.0 PL2. Unvote link does not display and no permission error is given if I try to manually access misc.php?do=unvote. Can I request an update?[/s]

Embarrassing, I didn't notice I had to manually enable the mod in Options. Working now hehe.
Reply With Quote
Благодарность от:
BirdOPrey5
  #36  
Old 01-10-2013, 06:00 AM
DirtRider DirtRider is offline
 
Join Date: Feb 2011
Location: South Africa
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you have not just added a button for the gold version as I hate having to manually edit anything
Reply With Quote
  #37  
Old 01-12-2013, 02:09 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A button for what? The "Unvote" link?
Reply With Quote
  #38  
Old 01-12-2013, 03:56 PM
DirtRider DirtRider is offline
 
Join Date: Feb 2011
Location: South Africa
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah then you would not need to do manual edits at all
Reply With Quote
  #39  
Old 03-31-2013, 06:30 AM
DirtRider DirtRider is offline
 
Join Date: Feb 2011
Location: South Africa
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have upgraded my forum to 4.2 now this mod no longer works
Reply With Quote
  #40  
Old 04-09-2013, 12:54 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it does work on 4.2.0 in general.

Are you sure the link isn't just invisible because it's white on white? Did you do the template edit to additional.css to fix that?
Reply With Quote
  #41  
Old 04-13-2013, 06:23 AM
Dwarden Dwarden is offline
 
Join Date: Nov 2011
Location: Czech Republic, EU
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

using it on 4.2.0 pl3 , but yes I needed to improve the templates to make it visible on all our skins ...
Reply With Quote
Благодарность от:
BirdOPrey5
Reply

Thread Tools

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 01:12 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.04720 seconds
  • Memory Usage 2,338KB
  • 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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (7)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete