PDA

View Full Version : New Posting Features - Post Once Per Thread


Nxs
08-05-2006, 10:00 PM
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 (https://vborg.vbsupport.ru/showpost.php?p=278952&postcount=2), credit where its due.

Installation

Download and install the attached product
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
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
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
although Id like to ability to be able to block userids rather than groupid's :)

Blame johnstires who asked (https://vborg.vbsupport.ru/showthread.php?t=123212) 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
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
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
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
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.