PDA

View Full Version : Download PM in mbox Format


Andreas
06-27-2005, 10:00 PM
Download PM in mbox Format
This Hack allows you to download your PMs in mbox Format (http://en.wikipedia.org/wiki/Mbox).
mbox is a native UN*X mail format and can be read by many eMail-Clients.

It was requested by one of my members some time ago, and as I had to port it for vB 3.5 anyway in preparation for the Update, I thought it might be useful for others too, so here you are.

Details
2 Phrases
1 Plugin XML

There is not much to see, but as I know you guys always want screenshots - even those are there :D

Please only click Install if you actually have installed/are using this Hack, and click Uninstall whan you don't use it any longer!

Oblivion Knight
08-13-2005, 08:59 PM
Typo in the readme..

FIND
----------------------------------------------------------------------
<a href="private.php?$session[sessionurl]do=downloadpm&amp;dowhat=mbox">$vbphrase[mbox]</a>
----------------------------------------------------------------------Should be:
FIND
----------------------------------------------------------------------
<a href="private.php?$session[sessionurl]do=downloadpm&amp;dowhat=txt">$vbphrase[text]</a>
----------------------------------------------------------------------
I'm sure a couple of my users will be glad of this, thanks for sharing.. :)

Andreas
08-13-2005, 09:04 PM
Oops! :)
Fixed.

Should update this to a Product XML ...

Oblivion Knight
09-11-2005, 01:13 PM
Should update this to a Product XML ...I did this since I'm working on my test board anyway.. ;)

Xeonext
10-20-2005, 08:42 AM
This hack might help me to import private messages of users to the email service :)

aciurczak
11-14-2005, 05:15 PM
Worked like a charm, thx!

I use Eudora, so need to do one more conversion from MBOX --> eudora .mbx files. I attached a small utility that I found that does just that.

Tralala
03-04-2006, 05:22 PM
Seems to be working great, users are able to easily download their PM's and import into their email client of choice. Thanks! :up:

The resulting emails often look weird, though. Any way to incorporate strip_bbcode or preg_replace? Maybe just to strip out certain tags, like [IMG] (as that screws up the clickable links,) or [b] or [i] since they don't work well in an email client?

I'd leave [quote] around, or better yet convert quoted lines to:
>something like this
...since that (as well as [post] are necessary to communicate context.)

Other than that though, any way to somehow clean up the messages for their journey from vB to an email client would be greatly appreciated.

mclark2112
11-23-2006, 09:56 PM
Is there a 3.6 version of this?

aciurczak
11-25-2006, 02:49 PM
Existing version still works fine in 3.6.4 for me...

yoyoyoyo
11-26-2006, 10:49 PM
I can't seem to find the private_messagelist template anywhere. Do you really mean pm_messagelist?

Tralala
02-14-2007, 02:36 PM
I can't seem to find the private_messagelist template anywhere. Do you really mean pm_messagelist?

Yeah, the template name changed in 3.6.x
I just followed the instructions but replaced private_messagelist with pm_messagelist, and it seems to work fine.