UBB.Dev
Posted By: Maze4 [7.2] PM Export Mailer - 08/12/2007 6:22 PM
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!



Description: PM Export Mailer 7.2
Attached File
Hack PM Mailer 7.2.txt  (43 downloads)
Posted By: AllenAyres Re: [7.2] PM Export Mailer - 08/13/2007 7:21 AM
danke Maze4 smile
Posted By: Rose Re: [7.2] PM Export Mailer - 08/28/2007 5:21 AM
Ah .. I've been waiting for somebody to re-vamp this mod. Thanks Maze! smile
Posted By: blaaskaak Re: [7.2] PM Export Mailer - 10/11/2007 1:09 PM
I just installed it, but somehow when I export, I only get my own messages from a conversation.
Posted By: blaaskaak Re: [7.2] PM Export Mailer - 10/11/2007 1:51 PM
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.
Posted By: blaaskaak Re: [7.2] PM Export Mailer - 10/11/2007 5:26 PM
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.
Posted By: sirdude Re: [7.2] PM Export Mailer - 10/19/2007 7:42 PM
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.
Posted By: olyclimber Re: [7.2] PM Export Mailer - 10/31/2007 8:19 AM
Sirdude, I would be greatly interested in the html/text version. Gracias.
Posted By: sirdude Re: [7.2] PM Export Mailer - 10/31/2007 1:27 PM
i put it in 7.3, so when that comes out.. bada bing smile
Posted By: blaaskaak Re: [7.2] PM Export Mailer - 10/31/2007 2:13 PM
and sans buglets smile
Posted By: sirdude Re: [7.2] PM Export Mailer - 10/31/2007 4:00 PM
it's still sans 'Yarp™ additional thingies' ... i'm working on that part laugh
Posted By: blaaskaak Re: [7.2] PM Export Mailer - 10/31/2007 7:06 PM
Nah, luckely for you those were done in under 2 minutes suggestions smile
Posted By: sirdude Re: [7.2] PM Export Mailer - 10/31/2007 7:55 PM
lmao @ 2 minutes.. i can code fast, but not THAT fast tipsy
Posted By: olyclimber Re: [7.2] PM Export Mailer - 10/31/2007 9:53 PM
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.
Posted By: blaaskaak Re: [7.2] PM Export Mailer - 10/31/2007 10:37 PM
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
Posted By: sirdude Re: [7.2] PM Export Mailer - 10/31/2007 11:10 PM
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.
Posted By: olyclimber Re: [7.2] PM Export Mailer - 11/01/2007 6:18 AM
i see said the blind man. thanks!
Posted By: Gizmo Re: [7.2] PM Export Mailer - 11/01/2007 9:01 AM
Originally Posted by olyclimber
i see said the blind man. thanks!
I seriously thought you where talking to me :x
© UBB.Developers