How to update reCAPTCHA 2? vbulletin4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sonic83
    Senior Member
    • Feb 2012
    • 141
    • 4.2.X

    [Forum] How to update reCAPTCHA 2? vbulletin4

    Hello, I have received this email from google and want to know how to update to reCAPTCHA 2, thank you.

    Dear Webmaster,
    You are receiving this email because you are registered as a website administrator using reCAPTCHA, and your website is still using reCAPTCHA v1, which will be turned off on March 31, 2018.
    We announced the reCAPTCHA v1 deprecation in May 2016. Starting in November 2017, a small percentage of reCAPTCHA v1 traffic will begin to show a notice informing users that the old API will soon be retired. Any calls to the v1 API will not work after March 31, 2018.
    To ensure continued functionality, you’ll need to update your website to a current version of reCAPTCHA. You can learn more about reCAPTCHA v2, Invisible reCAPTCHA and reCAPTCHA Android API in our Developer’s Guide. The new APIs are simple to implement and will streamline the captcha experience for your users. If you need help, you can engage in the reCAPTCHA Google Developer Group or post to Stack Overflow with the ‘recaptcha’ tag.
    We hope that your upgrade will be seamless, and we’re confident you’ll be happy with the results.
    Thank you,
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24286
    • 6.0.X

    #2
    vBulletin 4 does not have this functionality.

    There is a third party add-on on vbulletin.org that should work. Failing that you will need to use a different method of verification once Google stops recaptcha 1.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • camoit1
      New Member
      • Oct 2017
      • 3
      • 4.1.x

      #3
      In VB4 under human vitrifaction recapta there is the template for recapta. and VB 4.1 does have it built in. Recapta V1 just not v2 .
      So what do we change to make version 2 work?
      Google has gone from a bunch of code to a single line of code. What do we change?
      Here is the current code we have in VB 4.1

      <div class="blockrow">
      <label for="recaptcha_challenge_field">{vb:rawphrase image_verification}</label>

      <input id="hash" type="hidden" name="{vb:raw var_prefix}[hash]" value="{vb:raw humanverify.hash}" />
      <vb:if condition="$humanverify['load_js']">
      <script type="text/javascript">
      var RecaptchaOptions = {
      theme : '{vb:raw humanverify.theme}',
      callback: function() {document.getElementById('recaptcha_response_field').tabIndex = 1;}
      <vb:if condition="$humanverify['langcode']">,lang : '{vb:raw humanverify.langcode}'</vb:if>
      };
      function reloadRecaptcha(){
      if( typeof(Recaptcha) != 'undefined')
      {
      Recaptcha.create("{vb:raw humanverify.publickey}", "recaptcha_block", RecaptchaOptions);
      }
      }
      </script>
      </vb:if>
      <div id="recaptcha_block">
      <vb:if condition="$humanverify['load_js']">
      <vb:if condition="$show['recaptcha_ssl']">
      <script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k={vb:raw humanverify.publickey}">
      <vb:else />
      <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k={vb:raw humanverify.publickey}">
      </vb:if>
      </script>
      </vb:if>
      </div>

      <noscript>
      <vb:if condition="$show['recaptcha_ssl']">
      <iframe src="https://www.google.com/recaptcha/api/noscript?k={vb:raw humanverify.publickey}" height="300" width="400" frameborder="0"></iframe>
      <vb:else />
      <iframe src="http://www.google.com/recaptcha/api/noscript?k={vb:raw humanverify.publickey}" height="300" width="400" frameborder="0"></iframe>
      </vb:if>
      <textarea name="recaptcha_challenge_field" rows="3" cols="40" tabindex="1"></textarea>
      <input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
      </noscript>

      </div>

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24286
        • 6.0.X

        #4
        This is outside the scope of the support we can provide.
        There is more to implementing reCaptcha2 than simply editing a template.

        You should look at the add-on on vbulletin.org that will do this.

        There are some fixes within the thread for php 7.

        Again, we cannot provide support for this.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • kane@airrifle
          New Member
          • Mar 2011
          • 9
          • 4.2.x

          #5
          includes/class_humanverify_recaptcha.php is not officially part of VB4x ?

          Comment

          • Mark.B
            vBulletin Support
            • Feb 2004
            • 24286
            • 6.0.X

            #6
            Originally posted by kane@airrifle
            includes/class_humanverify_recaptcha.php is not officially part of VB4x ?
            vBulletin 4 does not support reCaptcha2 and never will.
            vBulletin 4 has not been under active development for almost five years now. Development is all focused on vBulletin 5.

            If you wish to use reCaptcha2 on vBulletin 4, you will need to use that add on.
            MARK.B
            vBulletin Support
            ------------
            My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
            My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

            Comment

            • energetic-forum
              Member
              • Jan 2017
              • 74
              • 3.8.x

              #7
              So is this post a mistake? https://www.vbulletin.org/forum/showthread.php?t=325832 that seems to be coming from vb officially encouraging everyone to upgrade to recaptcha v2. And it was posted after your post, Mark. I'm asking because that post does not mention a plugin so has anything changed?

              Comment

              • Mark.B
                vBulletin Support
                • Feb 2004
                • 24286
                • 6.0.X

                #8
                Originally posted by energetic-forum
                So is this post a mistake? https://www.vbulletin.org/forum/showthread.php?t=325832 that seems to be coming from vb officially encouraging everyone to upgrade to recaptcha v2. And it was posted after your post, Mark. I'm asking because that post does not mention a plugin so has anything changed?
                No the post is not a mistake, though it was added by a live feed, it was originally posted here on this site.

                We do not and never have supported plugins, but to use ReCaptcha2 on vBulletin 4 that is the only way to go. vBulletin 4 is end of life from a development perspective. It will not be updated or changed at all.

                The reason we made that post was because Google were about to shut down ReCaptcha1. That means anyone using it HAD TO stop using it by the end of March 2018. This wasn't a decision that had anything to do with vBulletin, however it was sensible to advise customers of the situation in case they weren't aware and wondered why it stopped working.

                vBulletin 5 now has ReCaptcha2 as an out of the box option, and ReCaptcha1 has been removed.
                MARK.B
                vBulletin Support
                ------------
                My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                Comment

                • bxb
                  Member
                  • Nov 2012
                  • 31

                  #9
                  Im having an issue with recaptcha, did an update but Im getting a "recaptcha v1 is shutdown message" which is preventing me from getting a password reset email and making a new user to reset password with tools.php? Any ideas? Is there a way I can shut if off on the backend?
                  Last edited by bxb; Mon 18 Jun '18, 5:54pm.

                  Comment

                  • Mark.B
                    vBulletin Support
                    • Feb 2004
                    • 24286
                    • 6.0.X

                    #10
                    Originally posted by bxb
                    Im having an issue with recaptcha, did an update but Im getting a "recaptcha v1 is shutdown message" which is preventing me from getting a password reset email and making a new user to reset password with tools.php? Any ideas? Is there a way I can shut if off on the backend?
                    Turn it off in the admincp, under Human Verification Manager.
                    MARK.B
                    vBulletin Support
                    ------------
                    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                    Comment

                    • bxb
                      Member
                      • Nov 2012
                      • 31

                      #11
                      Im not able to get into Admincp, password changed or is not working and with the captcha locked it wont let me add a new user or do password email without it submitting.

                      Comment

                      • Wayne Luke
                        vBulletin Technical Support Lead
                        • Aug 2000
                        • 73976

                        #12
                        Originally posted by bxb
                        Im not able to get into Admincp, password changed or is not working and with the captcha locked it wont let me add a new user or do password email without it submitting.
                        In vBulletin 4, you can update the password using this query:
                        UPDATE user SET password = MD5(CONCAT(MD5('new-password'), salt)) WHERE userid = 1

                        Replace new-password and 1 with the values you need.
                        Translations provided by Google.

                        Wayne Luke
                        The Rabid Badger - a vBulletin Cloud demonstration site.
                        vBulletin 5 API

                        Comment

                        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                        Working...