Quote:
Originally Posted by Yorixz
Little support request in addition to the other 100 pages of this topic; Where would I need to alter the plugin code of automatic topic generation?
On my forum I don't want users to be able to manually post in the board I'm using for the automatically generated topics (spam related issues), but this is currently required for the plugin to work. I can't find where to alter this in order to remove this functionality though.
|
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