0

i got problem in setting the reCapcha it tank auth when i try to change it theme color, the recapcha image now is showing on the top of the form.

this is the code i edit
auth.php

function _create_recaptcha()
 {
  $this->load->helper('recaptcha');

  // Add custom theme so we can get only image
  $options = "[removed]var RecaptchaOptions = {theme: 'red', custom_theme_widget: 'recaptcha_widget'};[removed]\n";

  // Get reCAPTCHA JS and non-JS HTML
  $html = recaptcha_get_html($this->config->item('recaptcha_public_key', 'tank_auth'));

  return $options.$html;
 } 

changing the theme from custom to red.

now the recapcha is showing above the form.

could someone can help me about this?

I will appreciate for any help will come, thank you.

BTW sorry for my bad english

2
Contributors
2
Replies
3
Views
4 Years
Discussion Span
Last Post by ZER09
0

@ZER09

i got problem in setting the reCapcha it tank auth when i try to change it theme color, the recapcha image now is showing on the top of the form.

The small code that you provided wasn't very helpful because it's hard to figure out what is wrong with your code. Can you post a little more.

I assume you are using something similiar to this:

http://konyukhov.com/soft/tank_auth/

1

@LastMitch thank you,

I am using the tank auth from http://konyukhov.com/soft/tank_auth/

when i actevate the recaptcha and change its theme, the whole got wrong but i already fixed the problem I just edit a small code and it works.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.