Previous Thread
Next Thread
Print Thread
Hop To
Easier unsubscribe-from-email option #251432 12/16/2012 5:47 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
When I did my latest forum upgrades I did forum-wide mailings to let people know about the changes, and that I was running sweepstakes to celebrate. While most users are happy to hear from me there's always the occasional ones who are grumpy. They are used to one-click-unsubscribes from all their other feeds. They grump that unsubscribing from these mailings require them to figure out their username, figure out their password, log in, figure out where to change the email setting, etc. They feel it should be one click.

Thoughts? Is there a way to provide a one-click unsubscribe like many other engines do - one that unsubscribes without necessarily allowing access to the user's account in other ways?


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251435 12/16/2012 8:24 AM
Joined: Jun 2006
Posts: 287
FordDoctor Offline
enthusiast
Offline
enthusiast
Joined: Jun 2006
Posts: 287
Excellent suggestion!


Ford diesel master technician by day...
Webmaster by night! cool
FordDoctorsDTS.com running UBB Threads 7.5.4.2p2
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251445 12/16/2012 2:23 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
+1


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251451 12/16/2012 8:54 PM
Joined: Jun 2006
Posts: 869
Stan Offline
old hand
Offline
old hand
Joined: Jun 2006
Posts: 869
+2


http://clubadventist.com/forums

No longer following the carrot
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251465 12/17/2012 4:43 AM
Joined: Aug 2006
Posts: 1,356
Yarp™ Offline
veteran
Offline
veteran
Joined: Aug 2006
Posts: 1,356
And required by law in some countries!

So, +3.


[Linked Image from siemons.org]
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251485 12/17/2012 1:46 PM
Joined: Jun 2006
Posts: 106
usrbingeek Offline
member
Offline
member
Joined: Jun 2006
Posts: 106
+1

Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251497 12/17/2012 5:21 PM
Joined: Dec 2003
Posts: 5,998
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,998
Well, I think it is a needed feature.
But it did not cut the mustard for 7.6.
But hopefully it would be something that happens soon.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251498 12/17/2012 6:06 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
It really doesn't sound that difficult to create; when I get a little time I'll look at it...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251562 12/18/2012 8:51 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
Does anyone want to give this a try?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251564 12/19/2012 1:10 AM
Joined: Oct 2006
Posts: 358
Bill B Offline
enthusiast
Offline
enthusiast
Joined: Oct 2006
Posts: 358
I saw this THREE times before I realized that there was a LINK on "this". Wow... you are one quick dude!!

Gotta admit that in the past 11 years, I haven't sent out a SINGLE forum-wide mailing to my members. Thought about it a few times, but never wanted to reap the sling-and-arrows from such a stunt.

With this mod, I might be willing to begin a new career of being a "highly engaged Administrator" (Read: Spam). Ha!

I can give it a test, but not until after I do the upgrade between xmas and New Years. I'm trying to build some HELP videos for my Forum before Jan 1st. Maybe that will be something that you-all would be interested in hearing about? Chow.


--BIll B
Re: Easier unsubscribe-from-email option [Re: Bill B] #251565 12/19/2012 5:22 AM
Joined: Jan 2004
Posts: 2,468
driv Offline
Offline
Joined: Jan 2004
Posts: 2,468
Originally Posted by Bill B
Gotta admit that in the past 11 years, I haven't sent out a SINGLE forum-wide mailing to my members. Thought about it a few times, but never wanted to reap the sling-and-arrows from such a stunt.

ha ha. Same here, and I know that feeling! laugh

Originally Posted by Bill B
I'm trying to build some HELP videos for my Forum before Jan 1st. Maybe that will be something that you-all would be interested in hearing about? Chow.

Definitely. The most I've done is a few Photoshop graphics to point users at the right buttons to press.
(If you speak in the videos, try to do so in an English accent, so that I can rip them off for my users lol wink )


Using version :: 7.7.2
Re: Easier unsubscribe-from-email option [Re: Yarp™] #251578 12/19/2012 7:22 PM
Joined: Jun 2006
Posts: 287
FordDoctor Offline
enthusiast
Offline
enthusiast
Joined: Jun 2006
Posts: 287
Originally Posted by Yarp™
And required by law in some countries!




