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.

Status: offline

jcz

Forum User
Chatty
Registered: 01/29/02
Posts: 39
You should turn off the ability to make anonymous comments/posts in config.php. Then you will be able see who is posting.

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"Wink; 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.