test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • ramon1982 Friend
    #151099

    Hi,

    Due to an increasing bot problem I would like to use OSOLCaptcha in the register form. Now the normal way of using OSOLCaptcha won´t work as the register process is handled by a module.

    My problem is I can’t find the correct place to insert the code so it would appear inside the register form.
    [PHP]<?php
    global $mainframe;
    //set the argument below to true if you need to show vertically( 3 cells one below the other)
    $mainframe->triggerEvent(‘onShowOSOLCaptcha’, array(false));
    ?>[/PHP]

    Currently:

    I would like:

    uniquebiz Friend
    #344669

    ramon1982;178733Hi,

    Due to an increasing bot problem I would like to use OSOLCaptcha in the register form. Now the normal way of using OSOLCaptcha won´t work as the register process is handled by a module.

    My problem is I can’t find the correct place to insert the code so it would appear inside the register form.
    [php]<?php
    global $mainframe;
    //set the argument below to true if you need to show vertically( 3 cells one below the other)
    $mainframe->triggerEvent(‘onShowOSOLCaptcha’, array(false));
    ?>[/php]Currently:

    I would like:

    Should be in the opal forum as this is not a JA extension. However if you look at this you may find it useful
    Cheers Shannon

    uniquebiz Friend
    #344670

    ramon1982;178733Hi,

    Due to an increasing bot problem I would like to use OSOLCaptcha in the register form. Now the normal way of using OSOLCaptcha won´t work as the register process is handled by a module.

    Should be in the opal forum as this is not a JA extension. However if you look at this you may find it useful
    Cheers Shannon

    cicco Friend
    #353023

    <em>@ramon1982 178733 wrote:</em><blockquote>Hi,

    Due to an increasing bot problem I would like to use OSOLCaptcha in the register form. Now the normal way of using OSOLCaptcha won´t work as the register process is handled by a module.

    My problem is I can’t find the correct place to insert the code so it would appear inside the register form.
    [PHP]<?php
    global $mainframe;
    //set the argument below to true if you need to show vertically( 3 cells one below the other)
    $mainframe->triggerEvent(‘onShowOSOLCaptcha’, array(false));
    ?>[/PHP]

    ….
    </blockquote>

    Hi Ramon,
    you have to insert the PHP Code in the mod_login of your template.
    Open the default.php file located at: [root site]/templates/ja_opal/html/mod_login

    and insert the PHP code befor the submit button like this

    [PHP]
    ………………..
    <?php echo “Fields marked with an asterisk (*) are required.”; ?>
    </td>
    </tr>
    </table>
    <?php
    global $mainframe;
    //set the argument below to true if you need to show vertically( 3 cells one below the other)
    $mainframe->triggerEvent(‘onShowOSOLCaptcha’, array(false));
    ?>
    <button class=”button validate” type=”submit”><?php echo JText::_(‘Register’); ?></button>
    ………………..
    [/PHP]

    You can see that on my site: http://www.canoapolo.it

    CIAO
    CC

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  cicco 14 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum