Welcome to Geeklog, Anonymous Saturday, August 31 2024 @ 11:29 pm EDT
Geeklog Forums
Abusive Users
Anonymous
Anonymous
Is there a "log" feature in GL where you can check to see who is leaving offensive posts? I'd hate to eliminate anonymous posts but I have children reading my GL site and some of these people are really out of hand. Thanks.
4
5
Quote
Status: offline
rawdata
Forum User
Full Member
Registered: 02/17/03
Posts: 236
That info should be able in your server's logs. If those logs aren't helpful or available to you, then you can add GL logging into comment.php or whatever other file these guys are using to post on your site.
To add logging, you can put something like this:
COM_accesslog("User comment -- Story: $sid User ID: {$_USER['uid']} User Name: {$_USER['username']} IP: $REMOTE_ADDR"
;
Inside the function commentform like right below this line :
global $_TABLES, $HTTP_POST_VARS, $REMOTE_ADDR, $_CONF, $LANG03, $LANG12, $LANG_LOGIN, $_USER;
Once you do that, every time someone submits a comment you'll get a date/time stamped log entry. Then you can match the info with the offending comment. When you find their IPs, you can ban them using .htaccess. If they're really a pain, you can always do a reverse lookup and send a complaint to their ISP and the federal authorities. Alternatively, you can shut down anonymous posting but they may end up signing up.
Welcome to the dark side of running a site.
![Wink Wink](https://www.geeklog.net/forum/image_set/pixel.gif)
7
3
Quote
All times are EDT. The time is now 11:29 pm.
- 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