Quote:
Originally Posted by MaDCaT75
I WOULD BACK UP MY DATABASE BUT I AM NOT IN CONTROL OF THE FORUM'S SERVER
|
Look at this hack -
https://vborg.vbsupport.ru/showthread.php?t=37655 - it allows you to run a backup of your Db from the admin panel and also do a restore if anything goes wrong.
It is an excellent hack which has saved me a hell of a lot of work on several occasions.
But to ask again
has anyone tried this hack?
edit:
Ok, I have done all the code changes - as laid out in the install.txt and I came across 2 issues:
1.
Code:
FIND:
if (!isset($mailcache["$touser[templatesetid]"]['email_notify']))
REPLACE WITH:
if (!isset($mailcache["$touser[templatesetid]"]['emailsubject_notify']))
I couldn't find the
Code:
if (!isset($mailcache["$touser[templatesetid]"]['email_notify']))
and
2.
Code:
FIND:
makeforumjump();
REPLACE THE BELOW IT with THIS:
// set default value for $daysprune
if (empty($daysprune) OR $daysprune < 1) {
$daysprune = 30;
}
replace what???
apart from that everything is working ok - I am not sure (because of the two issues above) if it is perfect but if you can let me know about these two issues then thnx it has saved me a hell of a lot of work.
edit: 21:46 GMT
Ok, i have played with it a bit and there is some errors still, there is one
} which have to be deleted from both the index.php and forumdisplay.php - but can't remember where exactly sorry - think it was about line 890 - 900
Also when someone tries to vote on a poll I am getting the following error message.
Code:
Database error in vBulletin 2.3.2:
Invalid SQL: UPDATE forum SET lastpost=1064522787 WHERE forumid IN ()
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
mysql error number: 1064
Date: Thursday 25th of September 2003 08:46:27 PM
any ideas?