vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - reCAPTCHA v2 Human Verification (https://vborg.vbsupport.ru/showthread.php?t=315960)

jetkai 11-04-2018 05:26 PM

If anyone is having issues with PHP 7+ / vb 4.2.5 with the following error Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() on line 14


You'll need to replace the following in class_humanverify_new_recaptcha.php:
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {
                parent::vB_HumanVerify_Abstract($registry);
        }

with
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {

                parent::__construct($registry);
        }

not sure if there are any more issues aside from this, but registering works now on my forum.

MaKayWeB 12-05-2018 07:32 PM

It's not working :(

AdamSC 12-12-2018 03:21 PM

Quote:

Originally Posted by jetkai (Post 2597181)
If anyone is having issues with PHP 7+ / vb 4.2.5 with the following error Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() on line 14


You'll need to replace the following in class_humanverify_new_recaptcha.php:
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {
                parent::vB_HumanVerify_Abstract($registry);
        }

with
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {

                parent::__construct($registry);
        }

not sure if there are any more issues aside from this, but registering works now on my forum.

Thanks - I was facing this problem. Is this just due to a change in PHP version from when this was made?

MaKayWeB 12-12-2018 03:28 PM

I installed but after install when you open domain.com/register.php it's just white screen, why?

Teascu Dorin 12-16-2018 08:30 AM

Quote:

Originally Posted by MaKayWeB (Post 2597776)
I installed but after install when you open domain.com/register.php it's just white screen, why?

Have you changed the code as mentioned in previous post?

gnrx 12-16-2018 09:59 AM

I installed today this mod in vb 4.2.5 and PHP 7.1
After try, get this error:
Quote:

Fatal error: Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() in /home/mydomain/public_html/includes/class_humanverify_new_recaptcha.php on line 14
With solution indicate by MarkFL:
Code:

On line 14 replace:
                parent::vB_HumanVerify_Abstract($registry);

with
                parent::__construct($registry);

Work perfect in vb 4.2.5 and php 7.1.

Thanks.

sangita 12-27-2018 12:42 PM

Hi
i have uploaded the file to root directory
i have generated reCAPTCHA keys
i have imported the xml file via AdminCP
i have changed line 14 as suggested above

But still not seeing reCAPTCHA v2 http://prntscr.com/m06tqx

gnrx 12-27-2018 12:57 PM

Quote:

Originally Posted by sangita (Post 2597940)
Hi
i have uploaded the file to root directory
i have generated reCAPTCHA keys
i have imported the xml file via AdminCP
i have changed line 14 as suggested above

But still now seeing reCAPTCHA v2 http://prntscr.com/m06tqx

Its in admincp->settings->human verification manager.

Not under options.

sangita 12-27-2018 01:11 PM

Thanks
When i set this option http://prntscr.com/m078l0 it looks like this http://prntscr.com/m07988

and, when select this option http://prntscr.com/m079i4 i get 500 http error http://prntscr.com/m07ao5 :confused:

gnrx 12-27-2018 05:05 PM

Quote:

Originally Posted by sangita (Post 2597942)
Thanks
When i set this option http://prntscr.com/m078l0 it looks like this http://prntscr.com/m07988

This is correct, v1 isn't available, its very old, not work.

Quote:

and, when select this option http://prntscr.com/m079i4 i get 500 http error http://prntscr.com/m07ao5 :confused:
You are configured your account here?: http://www.google.com/recaptcha
And then input New reCAPTCHA Site Key and New reCAPTCHA Secret Key ?
If its yes, you can try your connection in the link of config captcha of admincp for view the connection.

sangita 12-28-2018 07:45 PM

Quote:

Originally Posted by gnrx (Post 2597945)
This is correct, v1 isn't available, its very old, not work.


you can try your connection in the link of config captcha of admincp for view the connection.

"config captcha of admincp " where exactly it is ? can you explain a lil more please ?

gnrx 12-29-2018 11:43 AM

1 Attachment(s)
Quote:

Originally Posted by sangita (Post 2597954)
"config captcha of admincp " where exactly it is ? can you explain a lil more please ?

In the attach screenshot you can view how need you configured.

sangita 12-30-2018 11:33 AM

Quote:

Originally Posted by gnrx (Post 2597958)
In the attach screenshot you can view how need you configured.

HI

I already have done same settings http://prntscr.com/m1b3m5 , the problem is registration page is loading as it should http://prntscr.com/m1b4c8 :erm: but when i change it to "Image Verification" then registration page loads normally ..

gnrx 12-30-2018 11:48 AM

You have your site in a proxy like cloudflare?
If its not, contact with your host.

sangita 01-13-2019 06:57 AM

Quote:

Originally Posted by gnrx (Post 2597969)
You have your site in a proxy like cloudflare?
If its not, contact with your host.

yeah, the site is running with cloudflare . do i need any settings on proxy site ?

gnrx 01-13-2019 09:15 PM

Quote:

Originally Posted by sangita (Post 2598070)
yeah, the site is running with cloudflare . do i need any settings on proxy site ?

Configure/edit your config.php por resolve reals ip's of users.

hulkster 01-27-2019 11:53 AM

Verification Results:
- g-recaptcha-response is not set. Complete the human verification challenge before pressing Submit.
Verification Failed.

What should i do ?

Piloux 01-31-2019 06:57 PM

would be great if someone could implement it for login (instead of just registration).

Laredo 02-05-2019 01:26 AM

Quote:

Originally Posted by jetkai (Post 2597181)
If anyone is having issues with PHP 7+ / vb 4.2.5 with the following error Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() on line 14


You'll need to replace the following in class_humanverify_new_recaptcha.php:
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {
                parent::vB_HumanVerify_Abstract($registry);
        }

with
Code:

        function vB_HumanVerify_New_Recaptcha(&$registry)
        {

                parent::__construct($registry);
        }

not sure if there are any more issues aside from this, but registering works now on my forum.


thanks!! is working!

Kane@airrifle 02-05-2019 12:08 PM

Wrong thread

PattiOz 03-10-2019 11:46 PM

Great mod, works after the tip above from Laredo. Thank you, it saved my forum because I am NOT going to upgrade from VB4 to VB5 or whatever it is at now.

final kaoss 05-10-2019 09:43 AM

I notice that recaptcha v3 is out, can this be updated to support that?

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

BetoPho 07-04-2019 04:47 PM

FYI, I have made a v3 integration here.

final kaoss 07-06-2019 02:29 AM

Nice, I noticed that. However I noticed no mention of applying to registration. Good ideas on where else to implement it though.

kevinh 07-30-2019 12:07 AM

Sorry for what is probably a really dumb question, but it's a long time since I installed an add-on in VB4.x and my almost 60yo brain has forgotten how to do it.

Where do I upload the file to? I don't have an "upload" folder on my server :erm:

PS. Oh I see, it just goes into Includes
PPS. Installed and working. Many thanks!!

gnrx 08-15-2019 09:31 PM

Quote:

Originally Posted by kevinh (Post 2600040)
Sorry for what is probably a really dumb question, but it's a long time since I installed an add-on in VB4.x and my almost 60yo brain has forgotten how to do it.

Where do I upload the file to? I don't have an "upload" folder on my server :erm:

PS. Oh I see, it just goes into Includes
PPS. Installed and working. Many thanks!!

Perfect! :)

