The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
1. Back-up newthread.php and newreply.php (only do newreply if you do not want them to make replies either)
2. in newthread.php find: if (!$foruminfo['allowposting'] OR $foruminfo['link'] OR !$foruminfo['cancontainthreads']) { eval(standard_error(fetch_error('forumclosed'))); } 3. After add: // check to see if they have enough posts if ((($vbulletin->userinfo['posts'] < '10') AND ($foruminfo[forumid] == 'xx')) AND (($vbulletin->userinfo['usergroupid'] < '5') OR ($vbulletin->userinfo['usergroupid'] > '6'))) { eval(standard_error(fetch_error('notenoughposts')) ); } 4. Change xx to the forumid you do not want the posts to be made. Note: admins/gm's excluded from restriction. If you allow guests to posts, they will not be able to as well in the forum you specify. 5. Save. 6. open newreply.php (if you want to stop members with <10 from replying as well) 7. Find: if (!$threadinfo['open']) { if (!can_moderate($threadinfo['forumid'], 'canopenclose')) { $vbulletin->url = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "t=$threadid"; eval(standard_error(fetch_error('threadclosed'))); } } 8. After, add code from step 3, and save. 9. Create a new error phrase called notenoughposts 10. Add at own risk, ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|