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)

DarkReaper 11-27-2001 01:53 AM

Works great except for one thing:

When I click download, it saves it as private.php instead of messages.txt :confused:

grumpy 11-27-2001 07:46 PM

Quote:

Originally posted by DarkReaper
Works great except for one thing:

When I click download, it saves it as private.php instead of messages.txt :confused:

Me too... It says it is going to save as private.php but if you save it, it will actually save as messages.txt. Odd for me though, as the first time I tried it it stated that it was going to save it as messages.txt. I decided to change the private.php so it would say forummessages.txt instead, and then it gave me that odd message. I changed it back to just messages.txt but it still says private.php when you attempt the dowload.

bira 11-27-2001 10:07 PM

REMOVE THE WORD 'ATTACHMENT'

I don't know why someone gave you the advice to change the content-disposition header to attachment type. THIS IS NOT AN ATTACHMENT.

Make sure the header line is:

PHP Code:

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

And you will be prompted to save messages.txt (or whatever filename you gave).

DarkReaper 11-27-2001 10:27 PM

It still says private.php :(

bira 11-27-2001 10:58 PM

What browser/version are you using?

DarkReaper 11-27-2001 11:22 PM

IE 5.5

grumpy 11-27-2001 11:26 PM

removing the reference to attachments worked for me, it refers to the download as message.txt

bira 11-27-2001 11:27 PM

I have IE 5.5 and this is what I get:

https://vborg.vbsupport.ru/

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.

DarkReaper 11-27-2001 11:29 PM

I have that. Try it for yourself...

http://www.unrealtournament.org/forums/private.php?s=

bira 11-27-2001 11:33 PM

I can't try it -- I don't have access to your board and don't have PMs there :)

Do you have a testing account I can use? You can PM me the details if you like.

You can also e-mail me at goren@atlasf1.com your private.php file and I'll take a look at it


All times are GMT. The time now is 06:44 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.01206 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (1)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