vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vBulletin 4 Request - Poll checks (https://vborg.vbsupport.ru/showthread.php?t=324065)

SilverBoy 12-24-2016 12:30 AM

vBulletin 4 Request - Poll checks
 
Hi

I'm looking for a plugin which add some checks to the polls (per poll basis) like
  • Minimum Post Count
  • Length of Membership
  • User Group

I know there is a plugin do this (here) but it is global checks for all polls not per poll basis.

could some one help in this?

Thanks in advance.

SilverBoy 01-07-2017 02:19 AM

No one can help in this?

MarkFL 01-07-2017 04:48 AM

I've started on it, but it could be a while before it's completed. :)

SilverBoy 01-07-2017 07:12 PM

Quote:

Originally Posted by MarkFL (Post 2580476)
I've started on it, but it could be a while before it's completed. :)

Good Mark, I will waiting you and I wish you can finish it as soon as possible :).

MarkFL 01-07-2017 07:35 PM

1 Attachment(s)
Quote:

Originally Posted by SilverBoy (Post 2580507)
Good Mark, I will waiting you and I wish you can finish it as soon as possible :).

Well, this isn't a trivial task, and what I have so far are the new options being displayed on the "newpoll" and "editpoll" templates (no manual template edits required):

https://vborg.vbsupport.ru/attachmen...1&d=1483824156

I have the code in place to retrieve the values entered into the new options elements when the form is submitted, so all that is needed there is to construct the queries to save the data to the db. I will be adding a custom table for this.

Then after that, I will have to add a query when viewing polls to retrieve the advanced options and then based on that determine if permission is given to a user to vote, and deny this permission if needed.

So, please be patient and bear with me because I do have many other things going on as well. :)

SilverBoy 01-07-2017 08:11 PM

Good Mark, almost done ;)
Just suggestion, maybe usergroup option use be limited to admins/moderators not for all member, or what you think?
Waiting for you to finish ;)

MarkFL 01-08-2017 03:45 PM

I have published the new product here:

Advanced Poll Options

I have cited you as a co-author/supporter since this was your idea. :)

SilverBoy 01-08-2017 05:34 PM

Thank you Mark :).


All times are GMT. The time now is 08:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01066 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete