I can't seem to find this code:
PHP Code:
$postinfo=getpostinfo($postid);
if ($postinfo[visible]!=1 and $bbuserinfo[usergroupid]!=5 and $bbuserinfo[usergroupid]!=6 and $bbuserinfo[usergroupid]!=7) {
$idname="post";
eval("standarderror(\"".gettemplate("error_invalidid")."\");");
}
$threadid=$postinfo[threadid];
All I see that resembles that a little is this:
PHP Code:
if (!$threadinfo[visible]) {
$idname="thread";
eval("standarderror(\"".gettemplate("error_invalidid")."\");");
}
if (!$threadinfo[open]) {
if (!ismoderator($threadinfo[forumid],"canopenclose")) {
eval("standardredirect(\"".gettemplate("redirect_threadclosed")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");");
exit;
}
}
So what do I do exactly? Kinda lost. hehe. First time I have a problem with a hack. lol
The thing is, I can't even find this in the file:
PHP Code:
$idname="post";
I'm stumped