vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Post Once Per Thread (https://vborg.vbsupport.ru/showthread.php?t=123234)

Nxs 08-05-2006 10:00 PM

Post Once Per Thread
 
Post Once Per Thread (popt)


Description:
Restricts users so they can only reply once to a thread.

A new section added to the vBulletin options provides the forum admin with the ability to specify a list of forum id's to be locked down - the usergroups id's to be locked - and the quantity of replies allowed. If a restricted user tries to reply more than the permitted quantity they will see the default vBulletin "no permission" screen, you may wish to alter the phrase for this error to include a section on posting more than the alloted limit.

This is a 3.6 port of an original hack here, credit where its due.
Installation
  1. Download and install the attached product
  2. Edit the "Post Once Per Thread" options in the AdminCP

NO Extra files
NO Template changes
Change Log:
7-Aug-06 : (1.01) Changed DB query so this works with 3.6 and 3.5.5
6-Aug-06 : (1.00) Initial release

The Free Bird 08-06-2006 11:56 PM

nice , installed .

Barakat 08-07-2006 12:55 AM

thanks and installed ...

paul41598 08-07-2006 12:19 PM

work on 3.5.4?

Nxs 08-07-2006 02:55 PM

Quote:

Originally Posted by paul41598
work on 3.5.4?

Just tested on 3.5.5 and it doesnt work - will look at this tonight to see if it is possible but dont hold much hope - 3.6 is the way forward :)

Nxs 08-07-2006 03:36 PM

Quote:

Originally Posted by Nxs
Just tested on 3.5.5 and it doesnt work - will look at this tonight to see if it is possible but dont hold much hope - 3.6 is the way forward :)

Fixed to work with both 3.6 and 3.5.5 now

paul41598 08-07-2006 04:01 PM

although Id like to ability to be able to block userids rather than groupid's :)

johnstires 08-07-2006 04:43 PM

I currently run 3.5.4.

If I run a patch or pluggin for 3.5.5 instead of doing the full upgrade, will that allow me to use this hack?

johnstires 08-07-2006 04:57 PM

Works on 3.5.4!

Sweet, thanks for making this hack.

Nxs 08-07-2006 05:18 PM

Quote:

Originally Posted by paul41598
although Id like to ability to be able to block userids rather than groupid's :)

Blame johnstires who asked for this hack, and blame Microsoft who drummed into my head on their training courses that you should always do restrictions by a group rather than an individual :)

The group can be either primary or secondary, doesn't really matter.


All times are GMT. The time now is 09:57 PM.

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.01134 seconds
  • Memory Usage 1,729KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete