Quote:
Originally Posted by AndrewD
includes/local_links_misc.php, around line 1330, function ldm_create_thread
there's a sequence
Code:
$forumperms = fetch_permissions($forumid);
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostnew'])) {
return;
}
If you want to post in a blocked forum, I suspect that you'll have to modify this code to temporarily give the current user permission to post, otherwise the subsequent call to build_new_post will probably fail
|
Thanks a lot for this help AndrewD, however, I'm still having one problem. Right now the threads are only generated when an administrator also fills in a valid forum. The feature I'm looking for is topic generation for everyone who submits a file (permissions should be handled now, but where can I find the code that handles what board to select (I want to change it to the one used for the view permissions). Thanks in advance.