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)
-   -   private messages backup hack (https://vborg.vbsupport.ru/showthread.php?t=37172)

Harryli 04-17-2002 08:33 PM

One Problem, the text "Save as a HTML File" is not shown anywhere...

Cano2 04-18-2002 04:11 PM

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

elitetrader 05-01-2002 01:14 PM

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!

mariochiosso 05-16-2002 01:12 AM

hi,
does it work with 2.2.5 release? :)

VirtueTech 05-16-2002 03:32 PM

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)); 


saibal 05-16-2002 10:08 PM

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...

N!ck 05-26-2002 05:54 AM

i have the same problem as saibal

Boofo 05-26-2002 08:46 AM

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.

Boofo 05-26-2002 08:53 AM

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. :)

Boofo 05-26-2002 09:36 AM

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)); 




All times are GMT. The time now is 05:54 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.01035 seconds
  • Memory Usage 1,740KB
  • 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