Skt NURCaptcha
[resolved] NurCaptcha puts out duplicate css ID="profile-details-section" (4 posts)

  1. undergroundnetwork
    Posted 2 years ago #

    I am using nurcaptcha on a site that has buddy press running so the registration occurs on the buddy press form. I just noticed that nurcpatcha add the following css id to itself in line 79 of the plugin:
    echo '<div class="register-section" id="profile-details-section">';
    unfortunately that id="profile-details-section" is the same id as the profile details section, resulting in 2 items with the same id.

    You could change it to something like id="profile-details-section-captcha" perhaps so that is doesn't invalidate the css?

    Thanks for the great plugin!

    By the way, there is a weird Privacy Policy link that now appears on the form that is not styled by the css. I think it just started appearing this past month.

    Thanks so much for a great plugin!



  2. Carlos E. G. Barbosa
    Plugin Author

    Posted 2 years ago #

    Hi Charles,

    Thank you for bringing that information. At a first check I was not able to see that Privacy Policy link you've mentioned. It is not produced by this plugin, I can assure you. Can you please drop some more details on it, maybe sending a snapshot of it to this email: carlos.eduardo@mais.com.
    I will check what is going on, and a new version will be delivered soon addressing both issues.

  3. Carlos E. G. Barbosa
    Plugin Author

    Posted 2 years ago #

    To solve that weird Privacy link, I suggest you to follow the orientation granted by Google on how to change things within the reCaptcha form. See http://code.google.com/p/recaptcha/wiki/HowToChangeRecaptchaColors
    So, following their logic, you should drop somewhere in your theme's CSS this code:

    .recaptchatable a {
        color:#your-theme-font-color !important;
        font-family:your-theme-fonts !important;
        ... [any other rules you need to adjust the weird link]

    It's much much easier than trying to deal with it from within the plugin. Just do not forget to write '!important' on each rule so it overrides Google's own CSS rules.

    On the "id" issue, a new version of the plugin will be delivered soon with a new id = "profile-details-section-nurcaptcha" so as to be unique.
    Thank you for the precious feedback.

  4. Carlos E. G. Barbosa
    Plugin Author

    Posted 2 years ago #

    Hi Charles,
    Just released version 3.1.8 of the plugin.
    That div that duplicated another's id has no more id at all. The reCAPTCHA has been inserted into the 'profile-details-section', so it's better integrated on the form than before.
    Now I guess it will bring no more problems to your layout customization.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Skt NURCaptcha
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic