• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 No Ban Link for Certain Users

Steve F

Well-known member
#1
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?
 

Brogan

XenForo moderator
Staff member
#2
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?
 

Steve F

Well-known member
#3
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.
 

Chris D

XenForo developer
Staff member
#4
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?
 

Chris D

XenForo developer
Staff member
#7
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?
 

Steve F

Well-known member
#8
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.