Advertisement:

Author Topic: Recaptcha plugin is not appearing in proper shape.  (Read 5427 times)

ColdWabmaster

  • Full Member
  • ***
  • Posts: 151
Recaptcha plugin is not appearing in proper shape.
« on: August 13, 2014, 08:59:00 am »
Hello,
      The recaptcha plugin is appearing in improper way in all of the bender themes. But it is appearing in proper in modern theme. Can this be corrected for bender theme as well. Please see the snapshot of the irregular recaptcha appearance.

ben_dchost1

  • Jr. Member
  • **
  • Posts: 92
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #1 on: August 14, 2014, 03:17:49 pm »
Hi, I think it's a problem with the captcha form.

The only way to resolve it is to use inspect the CSS elements (right click on page with google chrome) and inspect element. Then try and edit CSS code until you're happy with the display.

Then go in CSS file (for bender: bender/css/main.css) and edit the file with the changes that you made.

Look at screenshot for where you can start editing.

Good luck  ;)

ColdWabmaster

  • Full Member
  • ***
  • Posts: 151
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #2 on: August 14, 2014, 03:50:42 pm »
No changes I tried to change the height and there is no changes in the plug-in. Please suggest something simpler I am not a expert in coding like you.

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #3 on: August 27, 2014, 10:25:37 pm »

in the screen shot, you can see where the "theme" can be changed

to one of these

https://developers.google.com/recaptcha/docs/customization

ColdWabmaster

  • Full Member
  • ***
  • Posts: 151
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #4 on: August 28, 2014, 07:12:32 am »
Its a good option but can you tell me where the recaptcha form is in osclass or the main file where it can be edited...?

aide2001

  • Guest
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #5 on: September 08, 2014, 10:46:53 pm »
where in the site is your recaptcha being used.
so for arguments sake, if its in register.php change your code to something like this

<script type="text/javascript">
 var RecaptchaOptions = {
    theme : 'clean'
 };
</script>
<?php osc_show_recaptcha(); ?>
Then it should sort it, well it did for me. You can use different theme than 'clean' its just looks sooooo much better than the colour ones!

ColdWabmaster

  • Full Member
  • ***
  • Posts: 151
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #6 on: September 09, 2014, 07:24:39 am »
recaptcha is good in modern theme but the theme has small font size so if font size is increased then everything looks good. ::)

aide2001

  • Guest
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #7 on: September 09, 2014, 01:00:47 pm »
Its because there are different javascript files in Bender theme than the original modern theme, so try the code i put in, if it works, then it is defo the js file conflict bringing the css of the image to view

ColdWabmaster

  • Full Member
  • ***
  • Posts: 151
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #8 on: September 09, 2014, 01:04:16 pm »
Thanks not a proper method ... there are lot of recaptcha codes in different places and I don't wanna mess up ..!!

aide2001

  • Guest
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #9 on: September 09, 2014, 03:51:43 pm »
Just try it in register.php first (its one file) make sure you have a copy, then if it works, there will be better options, im just trying to help you establish where the problem is

ColdWabmaster

  • Full Member
  • ***
  • Posts: 151
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #10 on: September 09, 2014, 04:10:09 pm »
Actually I don't know where this register.php is  ? .... ???

ben_dchost1

  • Jr. Member
  • **
  • Posts: 92
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #11 on: September 10, 2014, 11:43:20 am »
Actually I don't know where this register.php is  ? .... ???

oc-includes/osclass/controller/register.php

I suggest you download a tool like AstroGrep (http://astrogrep.sourceforge.net/) which can search text - (also searches within files giving you the line number which makes it very helpful when editing). Good luck!

aide2001

  • Guest
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #12 on: September 11, 2014, 03:41:58 pm »
FYI @ben_dchost1
You need to change the THEME register.php not the main osclass controller register.php
The controller register.php makes it work, the theme register.php makes it look pretty

ben_dchost1

  • Jr. Member
  • **
  • Posts: 92
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #13 on: September 15, 2014, 05:16:40 pm »
FYI @ben_dchost1
You need to change the THEME register.php not the main osclass controller register.php
The controller register.php makes it work, the theme register.php makes it look pretty

my mistake, aide2001 you are correct :)

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Recaptcha plugin is not appearing in proper shape.
« Reply #14 on: September 16, 2014, 06:31:46 pm »
@aide, thanks for picking this up-- I went on vacation  :P