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?

TheInsaneManiac 04-16-2011 02:55 AM

Will this stop all Admin emails? Like private message and subscribed thread updates?

DNN 05-06-2011 02:42 AM

Quote:

Originally Posted by TheInsaneManiac (Post 2185147)
Will this stop all Admin emails? Like private message and subscribed thread updates?

good stuff. have a good night everyone! =)

benstillman 07-25-2011 09:45 PM

Quote:

Originally Posted by TheInsaneManiac (Post 2185147)
Will this stop all Admin emails? Like private message and subscribed thread updates?

Anything that checks to see if the user has "receive emails from administrators" option checked or not.

imk 01-12-2012 04:36 PM

works - but the page where it displays is all over the place style wise?

OldSchoolDSL 01-21-2012 05:28 AM

Really could use an update for 4.1.10

benstillman 01-24-2012 06:10 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2290462)
Really could use an update for 4.1.10

Should happen soon.

kisanjong 02-29-2012 07:44 PM

Quote:

Originally Posted by benstillman (Post 2291871)
Should happen soon.

Good news :)

John Lester 07-09-2012 03:30 PM

Did this fall through the cracks? Does it work for 4.1.12?

John Lester 07-09-2012 04:45 PM

Ok so on my test forum 4.1.12 pl2 all works fine except ... it does not un-subscribe the user from Receive Friendship Request Email or Receive email from other members.

EDIT: Tweaked the mod a bit to do what I wanted. Thanks for the awesome and simple mod :)

RichieBoy67 07-09-2012 08:25 PM

This is just what I have been looking for!! I hope it works well..

Thanks much for this!!

RichieBoy67 07-09-2012 08:30 PM

Quote:

Ok so on my test forum 4.1.12 pl2 all works fine except ... it does not un-subscribe the user from Receive Friendship Request Email or Receive email from other members.

EDIT: Tweaked the mod a bit to do what I wanted. Thanks for the awesome and simple mod :)
Tweaked it how to do what?

John Lester 07-09-2012 10:30 PM

Quote:

Originally Posted by RichieBoy67 (Post 2346477)
Tweaked it how to do what?

My tweaks now unsubscribe the user from the following;

Receive Email from Administrators
Receive Email from Other Members
Receive Friendship Request Email

It also sets Default Thread Subscription Mode to Do not subscribe. I just had the idea to make it uncheck the allow vcard option. I'll report back if I can get that to work.

I will not release these changes until I have communicated with the mod author.

RichieBoy67 07-10-2012 07:12 AM

That's great. I would love to use your tweaks.

Thanks

TerryMason 07-18-2012 02:07 PM

Any way to unsubscribe from birthday emails?

John Lester 07-20-2012 04:47 PM

Quote:

Originally Posted by TerryMason (Post 2349260)
Any way to unsubscribe from birthday emails?

Uncheck the "receive emails from admins" option in the user profile.

TerryMason 07-20-2012 05:16 PM

Quote:

Originally Posted by John Lester (Post 2349875)
Uncheck the "receive emails from admins" option in the user profile.

Sorry, my question was pretty vague.
I wanted the happy birthday emails to include an unsubscribe link.

John Lester 07-20-2012 08:38 PM

Enter your ACP and go to Languages and Phrases -> Phrase manager -> Email body Text

You'll see "birthday" on the first page. Click the edit link on the right.

Copy default text if you want to keep the generic greeting. Otherwise add your own birthday message in the white box. At the bottom of the page add

Code:

$bburl/misc.php?do=unsub

TerryMason 07-21-2012 02:46 PM

Thank you John

synseal 11-29-2012 07:25 PM

Hi and thanks for this but for some reason after testing this the link in the email sent out by admin brings you to a white blank page.

Shame, could this be vbseo related or is it no longer working for 4.2.pl3?

t.i.a

djbaxter 11-29-2012 08:35 PM

Quote:

Originally Posted by synseal (Post 2386551)
Hi and thanks for this but for some reason after testing this the link in the email sent out by admin brings you to a white blank page.

Shame, could this be vbseo related or is it no longer working for 4.2.pl3?

t.i.a

It's working fine for me with 4.4.0 PL3 plus vBSEO. I would start by looking for other add-ons that may be interfering with this one and disabling them one by one.

Breixo 01-07-2013 06:43 PM

Anyone has activated it without needing to login, like "inactive user reminder" https://vborg.vbsupport.ru/showthread.php?t=237531

To stop receiving this email, visit this URL: $forumurl/optout-reminders.php?u=$userid&e=$email"


All times are GMT. The time now is 06:28 PM.

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.01724 seconds
  • Memory Usage 1,782KB
  • 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
  • (1)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)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