Here in the U.S. you must provide an unsubscribe link AND an physical mailing address. I got a P.O. Box for that reason... and have yet to send out any mass mailings either. LOL! The P.O. Box is good to have anyway - a lot of nutty people out there. onoes


Ford diesel master technician by day...
Webmaster by night! cool
FordDoctorsDTS.com running UBB Threads 7.5.4.2p2
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251604 12/21/2012 12:23 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
Dear Gizmo -

You are an angel smile. Thank you so much, I'll definitely give that a try the next time I send out a mailing.

Bill - Until now I've only done it every 2-3 years when there was a huge forum upgrade that changed things. I wanted to make sure members felt in the loop with substantial changes like that. But I definitely am finding that sending more regular mailings in general - for any site - builds community and engagement. It draws people into participating more.

So while you might get a few grumpy people, the benefits far outweigh that. You remind people who forgot about you to come give you a try again. You build a connection with your members who do visit.

It's also good to do it regularly so you can prune the bad-email addresses out in regular doses. Otherwise the one time you do send you'll do a deluge of bad email addresses, which can cause target servers to tag you as a spammer. So that's something to avoid. It's going to be inevitable with the first mailing but then after that if you keep a regular schedule you can prevent it from ever happening again.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251616 12/21/2012 6:28 AM
Joined: Dec 2003
Posts: 228
Pilgrim Offline
enthusiast
Offline
enthusiast
Joined: Dec 2003
Posts: 228
Originally Posted by BellaOnline
It's also good to do it regularly so you can prune the bad-email addresses out in regular doses. Otherwise the one time you do send you'll do a deluge of bad email addresses, which can cause target servers to tag you as a spammer. So that's something to avoid. It's going to be inevitable with the first mailing but then after that if you keep a regular schedule you can prevent it from ever happening again.

I'm curious what you and others do when you receive 'bounced' e-mails? Typically, I find that they belong to members who haven't visited in ages. Given that their e-mail address has changed, there is no way to contact them so that they can change their e-mail address to one that is valid and working. This little mod will definitely help to disable e-mails being send to such members in that case. But is there something else that can be done or should be done?

Just curious. [Linked Image]


Artificial Intelligence is no match for natural stupidity!
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251623 12/21/2012 1:28 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
Hmmm, I could make a mod which would alert users who have bounced emails to update their accounts; an admin would have to add them to a special group though...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Easier unsubscribe-from-email option [Re: Gizmo] #251624 12/21/2012 2:38 PM
Joined: Dec 2003
Posts: 228
Pilgrim Offline
enthusiast
Offline
enthusiast
Joined: Dec 2003
Posts: 228
Originally Posted by Gizmo
Hmmm, I could make a mod which would alert users who have bounced emails to update their accounts; an admin would have to add them to a special group though...

Hmmmmm, and how would you alert them since their e-mail address is defunct and they rarely, if ever visit the forum? [Linked Image]


Artificial Intelligence is no match for natural stupidity!
Re: Easier unsubscribe-from-email option [Re: Pilgrim] #251626 12/21/2012 3:54 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
Originally Posted by Pilgrim
Hmmmmm, and how would you alert them since their e-mail address is defunct and they rarely, if ever visit the forum? [Linked Image]
They'd receive a notification on the main page of your site I guess... I suppose you could also make it so that they couldn't post or view anything as well... Though they'd have to pm you to get removed from said group...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251726 12/25/2012 7:06 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
What I do is ban them and put a note in the ban message that their email address is invalid. That way we don't mail them going forward. And if they do decide to log in for some reason, they'll see that ban message and contact me for more information on how to get set up again.

It would be nice if the 'remove bounces' script we have put them on the ban list instead of just marking them to not email them going forward smile.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251732 12/25/2012 1:11 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
Originally Posted by BellaOnline
It would be nice if the 'remove bounces' script we have put them on the ban list instead of just marking them to not email them going forward smile.
Do you guys have an email pipe that sorts stuff? I thought of doing something in the past for that, but none of my email is on server


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251900 01/02/2013 5:23 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
Gizmo -

I'm not sure exactly what you're asking? I have a MailEnable mail server that runs on the same machine. It handles sorting the incoming and outgoing mail. I also use Katharion as a third party anti-spam system. It blocks 90% of all mail heading towards our server from ever reaching the server. That reduces our server load immensely.

A minor note for you - in your readme instructions you say:

