vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Download PMs to File (for all 2.x.x versions)" (https://vborg.vbsupport.ru/showthread.php?t=15859)

Una Persson 01-04-2002 03:31 PM

After doing the initial hack, then several of the fixes posted later on, it seems to be working very well for me.

eva2000 01-10-2002 10:46 AM

Quote:

Originally posted by bira
I have IE 5.5 and this is what I get:

http://www.atlasf1.com/personal/bira/pmdownload-ie.gif

make absolutely sure you have the following lines in private.php:

PHP Code:

header("Content-disposition: filename=messages.txt");    
header("Content-type: unknown/unknown");
header("Pragma: no-cache");
header("Expires: 0"); 

Again I say this: make sure that you DON'T have 'attachment' in the content-disposition header.

bira your original post has the headers different from the ones i quoted... had to change them from your original post to be able to download the pms

Warlord 01-24-2002 12:06 AM

I just installed it and when I try to download a pm it just takes me to a web page which contains the private message . How do i change it to the orgional version that prompted you to save it as a tet file?

Warlord 01-24-2002 10:10 PM

bump

Warlord 01-25-2002 10:33 PM

bump

Warlord 01-27-2002 12:03 AM

Okay well since no one wanted to help wittle old me, after reading this thread over again, I did some messing around with private.php and got it working the way I wanted it too. But for some reason the file name to be downloaded is private.php instead of messages.txt...

oh well...

Princeton 01-28-2002 09:43 PM

Another great hack ... thank you. Just installed with no problems.:)

DScollon 01-28-2002 10:05 PM

Fantastic feature to add to the board. Installed it with only the problem of the webpage appearing rather than the download, which I've now fixed with the help of this thread. Well done and thanks.

Regs 01-31-2002 09:07 PM

Is there anyway to hack this in such that it is only available to certain group(s)? I'd like to offer it as a 'premium'-type feature.

Cheers,

~Regs.

freehtml 02-01-2002 07:22 AM

Quote:

Originally posted by smelialichu
This is a great hack, just one problem though. When i click on download it displays the pm's in my browser and doesn't download it. i use IE 5.01 none of the other people on the board have reported the problem, ideas? I realise the problem is most likely at my end.
I am using IE 5.5 and i also encounter this...


All times are GMT. The time now is 09:23 AM.

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.01189 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete