vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Download PM in mbox Format (https://vborg.vbsupport.ru/showthread.php?t=91269)

Andreas 06-27-2005 10:00 PM

Download PM in mbox Format
 
Download PM in mbox Format
This Hack allows you to download your PMs in mbox Format.
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..

Quote:

FIND
----------------------------------------------------------------------
<a href="private.php?$session[sessionurl]do=downloadpm&amp;dowhat=mbox">$vbphrase[mbox]</a>
----------------------------------------------------------------------
Should be:
Quote:

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

Quote:

Originally Posted by KirbyDE
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

Quote:

Originally Posted by yoyoyoyo (Post 1125960)
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.


All times are GMT. The time now is 06:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01261 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete