Hello Overgrow,
I wanted to run the SELECT query you suggested to see who the most ignored user was. So I created a file called most_ignored.php. It looks like this:
Code:
<?php
chdir($DOCUMENT_ROOT);
require($DOCUMENT_ROOT . "global.php");
$loggedins=$DB_site->query_first("SELECT user,ignorelist FROM user WHERE ignorelist !=''");
$user=$loggedins[user];
echo "$user";
?>
But I get this error:
Code:
Database error in vBulletin: Invalid SQL: SELECT user,ignorelist FROM user WHERE ignorelist !=''
mysql error: Unknown column 'user' in 'field list'
mysql error number: 1054
Date: Wednesday 11th of October 2000 02:23:38 AM
Script: /etc/most_ignored.php
I also tried running the query in phpMyAdmin and got the same error. Any ideas?