vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=256077

Must Vote in Poll to Post in Thread
by BirdOPrey5
28 Dec 2010 22:29

5 Attachment(s)
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. :cool:

basketmen 28 Dec 2010 23:07

awesome, i will take a look into this, thanks for kh99 too

blind-eddie 29 Dec 2010 00:23

Another great addon...Thank you.

EddyMaxx 29 Dec 2010 00:56

As Mr. Burns would say.... "EXCELLENT".

kh99 29 Dec 2010 13:23

Quote:

Originally Posted by basketmen (Post 2140365)
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.

RogerKirk 04 Jan 2011 08:54

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?

BirdOPrey5 04 Jan 2011 12:49

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.

BirdOPrey5 04 Jan 2011 16:15

OK, updated to version 1.5 - Fixed the bad wording mentioned above and added new options to enable only in specific forums.

FreshFroot 06 Jan 2011 05:00

Looks good so far, thanks a lot :)

Tyran1 03 May 2012 09:31

Please extend this so:Then you can read the post vote first.

BirdOPrey5 03 May 2012 12:45

Quote:

Originally Posted by Tyran1 (Post 2325740)
Please extend this so:Then you can read the post vote first.

Sorry, I don't understand this request... ?

Tyran1 03 May 2012 22:17

Quote:

Originally Posted by BirdOPrey5 (Post 2325786)
Sorry, I don't understand this request... ?

The first vote!
After can see the Thread.

Sorry for my english

BirdOPrey5 04 May 2012 13:56

If you mean hide posts until someone votes- I like that idea- Check out version 2.0, just released. :)

Tyran1 05 May 2012 11:52

Quote:

Originally Posted by BirdOPrey5 (Post 2326157)
If you mean hide posts until someone votes- I like that idea- Check out version 2.0, just released. :)

Horny! Thank you!!

Perhaps you can do anything else.Enter the time until when the poll is open.

BirdOPrey5 05 May 2012 12:07

You're welcome...

If "Enter the time until when the poll is open" means set a scheduled time to open the poll it is something I will look into but it is very different coding then what I have already done, I'm not sure it is possible without A LOT of coding. :(


All times are GMT. The time now is 10:07.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.