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

Recommended Answers

All 2 Replies

Member Avatar for LastMitch

@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/

@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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.