Jump to:

10997 Posts in 2731 Topics by 1822 members

All other Modules

SilverStripe Forums » All other Modules » Anti Spam Releases (Mollom, reCaptcha)

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4 5
Go to End
Author Topic: 12408 Views
  • neo67
    Avatar
    Community Member
    6 Posts

    Re: Anti Spam Releases (Mollom, reCaptcha) Link to this post

    Hi,

    thats very funny. Some hours later at home, the error does not appears.
    I think, the first error has happened, while my cache was filled with peaces of mollom, which I installed first.

    Because now, I'm on a different computer.
    So, this is like German chancellor Merkel: Wait and all things goes right! ;-)

    Greetz & thanks
    Juergen

  • Anonymous user
    Avatar
    Community Member
    8 Posts

    Re: Anti Spam Releases (Mollom, reCaptcha) Link to this post

    I'm having a problem with Recaptcha - get a blank screen instead of a form as soon as I add the spam protection field into the form - it does show up as a specialy named field. If I delete the field and save page the form comes back again.

    in mysite/_config.php I have :

    // set up recapture to keep the idiots out
    RecaptchaField::$public_api_key = "ABCetc";

    RecaptchaField::$private_api_key = "ABCetc";

    SpamProtectorManager::set_spam_protector('Recaptcha'); <--not sure if this is right but also tried ('RecaptchaSpamProtection') but it made no difference.

    Installed the spamprotection and Chillu-Recaptcha modules and done the dev/build?flush=1

    The docs in Span Protection (Install) sucked big time -s topped at the start of section 4. <sigh!>

    Can anyone help as I seem to have a pesky bot filling submitting random data filled forms.

    Cheers
    Pete

  • Xurk
    Avatar
    Community Member
    50 Posts

    Re: Anti Spam Releases (Mollom, reCaptcha) Link to this post

    Well, the only difference I can see in the code you have in mysite/_config.php compared to mine (which is functioning properly), is the following line:

    SpamProtectorManager::set_spam_protector('RecaptchaProtector');


    Have you given that a try yet?

  • Anonymous user
    Avatar
    Community Member
    8 Posts

    Re: Anti Spam Releases (Mollom, reCaptcha) Link to this post

    Hi Xurk

    Thanks for your response.

    Yes, I did try using just the single quote first but it made no difference.

    Really strange situation. Anything else I can provide that might give a clue.

    Cheers
    Pete

  • bettsaj
    Avatar
    Community Member
    46 Posts

    Re: Anti Spam Releases (Mollom, reCaptcha) Link to this post

    Just installed Mollom. and can't appear to get it to work. This is what I have done so far:

    Downloaded and installed the latest release of spamprotection module.
    Downloaded and installed the latest release of mollom.
    Launched Dreamweaver and downloaded the _config.php file, opened it up in Dreamweaver and added this code to the file:

    Mollom::setPublicKey('public-key');
    Mollom::setPrivateKey('my private key');
    SpamProtectorManager::set_spam_protector('MollomSpamProtector');

    after that the _config.php file looked like this:

    <?php

    LeftAndMain::require_javascript('userforms/javascript/FieldEditor.js');
    LeftAndMain::require_css('userforms/css/FieldEditor.css');
    Mollom::setPublicKey('my public-key');
    Mollom::setPrivateKey('my private key');
    SpamProtectorManager::set_spam_protector('MollomSpamProtector');

    ?>

    Obviously I changed the keys to what I got off the Mollom website after registration. I then uploaded the newly configured _config.php file to the server.

    Now when i log into the CMS and check the Mollom report i get the message "Mollom Key Status
    You have not configured your key. Please add it to mysite/_config.php."

    I know I have added it, I've double checked it, deleted it and then re-uploaded twice now and still no luck. any ideas what I may be doing wrong??

  • AhYap
    Avatar
    Community Member
    12 Posts

    Re: Anti Spam Releases (Mollom, reCaptcha) Link to this post

    try to make sure the code below is added into _config.php under the folder mysite

    Mollom::setPublicKey('public-key');
    Mollom::setPrivateKey('my private key');
    SpamProtectorManager::set_spam_protector('MollomSpamProtector');

    12408 Views
Page: 1 2 3 4 5
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.