The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
private messages backup hack Details »» | |||||||||||||||||||||||||
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
|
Comments |
#12
|
|||
|
|||
Parse error: parse error in c:\program files\nusphere\apache\htdocs\forums\private.php(18 1) : eval()'d code on line 1
|
#13
|
||||
|
||||
The error is not in that line but in the code it's trying to evaluate (i.e the template).
|
#14
|
|||
|
|||
right.. the error is probably in the privbackup_header template (witch has to be valid phpcode)
Cano2 |
#15
|
|||
|
|||
"Added a new status symbol for PMs wich indicates, which messages are allready backed up."
good work.. but can you add different graphics? (forward&save, replay&save)? this would be very useful... |
#16
|
|||
|
|||
For those who are updating from the previous version:
******************** open private.php ******************** search for: eval(gettemplate("privbackup_header",0)); eval("dooutput(\"".gettemplate("privbackup")."\"); "); //and run everything through the template ******************** after it insert: //set status to "backed up" $DB_site->query("UPDATE privatemessage SET messageread=4 WHERE $cond"); ******************** search for: eval(stripslashes(gettemplate("privbackup_header") ); ******************** replace with: eval(gettemplate("privbackup_header",0)); ******************** download the new hack, and move pmbackedup.gif to /images @lou thx.. to add the support for more icons is not a problem, but to create the icons ( 16x16 ist not much space ...). I'll do my best lates Cano2 |
#17
|
||||
|
||||
Also, when updating from the previous version, make these changes too:
********************************* search for: PHP Code:
right after it insert: PHP Code:
|
#18
|
|||
|
|||
hoops.. thx. Dunno where I have lost my brain today.
|
#19
|
|||
|
|||
Hi Cano2
I have just installed this great hack on my Board and it seems to work fine. I have just one little question: I'm working with Mac OS X 10.1.3 and after I download my pm's, I find a file called "private.php" on my desktop, which contains the private messages. But before it can opened in a Browser, I must change the File-Extension every time manualy to "private.html". Is there a way to have the correct Extension (.html) after Download by default? |
#20
|
|||
|
|||
hm. I doesn't have a mac, so I can't test it, but i'm sure its because of the headers in the "privbackup_header".. although the behaviour for the "Content-Disposition" header is clearly defined in the http-rfc, every browser behaves different. These headers were the best I found, but I will search again for a way to tweak these headers.
btw: which browser(s) are you using? Cano2 |
#21
|
|||
|
|||
First, thanks for your reply. I use OmniWeb 4.1 (a Mac OS X only Browser) and MS Internet Explorer 5.1.3 for Mac OS X.
Let me know, if you find a solution. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|