Welcome to Geeklog Monday, October 14 2019 @ 09:41 pm EDT

Geeklog Forums

Spammer and Chatterblock


Status: offline

nanvr

Forum User
Regular Poster
Registered: 02/09/02
Posts: 81
Location:Florida
A filthy spammer has caused me to cut off the comment section and disable the forum section to guests. Now he's hitting the Chatterblock on my site. I have disabled it now. Is there a way to prevent anyone except the Admin from entering info in Chatterblock. I could still keep it live if only I could enter quotes, etc.

Please advise. thanks.bloomwhereyoureplanted.com


Send Me To The Royal Wedding-http://www.royaltys.com - to enter my site.

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
You could hide the block from anonymous users.

I don't think it has a "admin only" mode, but I guess it's time that someone adds a spam filter to it (I'm not familiar with the Chatterblock's code, but it should be fairly easy to do).

bye, Dirk

newblogger

Anonymous
I've tried to change the default settings for the chatterblock block utilizing the chatterblock admin tool, and it doesn't work. I am unable to change any of the settings all i can do is disable the block. Even going into the block itself and disallowing anonymous doesn't work, because the chatterblock permissions overwrite the block perms

Status: offline

tingo

Forum User
Chatty
Registered: 05/06/02
Posts: 57
Location:Oslo, Norway
Quote by Dirk: You could hide the block from anonymous users.

I don't think it has a "admin only" mode, but I guess it's time that someone adds a spam filter to it (I'm not familiar with the Chatterblock's code, but it should be fairly easy to do).

bye, Dirk

Any pointers to spam filter examples (ie other Geeklog modules / code that uses spam filtering)?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by tingo: Any pointers to spam filter examples (ie other Geeklog modules / code that uses spam filtering)?

Grep the Geeklog code for calls to PLG_checkforSpam. Basically, you just pass the message to that function and when it returns a value bigger than 0, it's spam.

Here's a snippet from submit.php:
PHP Formatted Code
    // pseudo-formatted story text for the spam check                          
    $spamcheck = '<h1>' . $A['title'] . '</h1><p>' . $A['introtext'] . '</p>';
    $result = PLG_checkforSpam ($spamcheck, $_CONF['spamx']);
    if ($result > 0) {
        COM_updateSpeedlimit ('submit');
        COM_displayMessageAndAbort ($result, 'spamx', 403, 'Forbidden');
    }
 

bye, Dirk

Status: offline

hatric

Forum User
Junior
Registered: 19/09/05
Posts: 22
Quote by nanvr: A filthy spammer has caused me to cut off the comment section and disable the forum section to guests. Now he's hitting the Chatterblock on my site. I have disabled it now. Is there a way to prevent anyone except the Admin from entering info in Chatterblock. I could still keep it live if only I could enter quotes, etc.

Please advise. thanks.bloomwhereyoureplanted.com



Turn on the IP logging in your chatterblock. Collect the IP's of the spamming bots. You can then install the "Ban" plugin and ban the IP's of the bot's. This worked for me when I had the same problem. They can still get to your site, but they cannot post any spam.

Also, once you have the IP's, depending on your hosting service, either you or your hosting service can ban those addresses from your site completely and then they won't even reach your site. I was able to ban IP's through my sites control panel and problem solved.

hope that helps.

All times are EDT. The time is now 09:41 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