Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Unsubscribe Link Details »»
Unsubscribe Link
Version: 1.00, by benstillman benstillman is offline
Developer Last Online: May 2014 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.8.4 Rating:
Released: 04-14-2010 Last Update: 04-14-2010 Installs: 27
Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

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.

Download Now

File Type: xml product-unsubscribe_link_3.8.xml (5.2 KB, 154 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-01-2010, 10:47 PM
ShackMaster ShackMaster is offline
 
Join Date: Apr 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will give it a spin... thanks for looking out for us on the double opt-out.
Reply With Quote
  #3  
Old 05-29-2010, 06:56 AM
squishi squishi is offline
 
Join Date: May 2006
Location: Frankfurt
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, this looks very good. Marked as installed.

Question:
PHP Code:
    $db->query("UPDATE " TABLE_PREFIX "user SET options= options - 16 WHERE (options & 16) AND userid=" $vbulletin->userinfo['userid']); 
You set the options for the user there. I think this is some sort of bitwise operation.
It removes the "receive emails from admins" option, right?

I want to add the unsubscribe link to all the communication that I send out (that is, I want to edit the email phrases and add the link).
How would I modify this code so that a user gets unsubscribed from all emails (subscriptions, admin emails, PM notifications)?
Reply With Quote
  #4  
Old 05-30-2010, 09:34 AM
funmasti's Avatar
funmasti funmasti is offline
 
Join Date: Aug 2009
Location: World Wide Web
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone tried it?

i am soo interested on it. please provide me a review
Reply With Quote
  #5  
Old 06-14-2010, 02:43 PM
benstillman benstillman is offline
 
Join Date: Jun 2007
Location: Ohio
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by funmasti View Post
anyone tried it?

i am soo interested on it. please provide me a review
I've been using it for quite a while on my site. When I send newsletters, I use the Auto HTML Emails for Administrators mod, and send emails through the AdminCP. I incorporate this unsubscribe link in the emails, and voila: no more emails sent from the AdminCP for users who have unsubscribed.
Reply With Quote
  #6  
Old 06-14-2010, 02:44 PM
benstillman benstillman is offline
 
Join Date: Jun 2007
Location: Ohio
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squishi View Post
Hi, this looks very good. Marked as installed.

Question:
PHP Code:
    $db->query("UPDATE " TABLE_PREFIX "user SET options= options - 16 WHERE (options & 16) AND userid=" $vbulletin->userinfo['userid']); 
You set the options for the user there. I think this is some sort of bitwise operation.
It removes the "receive emails from admins" option, right?

I want to add the unsubscribe link to all the communication that I send out (that is, I want to edit the email phrases and add the link).
How would I modify this code so that a user gets unsubscribed from all emails (subscriptions, admin emails, PM notifications)?

Great question. I'll have to look into that if I get some free time.
Reply With Quote
  #7  
Old 02-09-2011, 06:52 AM
Darakir Darakir is offline
 
Join Date: Jul 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anything like this available for 4.+?
Reply With Quote
  #8  
Old 02-09-2011, 02:27 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darakir View Post
Is anything like this available for 4.+?



https://vborg.vbsupport.ru/showthread.php?t=246163
Reply With Quote
  #9  
Old 06-24-2014, 09:40 PM
leemart44 leemart44 is offline
 
Join Date: Oct 2013
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working no link in any emails
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04289 seconds
  • Memory Usage 2,300KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete