ok I changed this code in newthread:
PHP Code:
//WL 04-June-2001 Forum Features Hack (v1.0 Wayne Luke)
if (($foruminfo[minposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {
eval("standarderror(\"".gettemplate("error_forumnopost")."\");");
exit;
}
//WL End Modifications
to this:
PHP Code:
if ($foruminfo[minposts] && ($foruminfo[minposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {
eval("standarderror(\"".gettemplate("error_forumnopost")."\");");
exit;
}
and in forumdisplay I did a search for:
PHP Code:
$smilieson=iif($foruminfo[allowsmilies],$ontext,$offtext);
and it didn't find it but it did find this:
PHP Code:
$smilieson=iif($foruminfo['allowsmilies'],$ontext,$offtext);
There are ' around the allowsmilies. I don't know why, anyways, I thought that was the same code since it's pretty close.
So the code looked like this:
PHP Code:
//WL 04-June-2001 Forum Features Hack (v1.0 Wayne Luke)
$keyword=$foruminfo[metakey];
$description=$foruminfo[metadesc];
$robotext=$foruminfo[robotext];
if (($foruminfo[minviewposts]>$bbuserinfo[posts]) and !(ismoderator($foruminfo[forumid],"",$bbuserinfo[userid]))) {
eval("standarderror(\"".gettemplate("error_forumnoview")."\");");
exit;
}
//WL End Modifications
and I edited the part bottom part of that wasn't the meta thingys. To what Fastforward said. I tested it with a user and it let the user into the forum that I was trying t block. I tested it, by setting up a user with 1 posts and the post count was 35. It did take off the message from the unregistered, but if somebody is registered it made the entire hack untracable that it was even there.
What am I doing wrong?