this is the code found in forumdisplay.php:
Code:
if ($foruminfo['allowposting']==1) {
eval("\$newthreadlink = \"".gettemplate('forumdisplay_newthreadlink')."\";");
}
i want to relate it to the actual forum perms. here it is what i tried:
Code:
if ($foruminfo['allowposting']==1 and $forumperms['canpostnew']) {
eval("\$newthreadlink = \"".gettemplate('forumdisplay_newthreadlink')."\";");
}
the problem is that the forum perms are unset at that level, in [high]if ($foruminfo['cancontainthreads']==1) {[/high], where is set the $newthreadlink variable.
any way arround it? i dont want to relate it to bbuserinfo. i was thinking of creating a new field called [high]allowarticles[/high] but there is a new problem. i cannot find any reference to allowposting settings in CP files. let me know please where is related the option (allowposting field) in CP. thanks.