Back to vBulletin 3.0 Add-Ons

Required X Post to Create New Thread
Mod Version: 1.00, by tnguy3n

This modification is in the archives.
vB Version: 3.0.3 Rating: (1 vote - 5.00 average) Installs: 19
Released: 31 Dec 2004 Last Update: Never Downloads: 1
Not Supported  

This mod was idea of HR3rdGen as requested here.

Mod title: Required X Posts to Make New Thread in Y Forum(s)

Description:
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.

File mod: 1

Installation Time: 1 min

-------

OPEN: newthread.php,

FIND:
Code:
// check if there is a forum password and if so, ensure the user has it set
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);
BELOW ADD:
Code:
// setting for minumum post required to create new thread
$num_minpost_required = 5;
$usergroupid_req_minmpost = array(2,3,4,8,9); // use comma to separate your usergroupid
$forumid_req_minpost = array(2,3,4,5,6); // use comma to separate your forumid
if (in_array($bbuserinfo['usergroupid'], $usergroupid_req_minmpost) AND ($bbuserinfo[posts]<$num_minpost_required) AND in_array($foruminfo['forumid'], $forumid_req_minpost))
{
	print_no_permission();
}
// end min post to create new thread

You can more usergroups and forums to those array as you want.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024