Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
private messages backup hack Details »»
private messages backup hack
Version: 1.00, by Cano2 Cano2 is offline
Developer Last Online: Dec 2002 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-07-2002 Last Update: Never Installs: 53
 
No support by the author.

This hack allows users to backup their private messages to a local file.

I know that there exists allready a very similar hack (https://vborg.vbsupport.ru/showthrea...=&pagenumber=1 ) but it contains a serious bug, which allows every users to read everybodys private messages (details see link).

Aditionally this hack works with templates and has some enhanced functionality.

This hack is succesfully tested with a fresh install of vBulletin 2.2.4

I post it here, not as a full release, because of the unclear situation (im new to this board...).

@mods Please excuse me, and move this thread, if you think it's located better elsewhere

lates, Cano2

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 09-12-2002, 06:22 AM
Odil Odil is offline
 
Join Date: Apr 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I have only one problem with this hack, it displays the html page with all the messages on it as it's supposed to do, but at the top, I get a parse error:

Parse error: parse error, unexpected $ in C:\DDVBBoard\upload\private.php(188) : eval()'d code on line 4

This is using vB version 2.2.6 on a Windows 2000 server.

Any suggestions?

Odil
Reply With Quote
  #63  
Old 10-02-2002, 03:43 AM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man, I thought I was loosing my mind, I installed it per the instructions, but then the icon wasn't showing up, so I read through the whole thread and followed adding those two lines of code to update the icon.

Then I couldn't get the window to popup no matter what I did... It would download it, but not let me save anywhere... I finally found out what the bug was...

Edit the "privbackup_header" header and change the line from:
PHP Code:
header("Content-disposition: filename=pnbackup_$date.html"); 
To:
PHP Code:
header("Content-disposition: attachment; filename=pnbackup_$date.html"); 
Note the inclusion of "attachment;", that fixed my problem and the window pops up to save!
Reply With Quote
  #64  
Old 10-23-2002, 03:52 AM
Exo's Avatar
Exo Exo is offline
 
Join Date: Nov 2001
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Schorsch
Hi Cano2,

I installed the optional feature, but it doesn't work correctly, it always downloads a file called "private.php" (look at the attachment).

I use Windows 2000 and MS Internet Explorer 5.5

what's wrong and how can I get this working ?

thanks,
Schorsch

ya i have the same, only private.php
Reply With Quote
  #65  
Old 10-23-2002, 02:33 PM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by eoc_Jason

Edit the "privbackup_header" header and change the line from:
PHP Code:
header("Content-disposition: filename=pnbackup_$date.html"); 
To:
PHP Code:
header("Content-disposition: attachment; filename=pnbackup_$date.html"); 
Note the inclusion of "attachment;", that fixed my problem and the window pops up to save!
Cool ... but the $date doesn't write the timestamp on the end of the file!
Reply With Quote
  #66  
Old 10-23-2002, 04:41 PM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind ... I fixed it!

Installed and running good!
Reply With Quote
  #67  
Old 10-23-2002, 08:13 PM
Exo's Avatar
Exo Exo is offline
 
Join Date: Nov 2001
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone help me i dont want this private.php!
Reply With Quote
  #68  
Old 11-03-2002, 02:16 AM
Exo's Avatar
Exo Exo is offline
 
Join Date: Nov 2001
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*UP*
Reply With Quote
  #69  
Old 01-02-2003, 11:16 AM
Larz Larz is offline
 
Join Date: Jun 2002
Location: Copenhagen, Denmark
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parse error: parse error in D:\http\GamesDebat.jubii.dk\private.php(189) : eval()'d code on line 1

Someone? Anyone?
Reply With Quote
  #70  
Old 01-09-2003, 09:58 PM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having an issue with the fact that when I select all to backup, the first five don't appear (I have installed the code to display by date). What's up?
Reply With Quote
  #71  
Old 01-23-2003, 09:42 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gotta say, pretty cool hack. The only problem, as others have said, is the .php file extension. Mozilla gets the .html file ok, IE gets .php extension. Hoping someone can help out here...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:22 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.04919 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete