View Full Version : only allow members into a certain forum after a specified number of posts?
|DarkManX|
09-20-2002, 04:58 PM
i searched the forums for this with no luck....does anyone know if there is something like this or if someone could write up this hack
thanks in advance
Logician
09-20-2002, 08:35 PM
Originally posted by |DarkManX|
i searched the forums for this with no luck....does anyone know if there is something like this or if someone could write up this hack
Edit forumdisplay.php and find:
$getperms=getpermissions($forumid,-1,-1,$foruminfo['parentlist']);
if (!$getperms[canview]) {
show_nopermission();
}
After that add:
if ($bbuserinfo[posts]<X AND $forumid==Y) {show_nopermission();exit;}
Replace X with min post number and Y with your forumid..
Ah btw. always search in request forum too. There many small hacks released here like this one.. For instance I recall I gave this code a few times here in requests forum.. :)
Enjoy..
XFLBret
12-08-2002, 10:03 PM
ok, this hack works, but is there a way to hide the forum completely from those not allowed to view it or post in it? that would be great.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.