vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Minimum Post Count Required To Vote on Polls (https://vborg.vbsupport.ru/showthread.php?t=284897)

Shadow 06-24-2012 10:00 PM

Minimum Post Count Required To Vote on Polls
 
1 Attachment(s)
Description:
This hack will stop your users from voting on polls until they reach a certain post count in your forums. Pretty much everything in this modification is configurable. Choose whether the modification is active, how many posts are needed, which groups are affected and even set a custom error message.

Installation:
  1. Download the product xml below and import from Admin CP through the Product Manager
  2. Adjust settings by going to Admin CP -> vBulletin Settings -> Minimum Post Count Required To Vote In Polls

Changelog:
25/06/2012 - Version 1.00:
- Initial release.

Notes:
I'm always looking to improve my work for the people that enjoy using it. If you have any suggestions on how I can improve this hack then please leave a comment and I'll see what I'm able to do. Don't forget to 'Mark As Installed' if you've got it installed!

Hornstar 06-25-2012 08:07 PM

Would it be possible for you to also add a feature, and limit this to 1. certain forums. 2. certain polls.

That would be cool :)

Shadow 06-25-2012 08:13 PM

Quote:

Originally Posted by Hornstar (Post 2342853)
Would it be possible for you to also add a feature, and limit this to 1. certain forums. 2. certain polls.

That would be cool :)

Good idea there buddy, number 1 definately. However, could you please elaborate on number 2 because I don't understand. Sorry haha, I must need sleep :P

Hornstar 06-25-2012 11:22 PM

sure :)

On one of my forums, I would only want to enable this feature in 1 or 2 threads. In all other polls on the whole site I don't mind how many posts they have.

So for example, if we wanted to enable the post restriction on a poll in this thread, we would input the thread id. -> 284897

So having a box where you can input thread id's separated by commas, would be cool :) (Unless you can think of a simpler way to do it)

Hope that is clearer ^^

Shadow 06-26-2012 05:51 AM

Oh, I see. That's a very good idea infact. I'll get to work on coding that up.

Thank you for the great idea my friend! :D

SilverBoy 07-30-2012 07:57 AM

Hi
I was done some thing like this in 3.x days :)
but it was option for every poll, so poll creator or moderators can put the values or change them, I add the "how many days from register" too as condition.
But unfortunately I'm not a familiar with vb4.0 to port it !!

Shadow 07-30-2012 10:42 AM

If it weren't a problem with you, I could attempt to port it to vBulletin 4.x for you?


All times are GMT. The time now is 02:42 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.01024 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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