PDA

View Full Version : Users getting banned, but not really


racerhub
03-03-2007, 11:32 PM
Hi Folks,

I have tried contacting VB tech support and through their forums and haven't gotten an answer, and I'm in dire need of help.

I upgraded from 3.0.7 to 3.6.5. Users on my forum will get a message about being banned and then logs them off (message doesn't show up right away, just when it wants to). What can be causing this?

Usergroup permissions are ok. I have no mods yet.

Just looking for some input!

calorie
03-04-2007, 12:31 AM
What is the exact message that your users receive?

racerhub
03-04-2007, 12:32 AM
You have been banned for the following reason:
No reason was specified.
Date the ban will be lifted: Never

calorie
03-04-2007, 12:37 AM
Go to the vB ACP -> Usergroups -> Usergroup Manager -> Edit Usergroup and make sure "This Usergroup is not a 'Banned' Group" is set to yes except for the 'Banned Users' usergroup where it should be set to no.

racerhub
03-04-2007, 12:51 AM
That is done, and still a issue.:(

Thanks for your help though:) what other ideas do you got?

calorie
03-04-2007, 01:09 AM
The "you have been banned for the following reason" message is from the vB nopermission_banned phrase. The nopermission_banned phrase appears in the print_no_permission function found in the vB functions.php file:

if (!($vbulletin->usergroupcache["$usergroupid"]['genericoptions'] & $vbulletin->bf_ugp_genericoptions['isnotbannedgroup']))
{
// snipped stuff here generates ban reason and lift date

eval(standard_error(fetch_error('nopermission_bann ed', $reason['reason'], $date)));
}

So for some reason your users are getting inside that if statement.

Maybe your usergroupcache needs to be rebuild. Try calling the following from your browser:

http://www.your-domain.com/your-forum-dir/your-admincp-dir/index.php?do=buildbitfields

racerhub
03-04-2007, 01:30 AM
Okay did that... We'll see what happens now. Just as an FYI, these users don't actually get banned. They get the message and that's it.

I've even created new usergroups to see if it was a usergroup issue. And the new usergroups had the same problem. Only usergroup not to be effected by this is the administrators.

My question is, we had some issues when we upgraded (some files didn't upload right, but all files are right now). Could the mySQL database be the problem?

calorie
03-04-2007, 01:49 AM
Rebuilding bitfields calls the build_forum_permissions function, which updates usergroupcache and forumcache in the datastore table, so if that was the problem, it should be fixed now.

racerhub
03-04-2007, 11:55 AM
Still suffering the same issue. :(

It seems to be happening now after a while being logged in, with no pattern of what brings it up (replying, viewing profiles, etc.)

I need help ASAP as its been a week and no solution from VBulletin. Anybody willing to help me in detail, I'll make it worth their while.

E-mail me at jackley@racerhub.com . Thanks!

calorie
03-04-2007, 12:24 PM
Try contacting vB support through the ticket system: http://members.vbulletin.com/membersupport_contactform.php

racerhub
03-04-2007, 07:29 PM
Ok, I think I fixed most of the issues. We had added files which I think was interfering. VB tech support has been poor at best as I've been in contact with them.

My question is: I still don't think the correct messages are coming up.

Go to: http://racerhub.com/forum/memberlist.php

When you do that (and you're not logged in), you get a banned message. This should be a message that you should login. Is this supposed to happen?