biggazillakilla 09-18-2019 10:41 PM

If it helps anyone, I rewrote the instructions:

- Download to desktop: kh99_new_recaptcha_v1_0.zip > extract all files
- Open FTP software and upload kh99_new_recaptcha_v1_0\upload\includes\class_huma nverify_new_recaptcha.php to myforum.com/includes
- myforum.com/ > admin control panel > Plugins & Products > Manage Products > at the bottom of the page [Add/Import Product] > Import Product > Choose file > product-kh99_new_recaptcha_v1_0 > click Import
- myforum.com/ > admin control panel > Settings > Human Verification Manager > choose 'New reCAPTCHA' > Save
- On the same page, at the bottom, enter the Site Key and Secret Key
- Test by using a private browsing session

Note: Be sure to use reCAPTCHA type v2 ("I'm not a robot" Checkbox) site keys, not reCAPTCHA type v3.

Hikarin 10-22-2019 01:19 AM

Does that mean that the inbuilt reCAPTCHA doesn't support reCAPTCHA V2 keys?

djbaxter 10-22-2019 01:48 AM

Quote:

Originally Posted by Hikarin (Post 2601008)
Does that mean that the inbuilt reCAPTCHA doesn't support reCAPTCHA V2 keys?

That's correct. You need this add-on to use V2. And you can't use V3 at all.

