vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Unsubscribe link for users to opt out of emails and/or newsletters (https://vborg.vbsupport.ru/showthread.php?t=246163)

benstillman 07-07-2010 10:00 PM

Unsubscribe link for users to opt out of emails and/or newsletters
 
1 Attachment(s)
Same as this, but tested on 4.0.4.

I send HTML newsletters via the "email users" in the admincp. I add this link to the newsletter so that any users who longer wish to get the newsletter can unsubscribe.


Quote:

This is a fix for Kirk Y's version for 3.5.4.

Heugabel also ported Kirk Y's to 3.8, but his version was set to double opt out. This in itself can set off spam filters/black lists.

This version fixes the security token error seen with the 3.5.4 version.

So going back to basics, just download and install the product. Then, where ever you want to add a link for users to unsubscribe from admin emails, simply put: http://www.yourforum.com/misc.php?do=unsub. When a user clicks on it, it will ask if they're sure they want to unsubscribe. They click yes, and the option in their UserCP to receive admins emails is set to no. That's it.

There is one template created titled cancel_email_subscription. This is the page they'll see when unsubscribing. It's very basic, and easy to edit.

And lastly, it puts a box on the "send email to users" page that simply says:
"This is the string to use if you want to add 'click to unsubscribe' link: Unsubscribe: $bburl/misc.php?do=unsub".
You can use $bburl/misc.php?do=unsub from the admin cp.

Manoel J?nior 07-12-2010 02:48 PM

Very nice man!!!!

GREAT!

Krazeguy 09-07-2010 11:15 PM

Nice one! Thanks!

noj75 09-23-2010 12:06 PM

Is there anyway of doing this so that the user is not required to be logged in when unsubscribing?

benstillman 10-05-2010 12:59 AM

Quote:

Originally Posted by noj75 (Post 2102220)
Is there anyway of doing this so that the user is not required to be logged in when unsubscribing?

Not securely. Then anyone could unsubscribe anyone else.

Kolbi 12-26-2010 08:29 PM

Works with 4.1?

benstillman 01-05-2011 02:04 PM

Quote:

Originally Posted by Kolbi (Post 2139346)
Works with 4.1?

I'm 99% sure it does. It's working on my 4.1 beta dev site.

seite7 01-22-2011 02:58 PM

Well, I could unsubscribe, but I don't see it affecting the checkbox (admin emails) in the usercp.
And no matter how I set the checkbox to receive admin mails in the usercp, the unsubscribtion page will always tell me, that I have already unsubscribed.
I though this addon will just set this option of the usercp in an easier way?

benstillman 02-08-2011 02:49 PM

Quote:

Originally Posted by seite7 (Post 2152939)
Well, I could unsubscribe, but I don't see it affecting the checkbox (admin emails) in the usercp.
And no matter how I set the checkbox to receive admin mails in the usercp, the unsubscribtion page will always tell me, that I have already unsubscribed.
I though this addon will just set this option of the usercp in an easier way?

Not sure bud. It's working fine on my 4.1.1 dev site. All it does is change the bit for the adminemail option (useroptions 16 in the xml bitfield). Sounds like maybe your bits need rebuilt?

IndigoSociety 04-02-2011 11:01 PM

This doesn't seem to include the string to unsubscribe in 4.1.2?


All times are GMT. The time now is 12:46 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.01465 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete