Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unbanning - Is this a bug or not?

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, didn't want to use the bug tracker, as I'm not sure this is actually a bug. I may be missing something, so I wanted to ask before I reported it.

I'm using the most recent 2.1.7. If I ban a user, then unban them, the only way that user can access the forum is if I restart JForum. I'm assuming this is a cache issue, but I've tried clearing everything in the admin cache section, and the user still can't login.

Am I missing something, or is this an issue?
[originally posted on jforum.net by lscardin]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hhm... it is working fine for me, as far as I tested.

What I did:

:arrow: Admin Panel -> Users -> [search] -> Lock
:arrow: Tried to log in user that user - it is blocked
:arrow: Admin Panel -> Users -> [search] -> Unlock
:arrow: Log in now works.

Rafael


[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rafael, lscardin,

I think you're talking about two different things. I'm currently evaluating JForum (amongst others) for use on our company's web site, and as I was playing around with it, I stumbled across the same thing.

LOCKING/UNLOCKING works fine, as Rafael described.
UNBANNING doesn't seem to work as I'd expect, though.

Steps to recreate:
1. Log in as admin, find user ID of the user you want to ban.
2. Admin panel -> Banning -> add "Ban by User ID" with that user ID.
3. Open new browser, try to log in as the user you just banned. Message shows saying "You're banned". Fine.
4. Log back in as admin, go to Adminpanel -> Banning -> remove the ban you added.
5. Open new browser window, try to log in as "unbanned" user. You're still banned.

This is the case even after deleting all session cookies and the session data in the cache of JForum.

Restart JForum - user can log in again.

As lscardin said, we might be missing something here, or it might be an issue - you decide...

Cheers,

f.

[originally posted on jforum.net by fsattler]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same issue.
[originally posted on jforum.net by Ref107]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, registered as bug:

http://www.jforum.net/jira/browse/JF-639

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bug fixed.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Locking users itself doesn't work. Once a user has joined the forum, there is no way to prevent that user from logging in, short of going into the database and deleting the row, and doing that leaves orphaned posts.

[originally posted on jforum.net by CaliforniaCCW]
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic