Quote:
Originally Posted by chriske
Will try this out! Thanks
Edit:
Is it possible to make an option so that members can choose (in usercp) if they want to receive these notifications?
|
Yes it is- in fact, I have such an option on my site. Just add a new profile field (preferebly a checkbox labeled as "disable notifications") via your admin cp, and then change one line in the plugin:
PHP Code:
if ($vbulletin->userinfo['userid'] > 0)
{
PHP Code:
if ($vbulletin->userinfo['userid'] > 0 AND !$vbulletin->userinfo['fieldX'])
{
where X is the number of the custom profile field you just added.