![]() |
$db->query_write("DELETE FROM " . TABLE_PREFIX . "visitormessage");
Try that for me please. Thanks, Paul. |
Another error:
Fatal error: Call to a member function on a non-object in /home/user/public_html/forum/includes/cron/visitormessagedelete.php on line 15 Regards Jason :) |
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "visitormessage");
Been given help with this one so hopefully should work. Thanks, Paul. |
Shouldn't there be a * in there?
|
I thought the same, but according to this SQL article i'm reading apparently not, but it wouldnt hurt to try and put one in.
Thanks, Paul. |
I have not started to use vb 3.7 just yet, however looking at some good hacks to install for when I do. Just wondering if there is an underlying reason that one would want to use this hack.
Thanks. |
Quote:
thanks, Paul. |
Quote:
|
Think of the space you could free...
I'm going to be disabling it, then running it every so often. I'll always let me members know, however. This just makes it easier for you just to click and boom -- all vm's are gone! Regards Jason :) |
Paul, I got it working -- I used the following:
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "visitormessage"); Sorry for the confusion, it was very late last night :p Regards Jason :) |
All times are GMT. The time now is 06:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|