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.

BETIServices 08-12-2006 02:49 AM

Can we have this hack restrict during a period of time also?

Excellent hack :D

Nxs 08-12-2006 05:23 AM

Quote:

Originally Posted by BETIServices
Can we have this hack restrict during a period of time also?

Excellent hack :D

In what way ?

Users can only reply to a thread within 2 days of it being posted ?

BETIServices 08-12-2006 06:08 AM

Quote:

Originally Posted by Nxs
In what way ?

Users can only reply to a thread within 2 days of it being posted ?

Correct, let's said the user post today, I like the user to be able to post back on x days after it posted and to be edited with the control panel.

Spinball 09-16-2006 05:48 PM

Any chance of a one (open) thread per forum hack please?

Nathan2006 09-20-2006 07:47 PM

Just a small question.

If the thread starter decides to update their thread and wants to bump it, would they not be able add another post?

Thanks for any help :)

johnstires 09-22-2006 02:15 AM

Quote:

Originally Posted by Nathan2006
Just a small question.

If the thread starter decides to update their thread and wants to bump it, would they not be able add another post?

Thanks for any help :)

If you wanted to do this, you could change the settings to post 2 times per thread. But yes, if someone posts a thread they cannot reply to it if the setting is once per thread.

ymy 10-03-2006 12:24 AM

this hack can be restrict thread also ?

thanks

Veer 10-23-2006 08:55 AM

Thanks for this :)

angelo 11-03-2006 10:21 PM

Installed, thank you.

Hornstar 11-06-2006 11:30 AM

Quote:

Originally Posted by Spinball
Any chance of a one (open) thread per forum hack please?

Awesome idea. This would be great for my site.

btw It took me 20 minutes to search for this :/ glad I found it tho.

johnstires 01-06-2007 02:18 PM

This is broken, at least on my forum. I am only able to restrict one usergroup. Not multiple ones. If I add more than one (ie 2,3) the hack breaks and does not work for either usergroup. I am running 3.6.4. Luckily I only need it for one usergroup, but in the future I may need it for 2.

evanoo 07-24-2007 01:40 PM

i need this hack very badly as users are countinuly spams in threads by multiple posts i tried it but not workin for me m using 3.6.5 can i get any help how can i use it on this version

testebr 07-24-2007 08:53 PM

If you add same function per Thread I will use.

evanoo 07-31-2007 10:53 AM

can someone help me i need this hack realy urgently on my forums but its not workin on 3.6.5 someone help plz .. :( i want it badly

ePrOmD 01-27-2008 01:55 AM

hi! tks for the hack.
i wanna ask, if the post limit its about the complete thread, or about every page of the thread. ´cause i nead often to limit the users from page and not from the complete thread.

tks for your time.!

oz_girl 08-16-2008 08:50 AM

does this work on 3.7.0? reserved if it does :D

Uberguilds 01-24-2009 07:07 PM

I'm working on getting this working for 3.8 I put in a debugging code and found that this code is never true in 3.8

if (strpos("," . $vbulletin->userinfo['usergroupid'] . "," . $vbulletin->userinfo['membergroupids'] . ",", "," . $vbulletin->options['popt_groupid'] . "," ) !== false) {

So it doesn't work. Any response at all would be helpful, this is of extreme importance.


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