Is the Allowed Member for specific forums stored in a cookie also? - Postet den (2010 Views)
Senior Member
bobby131313
Innlegg: 1163
1163
I just removed a member from 4 different forums, verified the entries are removed from the forum_allowed_members table in the DB, but he can still post in them. Is it stored in a cookie on his machine also? Will he have access until the cookie expires or is deleted?
   
 Sidestørrelse 
Postet den
Forum Admin
HuwR
Innlegg: 20611
20611
I don't think it's stored in a cookie
Postet den
Senior Member
bobby131313
Innlegg: 1163
1163
Odd, he was still posting when he was removed from them without a doubt. I checked directly in the DB.
I banned him totally for an hour last night then reinstated him and he hasn't posted in them since though.
Postet den
Forum Admin
HuwR
Innlegg: 20611
20611
Postet den
Senior Member
bobby131313
Innlegg: 1163
1163
Ew. So when i remove someone from a forum they will stay until they delete their cookie or it expires.
Has anyone done a mod to delete a members cookies? Is that even possible?
What really sucked is, I removed him for misbehaving. Then made a topic about it... imagine my shock when he posted in it.
Postet den
Forum Admin
HuwR
Innlegg: 20611
20611
Ew. So when i remove someone from a forum they will stay until they delete their cookie or it expires.
Yes, it is a session cookie, so until they log out.
You could do it at a stretch by adding some code that targeted a specific member and cleared their cookies, but they would need to be active at the time since only a user can actually delete their own cookies, but it wouldn't be too difficult to implement
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
Originally posted by bobby131313 Has anyone done a mod to delete a members cookies?
Yes.wrote one a year or two ago. Called it kicker or something like that. Don't remember if I posted it here though.
Postet den
Advanced Member
Carefree
Innlegg: 4224
4224
Thanks. Bobby, this should do what you need. If you tell it to "kick" a member, the next time they load a forum page, they'll be booted and their cookies deleted.
Postet den
Senior Member
bobby131313
Innlegg: 1163
1163
Thanks guys! I'll take a look at it today.
 
Du må legge inn en melding