afterfl0w
03-08-2007, 09:15 PM
if($forum['forumid']=='3') {
$kSF = $kicka['sf'];
$kSF++;
} else {
$kGF = $kicka['gf'];
$kGF++;
}
I'm using that code as a plugin at the hook newpost_process. It skips right to the else statement, so it's not properly getting the forumid. Is there anyway I can get it in that hook?
EDIT: nevermind, resolved. Had to use $foruminfo[forumid]
$kSF = $kicka['sf'];
$kSF++;
} else {
$kGF = $kicka['gf'];
$kGF++;
}
I'm using that code as a plugin at the hook newpost_process. It skips right to the else statement, so it's not properly getting the forumid. Is there anyway I can get it in that hook?
EDIT: nevermind, resolved. Had to use $foruminfo[forumid]