View Full Version : Set sub forum to automatically subscribe
patracy
01-29-2014, 07:37 PM
I know vBulletin can be configured to have user profiles automatically subscribe to all threads/posts. But is there any means of leaving this setting alone, but apply it only to a section of the board? Specifically, we have a classifieds forum, I'd like to setup the section to email people about their threads.
I haven't tried it, but maybe you can override the user's autosubscribe choice depending on the forumid. For example, maybe try using a plugin on global_setup_complete and something like:
if (THIS_SCRIPT == 'newthread' or THIS_SCRIPT == 'newreply' AND $foruminfo['forumid'] == X)
{
$vbulletin->userinfo['autosubscribe'] = 2;
}
Again I haven't tested that, it might not work as is.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.