Reviving this and sharing. Posted a paid request for an update to this & didn't receive anything that worked, so my other admin and I muddled through it on our own. Fun day.
The following works like a charm on 3.8.0, if you don't want to install a big, bulky overly-configurable hack for something as simple as this. Insert into same position in newthread.php and create same phrase mentioned in the text file above. Remove and add usergroups and forums as necessary from the code:
PHP Code:
if (($vbulletin->userinfo['usergroupid']==X OR $vbulletin->userinfo['usergroupid']==X OR $vbulletin->userinfo['usergroupid']==X OR $vbulletin->userinfo['usergroupid']==X) AND $foruminfo['forumid']==Y OR $foruminfo['forumid']==Y OR $foruminfo['forumid']==Y OR $foruminfo['forumid']==Y)
{
$usersidnumber = $vbulletin->userinfo['userid'];
$checkpostfromthread = mysql_fetch_array(mysql_query("SELECT COUNT(threadid) AS numrows FROM " . TABLE_PREFIX . "thread WHERE postuserid='$usersidnumber' AND forumid='$foruminfo[forumid]'"), MYSQL_ASSOC);
if ($checkpostfromthread[numrows]>=Z)
{
eval(standard_error($vbphrase['canpostx']));
}
}
This will only affect newly created threads and not replies. Hope this post is ok with Logician.