EchoBilisim 11-06-2019 04:58 PM

hello I installed the plug-in does not seem to be a problem when I test, but when you enter the member panel gives 500 error

x iJailBreak x 11-09-2019 01:53 PM

Quote:

Originally Posted by EchoBilisim (Post 2601163)
hello I installed the plug-in does not seem to be a problem when I test, but when you enter the member panel gives 500 error

Can you view your error logs? If you're running PHP 7+ you will likely have to make a modification to get it functional. We had to do so on our vB4 powered board when we moved to PHP 7.3.

Hostboard 11-17-2019 07:54 PM

Quote:

Originally Posted by EchoBilisim (Post 2601163)
hello I installed the plug-in does not seem to be a problem when I test, but when you enter the member panel gives 500 error

Did you make the required file edit for PHP 7.1 as noted here:
https://vborg.vbsupport.ru/showpost....&postcount=341

slickdawg 01-13-2020 08:10 PM

I'm on 4.2.5 with php 5.6.26 and I cannot get this to work. Either the 1.0 or 1.0.1 version.

The 1.0.1 version installed fine, everything tested successfully. When you go to register, you enter your information, and the error appears on the registration page:

reCAPTCHA could not be verified due to server issues. Please try again later.

I've looked through log files and don't see anything. Any help is appreciated!

Hostboard 01-13-2020 09:32 PM

Quote:

Originally Posted by slickdawg (Post 2601737)
I'm on 4.2.5 with php 5.6.26 and I cannot get this to work. Either the 1.0 or 1.0.1 version.

The 1.0.1 version installed fine, everything tested successfully. When you go to register, you enter your information, and the error appears on the registration page:

reCAPTCHA could not be verified due to server issues. Please try again later.


I've looked through log files and don't see anything. Any help is appreciated!

Did you create new reCAPTCHA and copy them over? No missing characters or extra white spaces.

slickdawg 01-14-2020 06:52 PM

Quote:

Originally Posted by Hostboard (Post 2601738)
Did you create new reCAPTCHA and copy them over? No missing characters or extra white spaces.

I did. It's perplexing! I tried the 1.0 version, got the 500 error. Tried that php code change for it, no dice. Uninstalled it and tried 1.0.1, the test part worked fine. :confused:


I just installed the reCAPTCHA V3 add in, it seems to be working fine.

GiaNNi 01-15-2020 06:26 AM

Quote:

Originally Posted by Hostboard (Post 2601251)
Did you make the required file edit for PHP 7.1 as noted here:
https://vborg.vbsupport.ru/showpost....&postcount=341

I had same issue and this fixed it, thank you!! :)

Za4a Tuner 02-16-2020 02:13 PM

1 Attachment(s)
Hello,
i've a problem with this product.

vBuleltin: 4.2.5
php: 7.1.33

I've uploaded the file into "includes", installed the addon ... but i don't get the "checkbox" to use the "new reCaptcha".
The others settings (newrecaptcha key) are shown.

Does anyone know how i can get it running?

kr Chris

Younicode 03-07-2020 03:24 AM

1 Attachment(s)
I installed this hack but no options are added in the settings.

vBulletin 4.2.5 php 7.1.31

gnrx 03-09-2020 09:40 AM

Quote:

Originally Posted by Younicode (Post 2602267)
I installed this hack but no options are added in the settings.

vBulletin 4.2.5 php 7.1.31

And in this part, not appears, I have installed and I have same image like you.

Bulent Tekcan 03-29-2020 04:09 PM

1 Attachment(s)
Hello,

I'm using Verify Mail before registration plugin also.
Is it possible to add this verification this screen ?

Regards


All times are GMT. The time now is 05:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01868 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete