| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5897|Reply: 9
Collapse the left

it is not allowing my friend to log in :Says banned

[Copy link]
Post time: 2012-10-23 13:42
| Show all posts |Read mode
Edited by ravipratap95 at 2012-10-24 10:49

At the time after login it says:
site base settings:

Sorry, your account or IP address is banned you can not access the site.




i check my admin panel..his account is not banned,his user group is fine,also his ip is not banned




and when i tried logging into his id from my pc..it said the same.........Wonder why.
 Author| Post time: 2012-10-23 19:04
| Show all posts
Vot where are you please help its ultra urgent.

 Russia

Post time: 2012-10-24 07:18
| Show all posts
Check the user Group ID.
The group ID=6 is banned for access by default.
 Author| Post time: 2012-10-24 09:07
| Show all posts
vot replied at 2012-10-24 08:18
Check the user Group ID.
The group ID=6 is banned for access by default.

sorry i did not understood what you said........can you please explain it a bit vot.or should i pm you the login details of the user and the admin.so you can check  [if you are free]
 Author| Post time: 2012-10-24 09:10
| Show all posts
Edited by ravipratap95 at 2012-10-24 10:12
vot replied at 2012-10-24 08:18
Check the user Group ID.
The group ID=6 is banned for access by default.

dou you mean the user group id of admin panel >user groups....hmmmm   his current user group ids Lord [id 21]
i checked for ip ban its 6


also i changed the ip banned id settings to normal access insted of banned.but still it was the same....he cannot access the site.same message.
 Author| Post time: 2012-10-24 09:49
| Show all posts
vot replied at 2012-10-24 08:18
Check the user Group ID.
The group ID=6 is banned for access by default.

thanks VOT problem is solved.......the user group LORD was having its settings as Forbidden.....MY fault.......


Thanks.FOr YOur hep.
Post time: 2012-10-24 09:56
| Show all posts
hi,
look at so base  .sql because user problem login after no ?

idea ... ? yes no ?

if resolved good job, thank you Vot

 Russia

Post time: 2012-10-24 13:25
| Show all posts
It is because of hardcoded access disabling for all the users having group_id=6,
instead of looking for this group permissions

For x2.0 see /source/class/class_core.php, line #527:
  1.                         if($this->session->get('groupid') == 6) {
  2.                                 $this->var['member']['groupid'] = 6;
  3.                                 sysmessage('user_banned');
  4.                         }
Copy the Code


For x2.5 see /source/class/discuz/discuz_application.php, line #501:
  1.                         if($this->session->get('groupid') == 6) {
  2.                                 $this->var['member']['groupid'] = 6;
  3.                                 sysmessage('user_banned');
  4.                         }
Copy the Code

 Vietnam

Post time: 2013-08-26 08:22
| Show all posts
vot 2012-10-24 14:25
It is because of hardcoded access disabling for all the users having group_id=6,
instead of looking  ...

Thanks vot so much
What file need edit in discuz 3.0???
Please reply.

Regards.

 Russia

Post time: 2013-08-26 10:15
| Show all posts
What file need edit in discuz 3.0?

The same as for x2.5.
But we DO NOT NEED to change any code!
We can simple NOT USE the user group with the ID=6 for any our own goals.
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-21 23:56 GMT+3 , Processed in 0.089704 sec., 10 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list