HI,
Is there a way to add one of those graphic code boxes to the registration page to block automated spammers?
Graphic code for registration
12 posts
• Page 1 of 1
Graphic code for registrationHI,
Is there a way to add one of those graphic code boxes to the registration page to block automated spammers?
Re: Graphic code for registrationYes. I have done this for the install of webauction hosted on our servers
(e.g. http://auctions.weblite.ca/test/index.p ... gories+asc). You can use the ReCAPTCHA Xataface module to do this (http://weblite.ca/svn/dataface/modules/reCAPTCHA/trunk/). However you will likely need to update to the latest xataface for this to work (i.e. replace the dataface directory in the web auction install with the latest xataface, then add the ReCAPTCHA module). This also requires you to sign up for a recaptcha account. http://recaptcha.net/ -Steve
Re: Graphic code for registrationSteve,
I don't understand the instructions for reCAPTCHA. Your instructions say: Installation: 1. Download/extract the module directory into your xataface/modules directory. 2. Add the following to the [_modules] section of your conf.ini file. [_modules] modules_reCAPTCHA=modules/reCAPTCHA/reCAPTCHA.php Questions: There is no xataface/modules directory. Am I supposed to create this directory, and if so, where within the WebAuction directory? The conf.ini file has no [_modules] section? Thanks, Steve
Re: Graphic code for registrationIn webauction "xataface" is called "dataface". If there is no modules folder in the dataface directory, then create it.
Re: Graphic code for registrationSteve,
I uploaded the script to the dataface/modules/reCAPTCHA directory, changed permissions to 755 and the CAPTCHA does not show up on the signup page. Any ideas? thanks, Steve
Re: Graphic code for registrationIt is possible that the version of dataface/xataface that comes with web auction is older and needs to be upgraded for the ReCAPTCHA module to work.
Try downloading Xataface 1.2.x and placing it in your webauction folder (but rename it to dataface, replacing the dataface directory that is there now). Then place the ReCAPTCHA module inside the modules directory of that install.
Re: Graphic code for registrationSteve,
I upoladed Xataface 1.2.2, changed directory name to dataface etc. as you suggest. Still does not work. If I leave the modules directory in dataface/Dataface (which is how both the Web Auction download and the 1.2.2 download unzips), then I get an error that says "No such file or directory in ...path.../config.inc.php on line 242" Your instructions did not include any edit to the config.inc.php file? Suggestions?
Re: Graphic code for registrationThe xataface directory is the same as the dataface directory (lowercase). The name of dataface was changed to xataface some time ago. So your directory structure should be:
webauction/ +-- dataface/ (renamed from your xataface-1.2.2 install) +--- modules/ I'm quite sure it works because I've installed it on my local copy of web auction.
Re: Graphic code for registrationSteve,
I reloaded everything in the proper directories according to your instructions. Now I get the following errors: Warning: require_once(/home2/searchdo/public_html/uniquehouseforsale/Auction/dataface/modules/recaptcha-php/recaptchalib.php) [function.require-once]: failed to open stream: No such file or directory in /home2/searchdo/public_html/uniquehouseforsale/Auction/dataface/modules/reCAPTCHA.php on line 49 Fatal error: require_once() [function.require]: Failed opening required '/home2/searchdo/public_html/uniquehouseforsale/Auction/dataface/modules/recaptcha-php/recaptchalib.php' (include_path='.:/home2/searchdo/public_html/uniquehouseforsale/Auction/dataface:/home2/searchdo/public_html/uniquehouseforsale/Auction/dataface/lib:/usr/lib/php:/usr/local/lib/php') in /home2/searchdo/public_html/uniquehouseforsale/Auction/dataface/modules/reCAPTCHA.php on line 49 I have no doubt it works, but there is still something on my site that is incorrect. I suspect these error codes say exactly what it is, but I don't know how to fix it. I don't know where .../recaptchalib.php is or the requirement is coming from or the path to ...dataface/lib:/usr/lib/php:/usr/local/lib/php thanks for your support, Steve
Re: Graphic code for registrationWhat does your conf.ini file look like (just the _modules section)?
-Steve
Re: Graphic code for registrationSteve,
There was no modules section in my conf.ini file, so I added: [_modules] modules_reCAPTCHA=modules/reCAPTCHA.php [reCAPTCHA] public_key="XXXX" private_key="XXXX" ..however, I do not know the correct format or where it should go.
Re: Graphic code for registrationHere is a sample from one of my conf.ini files:
(Make sure you replace the public_key and private_key with your own keys. Note the path difference in the _modules section. I think your path is wrong i.e. it should be modules/reCAPTCHA/reCAPTCHA.php not modules/reCAPTCHA.php -Steve
12 posts
• Page 1 of 1
Return to Web Auction Discussion Who is onlineUsers browsing this forum: No registered users and 19 guests |