UndefinedOffset / silverstripe-nocaptcha

A spam protector and form field using Google's reCAPTCHA v2 or optionally a foundation v3 implementation
BSD 3-Clause "New" or "Revised" License
31 stars 37 forks source link

Just Comments #1

Closed hadleelineham closed 9 years ago

hadleelineham commented 9 years ago

Hello I did try and do the composer install but it didn't work

nocaptchaerror

so used the download install which worked. just some feed back to make it easier for other users to install

make new file in mystie/_config and call it spamprotecttion.yml

name: spamprotection

FormSpamProtectionExtension: default_spam_protector: NocaptchaProtector

Also just to tell them to put the NocaptchaField configuration in the mysite/_config/config.yml

Other than this really good Thanks Hadlee

UndefinedOffset commented 9 years ago

Hmm composer seemed to work fine for me with the latest version of composer which is confusing. Do you already have a requirement for spam protection? Also what is your minimal stability?

hadleelineham commented 9 years ago

o ok that is weird it may have been me. ill try again. ill try a composer update. and yes i already had that installed. and i am running 3.1

UndefinedOffset commented 9 years ago

If it doesn't work can you post your composer.json from the sites root?

hadleelineham commented 9 years ago

{ "name": "silverstripe/installer", "description": "The SilverStripe Framework Installer", "require": { "php": ">=5.3.2", "silverstripe/cms": "3.1.", "silverstripe/framework": "3.1.", "undefinedoffset/sortablegridfield": "dev-master", "silverstripe/userforms": "dev-master", "silverstripe/forum": "0.7.x-dev", "silverstripe/googlesitemaps": "", "silverstripe/spamprotection": "dev-master", "silverstripe/event-calendar": "dev-master", "silverstripe/mollom": "dev-master", "silverstripe/mathspamprotection": "dev-master" }, "require-dev": { "silverstripe/behat-extension": "", "silverstripe/buildtools": "", "phpunit/phpunit": "3.7." }, "minimum-stability": "dev" }

the composer install still doesn't work

hadleelineham commented 9 years ago

fixed it it needs to run with spam protector 1.2.0

UndefinedOffset commented 9 years ago

Ya the module has a composer requirement for version 1.2.* to match the 1.2.0 tag of spamprotection I guess they don't have master aliased as such.