HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Unbanning yourself? :P

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#41538 (In Topic #9304)
Joe
Avatar

Honoured member

Well the story is I have a "trusted" group who has access to mostly everything, except the Adminzone. Turns out some of the users in this group are untrustworthy, in which I have just recently discovered, and somehow they gave themselves Adminzone access (god knows how they did this) and banned all members from the ocPortal section of the site (excluding the forums).

So now I have hundreds of angry members because they cannot get access to edit content on the site. Weird thing is you only receive the "you're banned" error when logging in, so the bans must be done by either usergroup or membername, else they would get the same error when not logged in (I would assume).

I tried searching in the database to find a table pertaining to bans, but unfortunately there isn't one. I don't seem to be having any luck actually searching moreover because I don't know what I'm searching for. :P

I don't suppose anyone knows where bans are stored in the database? I tried contacting Chris but he must be busy lately as he hasn't responded.

Back to the top
 
Posted
Rating:
#41539
Avatar

Check the f_members table. I believe there's a field called m_is_banned, and it should be set to 0.

It is advised that you undertake a complete review of your permission settings when you get back into the website. ocPortal is a very powerful system, with robust layers of security, but it cannot protect you against other members who have administrator-level permissions.


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#41540
Joe
Avatar

Honoured member

Err, I'm using a 3rd party forum software (SMF). :/

Back to the top
 
Posted
Rating:
#41542
Avatar

Oh, in that case I don't think I can personally assist you (I'm not one of ocPortal's programmers). You'll probably have to wait for Chris to get back to you.

I know that ocPortal's own forum is tightly integrated into the system and is strongly recommended for that reason, but I'm not sure how ocPortal ties in with third-party forums.


Like ocPortal on Facebook:
Back to the top
 
Posted
Rating:
#41583
Avatar

Hi,

Sorry for the delay in replying.

Take a look in:
  • The ocPortal usersubmitban_member table
  • or the SMF banned/ban_items table (the name of which depends on the SMF version).

All tables mentioned above consist of rows representing bans. Each has a field indicating which member ID the ban applies to.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#41584
Joe
Avatar

Honoured member

Thanks Chris. :)

Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: