Version: 1.00, by Cano2
Developer Last Online: Dec 2002
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.
I've gone over this hack several times and cannot figure out why I receive this message when I click the back up button:
Parse error: parse error in /home/glassmav/public_html/forum/private.php(151) : eval()'d code on line 1
Private Messages - Backup from 01-22-2004
Save this page as a HTML file and delete old private messages.
Here is the section of private.php
while (list($key,$val)=each($allfolders)) {
$thisfolder = split("\|\|\|", $val);
$foldernames[($thisfolder[0]+1)] = $thisfolder[1];
} --------> this is line151
}
//get correct folder name
if ($message["folderid"]=="0") {
$foldername = $inboxname;
I am on a Mac, OS 10 Jaguar, running 2.3 VBulletin
The first time I "backed up" I had quite a few messages, but I don't know where they were downloaded to.
I tried backing up again, but that message didn't get deleted when I checked. Do I have to manually delete them?
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
Same for me.
It works fine in Mozilla. There it will save with the correct name, pnbackup_13-02-2004.html.
But if I click on the backup button from IE under XP, it just want to save it as "private" (with the correct contents, I might add, just the wrong filename).
Any fix for this?
Edit: Just to make a follow up on my own post. If you edit the template "privbackup_header" and change the following:
PHP Code:
header("Content-type: unknown/unknown");
to:
PHP Code:
header("Content-type: text/html");
IE will at least create the correct extension to the file. Otherwise you have to do it yourself.
Installed it on 2.3.4 and it works fine except for one thing. I have installed the optional privbackup_header template but I still don't get an actual download option, I just get sent to the html page with the PM's listed on it and instructions to save it.
I need something a little more dummy proof for my users, so I need the actual save box to come up automatically. Any ideas?
Ok, weird. I installed it on one forum and got what I posted before. I installed it on the second forum (Identical instilation) and it works as it should, popping up the "Save as" box when you hit backup.