I've applied this change to my page, but I'm not seeing it take affect on the page.
The current
newest user is in the banned group, and when I try what the query should be from the AdminCP Execute SQL Query page, I get the right results, but when I refresh the index page, I keep seeing the banned user as the newest.
Is there anything else I need to do to get this to work correctly?
EDIT
Just as a test, I changed later lines on the page to return fixed values in the values array, like so:
PHP Code:
$values = array(
'numbermembers' => $members['users'],
'activemembers' => $members['active'],
'newusername' => "testuser",
'newuserid' => "0"
);
And it still got the banned user as the
newest user, as it's always been getting. Even putting an exit() statement in the page didn't prevent it from running.
It's the only file on the host with that function and that query, but it doesn't seem to be working, and I'm not sure why.