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
  #22  
Old 04-17-2002, 08:33 PM
Harryli Harryli is offline
 
Join Date: Dec 2001
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One Problem, the text "Save as a HTML File" is not shown anywhere...
Reply With Quote
  #23  
Old 04-18-2002, 04:11 PM
Cano2 Cano2 is offline
 
Join Date: Apr 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if I understand your problem...

Did you used the optional "privbackup_header" template and now wondering about that message in the "privbackup" template?? It is included in the backup file and thus senseless (you can remove that messe form the template).

Its thought to be used, when you don't use the "privbackup_header" template then a simple html page containig the messaged shows up in the browser, and this message tells the user, what to do...

I think I schould correct the hacking instructions to make that more clear. thx

Cano2
Reply With Quote
  #24  
Old 05-01-2002, 01:14 PM
elitetrader elitetrader is offline
 
Join Date: Apr 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just want to say thanks for this hack. I have representatives of financial firms on my site who must comply with regulations that require them to keep a record of all correspondence with their clients, even private messages. This hack enabled them to do that. Thanks again!
Reply With Quote
  #25  
Old 05-16-2002, 01:12 AM
mariochiosso mariochiosso is offline
 
Join Date: May 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,
does it work with 2.2.5 release?
Reply With Quote
  #26  
Old 05-16-2002, 03:32 PM
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing is that it does not change the icon in 2.2.5 after you back it up. I have looked through the code and it does not change the field "messageread" in the privatemessage table to "4" for case 4.

Any ideas?

I tried adding this to the while statement you added to private.php:
PHP Code:
$DB_site->query("UPDATE privatemessage SET messageread=4 WHERE privatemessageid=".intval($prevmessageid)); 
Reply With Quote
  #27  
Old 05-16-2002, 10:08 PM
saibal saibal is offline
 
Join Date: May 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
I've a problem. I succefully install this hack on my backup-board but when I tried to install the same hack on my public vbulletin the page to download didn't work.

It trie to download named "private.php". The header's lines didn't work... why?

Note: in my backup-board i've only one template; in my "public" vbulletin i've 5 template...
Reply With Quote
  #28  
Old 05-26-2002, 05:54 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have the same problem as saibal
Reply With Quote
  #29  
Old 05-26-2002, 08:46 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What does "von" mean in English? Here is the line of code i found it in.

May 9, 2002, 9:10 pm von Boofos Babe.
Reply With Quote
  #30  
Old 05-26-2002, 08:53 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, is there any way to have the messages save like they are written? Like using the same formatting. I saved a message tonight that had some quotes listed in it by numbers (1..2...3, etc) and the writing when it was saved was all run together in one paragrah.

Great hack, by the way! Uninstalled the buggy one and installed this one.
Reply With Quote
  #31  
Old 05-26-2002, 09:36 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to Post #15 in this thread and do the first find and replace step and the icon will appear after you have backed up the messages.


Quote:
Originally posted by VirtueTech
One thing is that it does not change the icon in 2.2.5 after you back it up. I have looked through the code and it does not change the field "messageread" in the privatemessage table to "4" for case 4.

Any ideas?

I tried adding this to the while statement you added to private.php:
PHP Code:
$DB_site->query("UPDATE privatemessage SET messageread=4 WHERE privatemessageid=".intval($prevmessageid)); 
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 10:34 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.25438 seconds
  • Memory Usage 2,308KB
  • 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
  • (2)bbcode_php
  • (1)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