Wallpaper Script Forum » Plugins and Hacks

Mod - Recaptcha - By D4r344

(7 posts)
  1. http://www.mediafire.com/?z2apxzbmyg1vg42

    1. Upload it to your site root folder
    2. visit below site login using your google account and add your domain then click create key button https://www.google.com/recaptcha/admin/create
    3. Edit now replace keys in private.php and pucblic .php files
    4. Edit register.inc.php

    find this text (line 27)
    if (!$siteError->hasErrors()) {

    and add below code above it
    include 'private.php';

    5. Edit /templates/default/register.tpl

    Find this code

    <input type="submit" class="button" name="register" value="{l s='Register'}" />

    and add below code above it

    <?php
    include 'public.php';
    ?>

    Posted 1 year ago #
  2. Thank you d4r344!
    This mod is veeeery useful!

    Posted 1 year ago #
  3. Soshi
    Member

    I do not understand ... Why use a third-party component? if you already have a built-in CAPTCHA!

    My small Mod:

    Attachments

    1. captcha_on_register.txt (1 KB, 46 downloads) 1 year old
    Posted 1 year ago #
  4. aliosa
    Member

    Could you tell us how to add recaptcha on add wallpaper page pls.

    Posted 1 year ago #
  5. 1. edit wallpaper.tpl (template folder)
    search for this

  6. <input type="submit" class="button" name="save_btn" value="{l s='Save'}" />
  7. add below code above it
    <?php
    include 'public.php';
    ?>

    2. Edit wallpaper.inc.php (root folder)

    Search for this code
    if ($_REQUEST["category"]=="")

    add below code above it
    include 'private.php';

Posted 1 year ago #
  • @Soshi thanks

    Posted 1 year ago #
  • my user registereation is not workign
    i tried both above modules :(

    Posted 1 year ago #

  • RSS feed for this topic

    Reply

    You must log in to post.