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...
|