newthread.php find:
// auto bypass queueing for admins/mods
Before that add:
if ($bbuserinfo[usergroupid]==X AND $bbuserinfo[posts]<Y)
{
show_nopermission();exit;
}
(Set X for the user group, Y for the minimum post number to post)
If you want it template driven:
Replace
show_nopermission();exit;
With
eval("standarderror (\"".gettemplate ("error_minpostnumforthreads")."\");");
exit;
And create a template named "error_minpostnumforthreads" and specify its content as you like..
I'm sure someone will ask so here its the code if you want to restrict 2 usergroups:
Replace first line as:
if (($bbuserinfo[usergroupid]==X OR $bbuserinfo[usergroupid]==Z) AND $bbuserinfo[posts]<Y)
Sorry, integrating this option to Admin CP requires a lot of editing so I only provided you with basic code. I dont know if Afterlab is still interested coding this hack but if he is, maybe he can write the code for you..By the way I recall this hack is already been released before? Are you sure it isnt? Maybe you should recheck again..
Enjoy..
Logician