The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I have a simple script I am testing and it says ok but when I go to my phpadmin browse it shows no changes. I am running this as a scheduled task from the cron folder. I have also tried without the check for null and still said ok. All help appreciated. Thanks.
Code:
<?php
error_reporting(E_ALL & ~E_NOTICE);
if ($DB_site == NULL)
{
exit;
}
$DB_site->query("
UPDATE " . TABLE_PREFIX . "user
posts = 0, reputation = 0
");
?>
|
|
#2
|
|||
|
|||
|
The query will reset everybody's post count and reputation level. Is that correct?
|
|
#3
|
|||
|
|||
|
Quote:
:ninja: |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|