Previous Thread
Next Thread
Print Thread
Rate Thread
#255835 08/05/2003 5:47 PM
Joined: Jul 2002
Posts: 19
B
bud Offline OP
Newbie
OP Offline
Newbie
B
Joined: Jul 2002
Posts: 19
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 Images
90850-cancelmail.zip (0 Bytes, 18 downloads)
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thank you!

Joined: Dec 2000
Posts: 1,471
A
Addict
Offline
Addict
A
Joined: Dec 2000
Posts: 1,471
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.

Joined: Jul 2002
Posts: 19
B
bud Offline OP
Newbie
OP Offline
Newbie
B
Joined: Jul 2002
Posts: 19
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.

Joined: Dec 2000
Posts: 1,471
A
Addict
Offline
Addict
A
Joined: Dec 2000
Posts: 1,471
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.

Sponsored Links
Joined: Dec 2000
Posts: 1,471
A
Addict
Offline
Addict
A
Joined: Dec 2000
Posts: 1,471
Another small glitch:

$To = $Uid;

should be:

$To = $User;


So that the PM gets send properly.

Joined: Jul 2002
Posts: 19
B
bud Offline OP
Newbie
OP Offline
Newbie
B
Joined: Jul 2002
Posts: 19
Thanks for the corrections.

Attached is an updated version.

I have no plans on any future modifications.

Joined: Aug 2000
Posts: 1,609
A
Addict
Offline
Addict
A
Joined: Aug 2000
Posts: 1,609
How would one go about getting this to work with 6.3.x?

Joined: Dec 2000
Posts: 1,471
A
Addict
Offline
Addict
A
Joined: Dec 2000
Posts: 1,471
I ported it to 6.3.
Bud, should I send you the updated files?

Joined: Jan 2002
Posts: 674
S
Junior Member
Offline
Junior Member
S
Joined: Jan 2002
Posts: 674
Nice we could use this for 6.4 if you can find the time to port. Very handly tool for admins thanks

Sponsored Links
Joined: Jan 2002
Posts: 674
S
Junior Member
Offline
Junior Member
S
Joined: Jan 2002
Posts: 674
^

Joined: Apr 2001
Posts: 3,266
O
Member
Offline
Member
O
Joined: Apr 2001
Posts: 3,266


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,551
Posts293,833
Members13,838
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 403
Topics Created 0
Posts Made 0
Users Online 2
Birthdays 30
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,808
Greg Hard 4,625
Top Posters(30 Days)
isaac 25
WebGuy 6
Gizmo 2
Top Likes Received
isaac 62
Gizmo 12
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 16
WebGuy 2
Gizmo 2
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Release build 20201027.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.052s Queries: 40 (0.018s) Memory: 3.3540 MB (Peak: 3.6070 MB) Data Comp: Zlib Server Time: 2020-10-31 06:49:36 UTC
Valid HTML 5 and Valid CSS