Quote:
Originally Posted by The Realist
I have just logged into my forums as the test banned user and the page text says:
You do not have permission to access the forums, because you are temporarily banned, until the 01-01-1970.
1970 where does that come from?
Brian
My bannibg.php file says:
Looks ok to me or am I missing something? but when ever I have ran a query I have had to remove the words TABLE_PREFIX would this have anything to do with it?
|
When you run a query manually, you have to remove the "TABLE_PREFIX" thing, or replace it with whatever table prefix you are using, if you are using one. That's strange, the file looks OK, why don't the bans appear in the View Banned users?????
As for the date, first make sure you have edited file functions.php per the instructions. But if your banned user is not in the userban table, it will not show the date properly, because the program can't find any date for that user.
Do me a favor, ban a user using AWS and see if the same thing happens when he tries to log in.
Rgds