The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Restrict Access to Forum base on Post Count
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. |
#2
|
||||
|
||||
if your running vB2 then im sure there is, with vB3 its possible to setup a system that does this by defualt.
|
#3
|
|||
|
|||
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_noposts dawg")."\");"); } // 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... |
#4
|
|||
|
|||
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). |
#5
|
|||
|
|||
Huh? You only want a member to be able to post in Hack Requests forum if they have 10 or more posts?
Syl... |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|