Previous Thread
Next Thread
Print Thread
Rate Thread
#255835 08/05/2003 4:47 PM
Joined: Jul 2002
Posts: 19
bud
Offline
Newbie
Newbie
Offline
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.


Attachments
90850-cancelmail.zip (0 Bytes, 18 downloads)

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thank you!

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
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
bud
Offline
Newbie
Newbie
Offline
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
Addict
Addict
Offline
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
Addict
Addict
Offline
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
bud
Offline
Newbie
Newbie
Offline
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
Addict
Addict
Offline
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
Addict
Addict
Offline
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
Junior Member
Junior Member
Offline
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
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
^

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
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
Pilgrim
Pilgrim
NH, USA
Posts: 190
Joined: June 2000
Forum Statistics
Forums63
Topics37,570
Posts293,915
Members13,848
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,829
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 81
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2022 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221129)