The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I restrict forum access by post count?
Hi folks,
I have a relatively busy off-topic forum on my website, and as such it's been a bit of a target for new account spammers as of late. Is there an easy way that I can restrict it so that new members need ~50 or so posts to access it? Thanks! |
#2
|
|||
|
|||
Yes. Create a new user group for those with over 50 posts, and make a promotion to transfer members to it after 50 posts. Then just make those forum permissions open that new group.
|
#3
|
||||
|
||||
do what i did
i added this edit to my forum so that everyone who registers must introduce themselves in one thread first then they can see the rest of the forum. if they dont they get the no permission pop up with the explanation on why and the link to the thread. its working great for me here the code you need. #################### # forumdisplay.php # #################### ######## # find # ######## if (!($forumperms & CANVIEW)) { print_no_permission(); } ############# # change to # ############# if (!($forumperms & CANVIEW) OR $bbuserinfo['posts'] <= 0 AND $forumid != 18) // change 18 to your forum id { print_no_permission(); } ################################ # change 18 to your n00b forum # ################################ #################################### # enjoy my first released vB3 mod! # #################################### // end change the 0 in this line: <= 0 AND $forumid != 18) if you want like 10 posts or 20 etc. hope this helps you out |
#4
|
|||
|
|||
I don't see why any code modification is needed to make this work. Like Tamarian explained it can simply be done with standard vB usergroups and promotions.
|
#5
|
||||
|
||||
Quote:
thanks marco didnt know that you learn something new everyday. thanks ill try it out on my other forums. |
#6
|
|||
|
|||
Try it, there is a lot possible with out of the box vB
I am discoevering new things every day also, and i can't say (others mught say so) that i am a complete vB noob. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|