# New Files #
languages/english/unsubscribe.php
scripts/unsubscribe.inc.php
templates/default/unsubscribe.tpl


You also should add the /languages/english/admin/unsubscribe.php in there.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251901 01/02/2013 6:07 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
Gizmo -

OK a few more things to tweak smile.

You have your code in the first part of the loop - the "which" part. However, I'm not manually selecting my users. I'm sending out to thousands of them - everyone within my selection group. So your code which was on line 53 to add to the body wasn't activating.

I'm down in the else starting with line 81, which triggers if one is mailing to the whole group being selected. I.e. all non-banned members in my case.

So my code has to be down in line 217 and look like this:

// --------------------------------------
// Are we sending via BCC or one a a time
if ($onebyone) {
if ( (strcmp($Email,"") != 0) && preg_match("/@/",$Email) ) {

$mailbodycust = $mailbody . "\n\n<br><br>\n" . $ubbt_lang['UNSUBSCRIBE'] . ":<br>\n" . "<a href=\"" . $config['FULL_URL'] . "?ubb=unsubscribe&email=" . $Email . "\">" . $config['FULL_URL'] . "?ubb=unsubscribe&email=" . $Email . "</a>";

$sentto .= " $Email,";
$mailer->set_language($config['LANGUAGE']);
$mailer->set_subject('DSE_SUBJECT', array('SUBJECT' => $subject));
$mailer->set_salute('EMAIL_SALUTE',array('USERNAME' => $Display));
$mailer->add_content('DSE_CONTENT', array('CONTENT' => $mailbodycust));
$mailer->ubbt_mail($Email);


Then it fills in properly in the message.

However, the URL isn't right smile The URL this creates is:

http://www.romanceclass.com/forum?ubb=unsubscribe&email=income@lisashea.com

but that's not valid. It needs to be:

http://www.romanceclass.com/forum/ubbthreads.php?ubb=unsubscribe&email=income@lisashea.com

So the code therefore is:

$mailbodycust = $mailbody . "\n\n<br><br>\n" . $ubbt_lang['UNSUBSCRIBE'] . ":<br>\n" . "<a href=\"" . $config['FULL_URL'] . "/ubbthreads.php?ubb=unsubscribe&email=" . $Email . "\">" . $config['FULL_URL'] . "/ubbthreads.php?ubb=unsubscribe&email=" . $Email . "</a>";

Once I put that in, it does correctly generate user-specific code that works properly. When the user first goes there it gives them an unsubscribe button. When they click it and go to the link again, it lets them know that they are already unsubscribed.

When I go to that user via their profile, it does say:

From time to time we send out emails regarding this community.
Do you wish to receive these emails?

NO.

So that is all now tied together and set.

Last edited by BellaOnline; 01/02/2013 6:19 AM.

Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251902 01/02/2013 6:44 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
One more tweak. This works fine for rows that are set to Off and On for the value of USER_ACCEPT_ADMIN_EMAILS. However, I have oodles of rows in my database where that value is simply blank. So those people don't get an option either way. The unsubscribe page just comes up with no options at all.

The blank people DO get mailed to, so that is a default setting of "On".

So I therefore tweaked the code in the template on lines 12 and 36. It now says:

{if ($current eq 'On' or $current eq '') and $process eq 'no'}

In essence that says that a blank value is the same as an on value, in terms of showing a message and giving a "turn off" button.

With that change I think it's set!


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251903 01/02/2013 10:34 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline OP
old hand
OP Offline
old hand
Joined: Jun 2006
Posts: 673
LOL and just when we thought it couldn't get more confusing smile.

I just heard from a very early joiner of my forum that the unsubscribe wouldn't work for her. Turns out while most people in the database have "on" and "off" values - she has a "yes" value in her field! So at some point early on the values seem to have been yes and blank.

So now I'm tweaking the code to also watch for the "yes" value.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: Easier unsubscribe-from-email option [Re: BellaOnline] #251905 01/02/2013 2:58 PM
Joined: Jun 2006
Posts: 15,852
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
Thanks for all of the tweaks; I'll try to go over the file sometime (unless you want to email me a copy of a modified copy of yours lol) to reflect your changes...

I don't really do mailings, so good call on the updates tongue...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
Who's Online Now
0 registered members (), 58 guests, and 422 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)