Previous Thread
Next Thread
Print Thread
Rate Thread
#315169 08/12/2007 11:22 AM
Joined: Oct 2001
Posts: 2
Lurker
Lurker
Offline
Joined: Oct 2001
Posts: 2
Mod Name / Version: PM Export Mailer 7.2

Description: This allows users to select private messages from their list of private messages and click "Email PM" instead of "Delete" to receive a copy of the PM via email. It's an excellent tool to allow users to "archive" off their Private Messages before they are purged from your database.
Features:
- keep or delete the exported PMs
- export PMs in one big single email or separate emails
- removes PMs only after they were successfully passed to the mailer
- only emails in text format supported at this time

Working Under: UBB.Threads 7.2

Mod Status: Beta

Any pre-requisites: none

Author(s): completely rewritten by Maze, based on the Beta-[6.5] PM Mailer 6.5 by JoshPet and originally by JustDave

Date: 12. August 2007

Files Altered:
scripts\delete.inc.php
scripts\viewmessages.inc.php
libs\ubbthreads.inc.php
templates\default\viewmessages.tpl
languages\*\viewmessages.php

New Files: none

Database Altered: no

Installation Notes: Make a backup copy of the original files!
Attachments
Hack PM Mailer 7.2.txt (13.48 KB, 43 downloads)
PM Export Mailer 7.2
SHA1: 92e80aa0f5a0d76119e1bf7bb93ef9d05a278ad2

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
danke Maze4 smile


- Allen wavey
- What Drives You?
Joined: Sep 2006
Posts: 75
Power User
Power User
Offline
Joined: Sep 2006
Posts: 75
Ah .. I've been waiting for somebody to re-vamp this mod. Thanks Maze! smile

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
I just installed it, but somehow when I export, I only get my own messages from a conversation.

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Originally Posted by blaaskaak
I just installed it, but somehow when I export, I only get my own messages from a conversation.


Okay, from delete.inc.php I removed and t1.USER_ID = ? from the query, and I removed the placeholder for it.

Sponsored Links
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
I also had an issue that users could not delete private topics anymore. Both just deleting, and deleting after mailing.

I'm away for the weekend, will play with it again next week.

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Yarp™-UNiT,

i think i'll put an html/text version of this puppy together, sans buglets.

i have the html/text part done already. the delete stuff would be a small incremental.

Joined: Nov 2006
Posts: 7
Lurker
Lurker
Offline
Joined: Nov 2006
Posts: 7
Sirdude, I would be greatly interested in the html/text version. Gracias.

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
i put it in 7.3, so when that comes out.. bada bing smile

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
and sans buglets smile

Sponsored Links
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
it's still sans 'Yarp™ additional thingies' ... i'm working on that part laugh

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Nah, luckely for you those were done in under 2 minutes suggestions smile

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
lmao @ 2 minutes.. i can code fast, but not THAT fast tipsy

Joined: Nov 2006
Posts: 7
Lurker
Lurker
Offline
Joined: Nov 2006
Posts: 7
yes, the sans buglets version is what I'm hoping for. smashpc
are you going to do one for 7.2.2 as well? just went through an upgrade, and probably wont go to 7.3 right away unless security fixes are in that version.

thanks.

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
There are (minor) security issues covered in 7.3.

I don't know how easy it would for SD to release it for 7.2.2, that would be one major list of "how-to" for this hack.

It would take him over 2 minutes laugh

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
lol, true.. it would be a very large modification to post here. i essentially wrote an entirely new mailer class and i don't think i can just post the code like that.

normally modifications are of the form: find this, change to this..

vs

replace the entire contents of xxxx..

so 7.3 is your best bet, if you want an overhauled emailing system, that not only does PMs, but the whole 9 yards.

Joined: Nov 2006
Posts: 7
Lurker
Lurker
Offline
Joined: Nov 2006
Posts: 7
i see said the blind man. thanks!

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Originally Posted by olyclimber
i see said the blind man. thanks!
I seriously thought you where talking to me :x


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

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,573
Posts293,925
Members13,849
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

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