View Full Version : welcome PM > no email notification
Ghostt
05-03-2014, 06:13 PM
How to set up vbulletin don't send email notification for recived WELCOME private message ?
i want to disable this so user dont get this email notification but ONLY in case if user recive welcome pm/ private message.
I haven't tested it, but I think this will work: create a plugin using hook pmdata_postsave_recipient and this code:
if (THIS_SCRIPT == 'register' AND ($user['options'] & $this->registry->bf_misc_useroptions['emailonpm']))
{
$user['options'] -= $this->registry->bf_misc_useroptions['emailonpm'];
}
Ghostt
05-06-2014, 10:22 PM
wow i gave up hope allready ^^.
i will test it and report,
/edit
quick tested , seems to work.
thank you :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.