UBB.Dev
Posted By: bud Beta-[6.2] Cancel Mail 1.0 - 08/06/2003 12:47 AM
Mod Name / Version: Cancel Mail 1.0

Description: The modification provides a simple way for an administrator to turn off the mailings to a specific user. Typically this is done after receiving bounced messages.

This change adds a new selection to the user modification options available to an administrator. Once a user has been selected from the admin show/edit users page, a list of options is displayed. That list includes functions such as editing the user's profile and banning the user. The new option ("Cancel mailings") clears all the selected user's subscriptions and the "email replies" and other e-mail flags.

After clearing the flags, a private message is sent to the user informing him/her of the action.

Working Under: UBB.Threads 6.2

Mod Status: Beta

Any pre-requisites: 6.2

Author(s): bud

Date: 08/05/03

Credits: none

Files Altered: admin/selectoption.php

New Files: admin/dostopmail.php

Database Altered: none

Info/Instructions: Instructions contained in the attached zip file

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.




Attached File
90850-cancelmail.zip  (18 downloads)
Posted By: JoshPet Re: Beta-[6.2] Cancel Mail 1.0 - 08/06/2003 1:00 AM
Thank you!
Posted By: Astaran Re: Beta-[6.2] Cancel Mail 1.0 - 08/06/2003 8:50 AM
Very cool! I was looking for something like that for a long time.
Now i only need to write a script that filters all mails and cancels the mails automatically.
Posted By: bud Re: Beta-[6.2] Cancel Mail 1.0 - 08/06/2003 9:51 AM
I was thinking that might be a good idea for version 2. Actually, after using the script a short time, most of the email bounces have been reduced to only a few. I'm at a point where it might not be a good investment of time. Of course, our site has only about 4000 users. Still, it would make the modification a more complete solution.
Posted By: Astaran Re: Beta-[6.2] Cancel Mail 1.0 - 08/08/2003 4:06 PM
I installed it on my board, works great.
I think you forgot the closing brace of the if statement in your instructions.

If you plan a update of this mod, i'd love to a multilanguage version. Grab the users language and send the mail in that language.
Posted By: Astaran Re: Beta-[6.2] Cancel Mail 1.0 - 08/09/2003 3:16 AM
Another small glitch:

$To = $Uid;

should be:

$To = $User;


So that the PM gets send properly.
Posted By: bud Re: Beta-[6.2] Cancel Mail 1.0 - 08/12/2003 6:51 PM
Thanks for the corrections.

Attached is an updated version.

I have no plans on any future modifications.
Posted By: AKD96 Re: Beta-[6.2] Cancel Mail 1.0 - 08/12/2003 9:12 PM
How would one go about getting this to work with 6.3.x?
Posted By: Astaran Re: Beta-[6.2] Cancel Mail 1.0 - 09/16/2003 11:51 AM
I ported it to 6.3.
Bud, should I send you the updated files?
Posted By: smilesforu Re: Beta-[6.2] Cancel Mail 1.0 - 12/08/2003 8:55 AM
Nice we could use this for 6.4 if you can find the time to port. Very handly tool for admins thanks
Posted By: smilesforu Re: Beta-[6.2] Cancel Mail 1.0 - 12/26/2003 4:32 AM
^
Posted By: omegatron Re: Beta-[6.2] Cancel Mail 1.0 - 12/26/2003 5:26 AM
Posted Here

https://www.ubbdev.com/forum/showflat...;vc=#Post103116
© UBB.Developers