PDA

View Full Version : Required X Posts to Make New Thread in Y Forums


tnguy3n
15 Nov 2005, 18:30
Required X Posts to Make New Thread in Y Forum(s)
Author: tnguy3n

This is port of my little hack I wrote for vB 3.0.x. you can view original hack here (http://www.vbulletin.org/forum/showthread.php?s=&threadid=73529).

What this mod do is to disallows user with XX amount of posts to create New Thread in certain forums that you assigned. Of course, users can still view thread, reply to threads as normal, but not to make new thread until they meet the minimum number of required posts.

Open the plugin and adjust the value of $minpost, $specialgroups, and $forumid_req_minpost to fit your site settings.

// min post required to create thread
$minpost = 5;

// special groups which isn't restricted by this hack
$specialgroups = array(5,6,7);

// forums where this rule effects, use commas to seperate multiple forums
$forumid_req_minpost = array(2);

dieselpowered
15 Nov 2005, 18:41
Looks good...I will see about using this :)

djr
15 Nov 2005, 18:58
Thanks! EXACTLY what I needed!

/me hits install!

Yorixz
15 Nov 2005, 20:24
Too bad I didn't know this was going to be upgraded; already fixed this with usergroups + promotions now ;)

Omranic
16 Nov 2005, 07:19
Perfect solution for me :)
installed

tnguy3n
16 Nov 2005, 09:15
Too bad I didn't know this was going to be upgraded; already fixed this with usergroups + promotions now ;)

promotion is the good way too, but it gives you extra usergroup to manage.

Snake
16 Nov 2005, 13:52
This is great!

dactyl
20 Dec 2005, 20:48
Thanks for updating this mod to 3.5.x

Could you post the sql query we have to run for the inexperienced SQL users :)

Thanks

dactyl
07 Jan 2006, 09:45
I've imported the plugin, but I dont see Error Messages in the phrase type...

dead7
19 Jan 2006, 19:09
You're creating the phrase, not finding an existing.

dactyl
19 Jan 2006, 20:24
I am aware of that dead7, when creating the phrase you need to choose the Phrase Type: Error Messages, and I cant find error meessages in the drop down menu of the phrase type.

topsoftware
19 Jan 2006, 21:18
wat is Create a new phrase and why must make

Valter
20 Jan 2006, 09:26
http://www.vbulletin.org/forum/showthread.php?t=96523

speedracer68
08 Apr 2006, 16:13
Works great in 3.5.4 too!