Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Location
    Stoke-on-Trent, Staffordshire. UK
    Posts
    131
    Plugin Contributions
    0

    application error Installing old Google ReCaptcha addon - ZC1.50

    Hello.
    I recently began creating a new site based on the 1.50 version of Zen. To prevent spam and automated account creations, etc, I have always used Googles Re-Captcha, however I was surprised to see that It was not yet posted as being updated for 1.50. There are other possible add ons that could be used however, I have always felt Recaptcha was one of the best. Also Recaptcha settings are built into a couple of other add-on modules I use, so it would be nice to keep it.
    Im sure that this is a very popular module and was wondering if anyone had, or had any information on how to, install Recaptcha successfully within ZC1.50.
    Any help at tho point is highly appreciated. Thank you!
    Visit Andy's Motorcycles
    www.andysmotorcycles.com
    Motorcycle & Scooter Parts, Spares & accessories

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Installing Google ReCaptcha addon - ZC1.50

    I may be speaking out of turn but I can't actually see any reason why this would not work with 1.5.

    Except the obvious about not being able to see the admin pages. That being the case you should be able to register the admin pages using the feature in the admin access menu.

    Or you can create a new entry in the admin_pages table using phpMyAdmin by just copying and editing one of the existing configuration tables.

    Or even better you can work out how to change the sql statement so that an admin page is created when it is run and then if it all works re-submit the module as working with 1.5 and you have made your first contribution

    To do that you would add something like:

    Code:
    SELECT (@sort_order:=MAX(sort_order)+1) FROM admin_pages WHERE menu_key='configuration';
    INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('ConfigRecaptcha', 'BOX_CONFIG_RECAPTCHA', 'FILENAME_CONFIGURATION', CONCAT('gID=', @t4), 'configuration', 'Y', @sort_order);
    to the end of the sql statement.

    You would also need to create a new language file which defined the new constant BOX_CONFIG_RECAPTCHA. Somehting like:

    Code:
    <?php
    
    define('BOX_CONFIG_RECAPTCHA', 'Recaptcha Settings')
    And that will get saved with any file name you want in admin/includes/languages/english/extra_definitions

    I am doing this off the top of my head so there may be errors in there so back up everything before you give it a whirl
    Last edited by niccol; 28 Feb 2012 at 07:41 PM. Reason: error

 

 

Similar Threads

  1. v150 Support Thread for Google reCAPTCHA plugin
    By David Allen in forum All Other Contributions/Addons
    Replies: 689
    Last Post: 26 Apr 2026, 09:54 PM
  2. reCaptcha addon not showing in page
    By ewramos in forum All Other Contributions/Addons
    Replies: 48
    Last Post: 29 Dec 2016, 08:25 PM
  3. Replies: 4
    Last Post: 27 Feb 2016, 12:43 PM
  4. Google NEW (2014 version) reCAPTCHA 2.0
    By marcopolo in forum General Questions
    Replies: 0
    Last Post: 14 Jun 2015, 06:54 PM
  5. Problems after installing / uninstalling recaptcha
    By RicM in forum General Questions
    Replies: 3
    Last Post: 24 Apr 2011, 08:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg