XF 1.5 No Ban Link for Certain Users

Steve F

Well-known member
We have 2 users that do not have a ban link, either on the member card or profile.

These users were imported from an old XF forum we had and on there they were moderators. On the current forum they are not moderators but are in 2 groups, Registered and the other is simply a group to give access to certain nodes.

Is it a possible bug?
 
It certainly sounds like the moderator flag is still set.

What happens if you promote them to moderator and then demote?
Does the ban option then appear?
 
I thought of doing the same but didn't because I figured it may be useful to leave it in case someone wanted to look deeper into it.

Can certainly try if needed.
 
As Paul says, it could be the is_moderator flag, which is in the xf_user table.

Is it set to 1 for these two users?

I assume those users don't appear in the xf_moderator table?
 
Ok and this was an XF to XF import?

When were they actually removed as moderators? Before the import or after? Or did something go wrong in between?
 
It's been quite a while so I'll need to investigate. I'm almost certain they were still moderators on the db that was being imported to the current db. I have the old db setup on my localhost but I'm out right now so will need to check it later.
 
Top Bottom