View Full Version : How to Add UnSubscribe Option to Email Notifications?
GameOverViper
01-03-2014, 11:48 PM
So I enabled the instant email notification when a user received a PM and I've found out that there's no unsubscribe link within the email. How can I go about editing the email to enter a unsubscribe option to make it so that user doesn't receive emails after they unsubcribe?
ozzy47
01-04-2014, 12:03 AM
Does the email say something like this, "New Private Message at YOURSITENAME"?
GameOverViper
01-04-2014, 08:46 AM
Does the email say something like this, "New Private Message at YOURSITENAME"?
Yes, it says that.
ozzy47
01-04-2014, 11:24 AM
Ok what you could do is add it to the phrase, edit the phrase, pmreceived and in the English translation, c/p the original message, and add this in there where you want:
To unsubscribe from this email, you can change your options here, $vboptions[bburl]/profile.php?do=editoptions#cb_receivepm
Now that won't automatically unsubscribe them, but they can change their options, that link brings them to the proper setting on the correct page to do so.
GameOverViper
01-04-2014, 09:16 PM
Ok what you could do is add it to the phrase, edit the phrase, pmreceived and in the English translation, c/p the original message, and add this in there where you want:
To unsubscribe from this email, you can change your options here, $vboptions[bburl]/profile.php?do=editoptions#cb_receivepm
Now that won't automatically unsubscribe them, but they can change their options, that link brings them to the proper setting on the correct page to do so.
Thank you very much! That's better than nothing. I'm not sure why that isn't default in the phrase with vbulletin already, but it should be.
For anyone else wondering, the phrase is located in the Email Body Text group under phrases ;)
ozzy47
01-04-2014, 09:17 PM
Yeah you can always word it to how you want, but you get the idea now. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.