Recaptcha Adjustment for after image upload

ClassiBase classifieds script Forums Presale questions Recaptcha Adjustment for after image upload

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  ClassiBase 2 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1786 Reply

    Cumhur
    Participant

    Hi CB,
    I wonder how can I replace the Recaptcha location? For example, Recaptcha shows right before image upload on post page. I want to use captcha after all for my CB website, How can I move it to after image upload?

    #1790 Reply

    ClassiBase
    Keymaster

    depending on theme you are using edit file located in /user-content/themes/THEME_NAME/views/post/ folder, posdata.php or _postdata.php file.

    Move captcha code below image upload code.
    This is captcha code:

    // display captcha
    echo $captcha_render = Captcha::render('<tr class...</tr>');
    if(!$captcha_render)
    {
    $tr--;
    }

    This is image upload code:

    // image upload fields
    $ad_image_num = Config::option('ad_image_num');
    if($ad_image_num > 0)
    {
    	...
    }// $ad_image_num>0
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Recaptcha Adjustment for after image upload
Your information:




This entry was posted on by .