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
  #42  
Old 06-10-2002, 01:35 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just found a possible bug here. If someone sends you a message with the [disable]
Code:
 and
[/disable] tags in it, if messes eveything up in the message instead of just doing the code itself. I don't know about PHP yet but I was sent some code for a message box and it tried to draw it in the message and had line breaks and all sorts of screen garbage in the saved message. Just though you should know.
Reply With Quote
  #43  
Old 06-10-2002, 07:15 PM
Xelation's Avatar
Xelation Xelation is offline
 
Join Date: Jan 2002
Location: Buffalo, New York
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just installed and has tested perfect for 5 users, Great Hack!
Reply With Quote
  #44  
Old 06-16-2002, 01:10 PM
Cano2 Cano2 is offline
 
Join Date: Apr 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@saibal: That sounds strange. Did you opened it with the same Browser ('cause browsers behave very different)? Are the pnbackup_header templates identical? I can't mind an other reason for that. If you want, you can contact me via pm or email, and I will help you tracking down the problem.

@Boofo:
"von" just means "from"

What you have found is a general problem I'm fighting with: The name "backup" normally implies that all relevant information is saved, and that it can be restored (which will be possible in the next release). vB does some extra processing to make the pm's look pretty. Of course you want the backup looking pretty too, but much of this processing can't be reversed, so restoring ain't possible anymore.
On the other hand, this hack is designed to be flexible and fit everybody's needs. For that reason it's template based, and you can chose wich filetype the backup should be. But how the messages have to be processed so that they look pretty depends heavily on that filetype. HTML ist of course the most popular filetype, so I can include as switch in the admincp which enables processing for html output (at least that which can be reversed), but I haven't found a real good solution for that yet (suggestions are allways welcome ).

Cano2
Reply With Quote
  #45  
Old 06-16-2002, 05:23 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cano2,

Please see post #41 above again. I edited it so the tags I was trying to show you show up now. Would there be a way to do the same thing during backup so it doesn't show the messes when using those tags? Maybe using the Disable vbcode hack that Firefly wrote? If there was a way to parse that before saving, then that would at least keep it from getting messed up in the backup process. Just a thought (although not a very good one, I'm afraid).

Quote:
Originally posted by Cano2
Boofo:
"von" just means "from"

What you have found is a general problem I'm fighting with: The name "backup" normally implies that all relevant information is saved, and that it can be restored (which will be possible in the next release). vB does some extra processing to make the pm's look pretty. Of course you want the backup looking pretty too, but much of this processing can't be reversed, so restoring ain't possible anymore.
On the other hand, this hack is designed to be flexible and fit everybody's needs. For that reason it's template based, and you can chose wich filetype the backup should be. But how the messages have to be processed so that they look pretty depends heavily on that filetype. HTML ist of course the most popular filetype, so I can include as switch in the admincp which enables processing for html output (at least that which can be reversed), but I haven't found a real good solution for that yet (suggestions are allways welcome ).

Cano2 [/B]
Reply With Quote
  #46  
Old 06-30-2002, 07:05 PM
ladyfyre's Avatar
ladyfyre ladyfyre is offline
 
Join Date: Nov 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can this hack be edited to send the HTML page via email to the user instead of downloading it?
Reply With Quote
  #47  
Old 07-03-2002, 07:54 PM
Cano2 Cano2 is offline
 
Join Date: Apr 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea, that sounds interesting.. another new feature for the next release (i'm working on it..)
Reply With Quote
  #48  
Old 08-03-2002, 03:49 AM
Schorsch's Avatar
Schorsch Schorsch is offline
 
Join Date: Jul 2002
Location: Germany
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #49  
Old 08-03-2002, 05:10 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to have it so when you checkmark the All Messages box that it will show the checkmarks in the individual messages checkmark box? And also have it for use on the other options at the bottom of the page there next to the Backup button?
Reply With Quote
  #50  
Old 08-03-2002, 03:11 PM
saibal saibal is offline
 
Join Date: May 2002
Posts: 6
Благодарил(а): 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
wow... unfortunely i'm not the only one...
Reply With Quote
  #51  
Old 08-21-2002, 05:22 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cano2, are you still planning on upgrading this great hack? Haven't heard anything on it for a while.
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 03:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07975 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
  • (1)bbcode_code
  • (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