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

Reply
 
Thread Tools
Must Vote in Poll to Post in Thread Details »»
Must Vote in Poll to Post in Thread
Version: 2.1, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 12-27-2010 Last Update: 06-02-2012 Installs: 22
Supported Uses Plugins
Re-useable Code Translations  

Brought to you by BirdOPrey5 and kh99

Version 2.1

This mod will require users who want to post in a poll thread to actually vote in the poll before they are allowed to post.

The main code of this mod was developed by kh99 and I made it into an installable mod with options at his request.

Options include:
  • Turn mod on or off
  • Allow thread starter to reply without voting
  • Immune Usergroups - Usergroups who don't need to vote before posting.
  • Enable in All Forums - Yes/No (New in V 1.5)
  • Enable in Specific Forums Only (Updated in V 2.0)
  • Hide posts until vote (New in V 2.0)
  • Hide View Results link until vote (New in V 2.0)

Live Demo: http://www.qapla.com/mods/showthread...Vote-Poll-Test

Testing and working on VB 3.8.7 and 4.1.12 and am sure it will work on all 3.8.x - 4.0/4.x.x. It will probably work on 3.7 and maybe earlier as well.

If a user hasn't voted they will be given a message to vote before posting, see the screen shots.

The message displayed in hidden posts is the Postbit phrase: bop5_mustvote_hidden_message
The message a user gets if they try to post before voting is the GLOBAL phrase: mustvote2post

Full instructions in .txt file in zip file.

If you used the VB4 version you must uninstall the old 1.x mod before upgrading to 2.0

Please Mark as Installed if you use this.
Donations Always Apprecicated but please include kh99 in any donation. :up:

Russian Translations thanks to xerox.

Download Now

File Type: xml mustvote2postbop5_Russian (RU)_cp1251.xml (4.1 KB, 29 views)
File Type: xml mustvote2postbop5_Russian (RU)_utf-8.xml (5.2 KB, 30 views)
File Type: zip Must Vote to Post BOP5 v21.zip (4.5 KB, 83 views)

Screenshots

File Type: jpg ss_mustvotevb3.jpg (39.4 KB, 0 views)
File Type: jpg mustvote_settings.jpg (119.4 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 12-28-2010, 10:07 PM
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Posts: 446
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome, i will take a look into this, thanks for kh99 too
Reply With Quote
  #3  
Old 12-28-2010, 11:23 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another great addon...Thank you.
Reply With Quote
  #4  
Old 12-28-2010, 11:56 PM
EddyMaxx EddyMaxx is offline
 
Join Date: Jan 2010
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As Mr. Burns would say.... "EXCELLENT".
Reply With Quote
  #5  
Old 12-29-2010, 12:23 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basketmen View Post
awesome, i will take a look into this, thanks for kh99 too
BTW, this was originally basketmen's idea for a mod. And it's looking like he was right about it being popular.
Reply With Quote
  #6  
Old 01-04-2011, 07:54 AM
RogerKirk's Avatar
RogerKirk RogerKirk is offline
 
Join Date: Feb 2010
Location: Brighton, UK
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Two questions:

1) can this be set per poll upon creation of the poll thread? Can it be set per forum? Or is it a case that it's either active or inactive across all poll threads?

I can see a use for it on specific polls on a my site, but not on every one.

2) the screen shot of AdminCP settings implies there an option to make the thread starter post an additional post before voting. Should this actually say they need to vote before making an additional posts?
Reply With Quote
  #7  
Old 01-04-2011, 11:49 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1) Currently this is "all or nothing" but I do plan on adding it on a per-forum basis in the next update. Choosing it per thread would require database changes which is considerably harder to program so that won't be happening anytime soon (from me at least.)

2) You're absolutely right, I worded it backwards- but it does work as you expect- if "No" the thread starter must vote before making an additional post. I will fix this in the next update as well.
Reply With Quote
  #8  
Old 01-04-2011, 03:15 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, updated to version 1.5 - Fixed the bad wording mentioned above and added new options to enable only in specific forums.
Reply With Quote
  #9  
Old 01-06-2011, 04:00 AM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good so far, thanks a lot
Reply With Quote
  #10  
Old 05-03-2012, 08:31 AM
Tyran1 Tyran1 is offline
 
Join Date: Jan 2007
Location: Deutsches Reich
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please extend this so:Then you can read the post vote first.
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 09:54 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.05878 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_quote
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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