Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 08:01 pm EST
Geeklog Forums
Banning a user on Geeklog
barrywong
destr0yr
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
Robin
Geeklog Polish Support Team
barrywong
rawdata
$_CONF['submitloginrequired'] = 0;
$_CONF['commentsloginrequired'] = 0;
Once a logged-in person needs a time-out, I think you should be able to suspend his posting privileges by going into the User Editor and removing the check by "Logged-in Users" under his name. I haven't tested this out, but if it doesn't work, then you ought to submit a bug report so it gets fixed. If you are allowing anonymous posting, then you can use .htaccess to ban his IP which won't work too long if he's assigned a dynamic one.
barrywong
rawdata
After looking thru the code, I think this is more of a feature request than a bug. The script checks whether the visitor has a valid logged in username and not whether he is in the \"Logged-in Users\" Group like I assumed. What I suggested definitely won\'t work as you confirmed. Sorry.
I created a hack though to give basic banning capability. You can download it here and try it out on your system. It works fine on my test site, but let me know if you run into any bugs. Basically, how it works is you create a new user group named \"Banned\" and add offenders to it. If the person being banned is logged in or has cookies set to log in later, the script will forcibly log him out the very next time he tries to access a function which you have set for registered users only. Once logged out, he won\'t be able to get back in again under that username until you remove him from the Banned Group. This should help a little in containing your problem kids.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content