vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to Add UnSubscribe Option to Email Notifications? (https://vborg.vbsupport.ru/showthread.php?t=306588)

GameOverViper 01-03-2014 11:48 PM

How to Add UnSubscribe Option to Email Notifications?
 
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

Quote:

Originally Posted by ozzy47 (Post 2472135)
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:

Code:

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

Quote:

Originally Posted by ozzy47 (Post 2472194)
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:

Code:

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. :)


All times are GMT. The time now is 11:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01106 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete