View Full Version : Restrict Access to Forum base on Post Count
VanHost
05-30-2004, 06:47 PM
I am wondering if there is a MOD that exists for any version of vB that allows you to restrict the viewing a forum to registered users with say 10 or more posts.
Ie.
I don't want people to just sign up so they can view a certain forum with 0 posts.
Zachery
05-30-2004, 07:03 PM
if your running vB2 then im sure there is, with vB3 its possible to setup a system that does this by defualt.
Sylvus
05-31-2004, 05:35 PM
Open up showthread.php
Find:
if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;
}
Beneath it add:
// USER SPECIFIC CODE VIEW
if ($bbuserinfo[posts] <= "10")
{
eval("standarderror(\"".gettemplate("error_nopostsdawg")."\");");
}
// END
Create a template called:
error_nopostsdawg
Put in the following message:
Yo dawg! You ain't be bustin' out enough posts in the hood for us to let you view our sugar smacks. You know what I'm sayin'? WHUT?!
Members with 10 posts or less will still be able to enter each forum and display each thread but they will receive the above error message if they attempt to view a thread.
Syl...
n_only
06-04-2004, 11:35 AM
Sylvus
what if I would like to restrict new post only ?
let's say user with 10 posts can send a new post in ( Hack Requests forum).
Sylvus
06-04-2004, 03:44 PM
Huh? You only want a member to be able to post in Hack Requests forum if they have 10 or more posts?
Syl...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.