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)

Barbaro 02-08-2015 12:10 PM

hello

The version is 4.2.2 Patch Level 4
Php 5,4,36

thanks

kh99 02-08-2015 03:32 PM

I noticed that the requirements for vb4.2.2 and above explicitly state that you must have cURL installed, so anyone having problems with this might want to check your phpinfo and make sure that you have it. I think I mentioned before that you needed either cURL or allow_url_fopen, but it seems maybe allow_url_fopen won't do it.

Barbaro 02-08-2015 03:46 PM

hello

this installed

https://vborg.vbsupport.ru/external/2015/02/1.gif?1

kh99 02-08-2015 03:49 PM

OK. I should probably also have mentioned that I'm not sure when cURL started being required. Maybe it's been required for a long time. I never paid attention before.

Barbaro 02-09-2015 09:54 AM

Quote:

Originally Posted by Barbaro (Post 2536626)
I feel the same.


i really would like to use this addon, but i have a general problem enabling these security features: i get the error "reCAPTCHA? could not be verified due to server issues. Please try again later.".


The previous version if it works recapcha


hello

nobody knows how to fix it?

Princeton 02-10-2015 03:54 PM

you'll need to cache the humanverify_new_recaptcha template

(currently testing)

kh99 02-10-2015 04:03 PM

Quote:

Originally Posted by Princeton (Post 2536877)
you'll need to cache the humanverify_new_recaptcha template

(currently testing)

Oh yeah, thanks. It actually should have been cached automatically, except that the option value and template name don't match.

phriek 02-14-2015 05:44 PM

I solved the problem with the ""reCAPTCHAâ„¢ could not be verified due to server issues. Please try again later."-issue by adding curl_exec to my php.ini file (again). I disabled it months ago, because only curl was needed.

kh99 02-14-2015 05:49 PM

Quote:

Originally Posted by phriek (Post 2537426)
I solved the problem with the ""reCAPTCHA? could not be verified due to server issues. Please try again later."-issue by adding curl_exec to my php.ini file (again). I disabled it months ago, because only curl was needed.

Thanks for posting that. Hopefully that will help the others that were having that problem.

Barbaro 02-14-2015 05:54 PM

Quote:

Originally Posted by phriek (Post 2537426)
I solved the problem with the ""reCAPTCHA? could not be verified due to server issues. Please try again later."-issue by adding curl_exec to my php.ini file (again). I disabled it months ago, because only curl was needed.


Hello, sorry for my bad English

Would you say exactly?

thanks

phriek 02-15-2015 01:44 PM

Quote:

Originally Posted by Barbaro (Post 2537431)
Hello, sorry for my bad English

Would you say exactly?

thanks

Look in your php.ini file which depends to your installation or create a phpinfo to list your php settings:
Code:

<?php phpinfo(); ?>
(save as phpinfo.php to your server and call it)
search for "disable_functions" and remove "curl" and "curl_exec" if its in there.
Example:

Code:

before:
disable_functions =exec,passthru,shell_exec,system,proc_open,popen,curl,curl_exec,curl_multi_exec,parse_ini_file,show_source;
after:
disable_functions =exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source;


kh99 02-22-2015 04:27 PM

I've released version 1.0. There are no critical changes or fixes, so there is no need to rush to upgrade. Here is the change list:
- Cached template (required renaming the uploaded file from
class_humanverify_newrecaptcha.php to class_humanverify_new_recaptcha.php)
- Removed default keys (which didn't work anyway)
- Removed trademark symbols
- Changed execution order of plugins from 5 to 4, to make sure this product
works with another HV add-on that has a bug.
- If "New reCAPTCHA" is selected when this mod is uninstalled, the hv library
is switched to 'disabled'.
- Added a test option to print out more information about verification failures
Note that the uploaded file has been renamed (which was the best way to fix the template caching issue), so you can remove the old file after upgrading.

For those who couldn't get this to work, I've added a test in the admincp (link in the Human Verification Manager), so you could try that and hopefully it will help track down your issue (if you get an error, copy and paste the results and post them here).

kh99 02-22-2015 10:51 PM

Quote:

Originally Posted by Barbaro (Post 2536742)
hello

nobody knows how to fix it?

Any luck with the new version?

Barbaro 02-25-2015 07:30 PM

hello

Still does not work for me

kh99 02-25-2015 07:46 PM

Quote:

Originally Posted by Barbaro (Post 2538795)
hello

Still does not work for me

OK, did you try the test link?

Barbaro 02-25-2015 07:55 PM

Yes

- Site key is set:xxxxxxxxxxxx
- Secret key is set: xxxxxxxxxxxxxxxxxxxxxxxxx
- cURL is enabled
- cURL does not have ssl enabled
- curl_exec function is not disabled
1 Configuration Error(s) Found

kh99 02-25-2015 08:10 PM

Quote:

Originally Posted by Barbaro (Post 2538797)
Yes

- Site key is set:xxxxxxxxxxxx
- Secret key is set: xxxxxxxxxxxxxxxxxxxxxxxxx
- cURL is enabled
- cURL does not have ssl enabled
- curl_exec function is not disabled
1 Configuration Error(s) Found

It seems like your curl doesn't have SSL configured in it. Or at least the version string that's checked in the code is blank. I don't really know how to tell you to fix that. You'd have to talk to your host or whoever does admin for your server.

Barbaro 02-25-2015 08:13 PM

I'll compile apache enabling SSL and comment.

thank you very much

Barbaro 02-25-2015 08:29 PM

perfect now

thank you very much

- curl_exec function is not disabled
No Configuration Errors Found

Test Verification:

xxfullclipxx 02-25-2015 10:59 PM

works flawless thanks buddy

tony2013 03-03-2015 02:47 PM

Work great!

thanks

Snowhog 03-04-2015 08:19 PM

Thank you kh99. Had to install php5-curl and restart our apache2 server, as the communication test reported:

- cURL must be enabled, and any curl_ functions must be removed from disable_functions in php.ini
1 Configuration Error(s) Found

Afterwards, the communication test was fully successful.

kh99 03-04-2015 09:04 PM

Quote:

Originally Posted by Snowhog (Post 2539534)
Thank you kh99. Had to install php5-curl and restart our apache2 server, as the communication test reported:

- cURL must be enabled, and any curl_ functions must be removed from disable_functions in php.ini
1 Configuration Error(s) Found

Afterwards, the communication test was fully successful.

I'm glad it works for you now. Yes, it turns out that the alternate way to make outgoing connections was removed from vbulletin in a recent version, so now cURL is a requirement.

kh99 03-17-2015 04:35 PM

So has anyone (or maybe everyone) made a mobile template for this? I have to admit that I have been completely ignoring mobile styles since my own forum uses tapatalk and I don't have anything to do with styles. But just today I looked and noticed that apparently if you don't include a mobile template in a product, the one from the 'standard' style gets used. But I could have copied and modified the recaptcha mobile template and included it in this product. Is that what people have been doing?

LOGECT 03-21-2015 03:54 PM

Quote:

Originally Posted by kh99 (Post 2540749)
So has anyone (or maybe everyone) made a mobile template for this? I have to admit that I have been completely ignoring mobile styles since my own forum uses tapatalk and I don't have anything to do with styles. But just today I looked and noticed that apparently if you don't include a mobile template in a product, the one from the 'standard' style gets used. But I could have copied and modified the recaptcha mobile template and included it in this product. Is that what people have been doing?

Thanks for the Mod, you could add this to the XML:

Code:

        <templates_mobile>
                <template name="tpl" templatetype="template" date="0" username="LOGECT" version="1.0">
                </template>
        </templates_mobile>
        <templates>
                <template name="tpl" templatetype="template" date="0" username="LOGECT" version="1.0">
                </template>
        </templates>


LOGECT 03-21-2015 04:05 PM

1 Attachment(s)
looks something like this on the vb default mobile tpl, also your in new mod (reCaptcha on login) when new reCaptcha option is enabled.

https://vborg.vbsupport.ru/attachmen...1&d=1426957473

kh99 03-21-2015 04:59 PM

Thanks for the response. I was afraid of that - I copied the existing recaptcha template and modified it for the new recaptcha, but I forgot about the mobile style and that template's a lot different. Anyway, when I get a chance I'll fix that.

Techno Cowboy 04-16-2015 03:07 AM

Installed....works great with vB 4.2.2 pl 4, also working well with vB 4.2.3 Beta 4! :cool:

Sharingan_Okami 05-20-2015 01:18 PM

Hi, I'm getting this error with this plugin on my forum

https://vborg.vbsupport.ru/external/2015/05/12.png

Vbulletin 4.2.1

Any help???

Thank you

kh99 05-20-2015 01:21 PM

Hmm...I don't know what would cause that. Is that on the registration page *before* you submit (when it's trying to display the widget)? Have you tried the original reCaptcha to see if that's working?

Sharingan_Okami 05-20-2015 01:33 PM

Quote:

Originally Posted by kh99 (Post 2545968)
Hmm...I don't know what would cause that. Is that on the registration page *before* you submit (when it's trying to display the widget)? Have you tried the original reCaptcha to see if that's working?

Hi, it's just when you submit, after everything. i have tried the original and the new and improved one. Both give the Access Denied

https://vborg.vbsupport.ru/external/2015/05/11.png

kh99 05-20-2015 01:34 PM

In that case, have you tried running the test? Click on "Click here to test connection" in the Human Verification Manager (under the New reCaptcha description).

Sharingan_Okami 05-20-2015 01:42 PM

Quote:

Originally Posted by kh99 (Post 2545970)
In that case, have you tried running the test? Click on "Click here to test connection" in the Human Verification Manager (under the New reCaptcha description).

-Removed-

kh99 05-20-2015 01:46 PM

Hmm...it seems to work. I'll have to think about it more later, but I've got to go out for a while.

BTW, I think I told people earlier in the thread to post their results here, but I just realized that people probably shouldn't be posting their "site secret", so you might want to remove that attachment (unless you cut off part of it on the right, I can't tell) I should probably take that out of the results.

Sharingan_Okami 05-20-2015 01:52 PM

Quote:

Originally Posted by kh99 (Post 2545972)
Hmm...it seems to work. I'll have to think about it more later, but I've got to go out for a while.

BTW, I think I told people earlier in the thread to post their results here, but I just realized that people probably shouldn't be posting their "site secret", so you might want to remove that attachment (unless you cut off part of it on the right, I can't tell) I should probably take that out of the results.

That's Ok. and maybe you're right, i'll remove it. i will maybe try to re install this mode and try again. but i think it's always been broke for me.

kh99 05-20-2015 08:14 PM

So just to make sure, this doesn't happen if you disable this mod? I guess it works if you choose no human verification? What happens if you try the other hv types? I would think maybe it had something to do with contacting google to verify the response, but the test in the admincp uses the same code as when it's being done by a user (well, that's what I tried to do, anyway), and that didn't show any errors.

Edit: oh, maybe it's an apache mod that doesn't like the looks of the rCaptcha response in the post data, or something like that. I don't know much about web site admin, but I've seen other people mention mod_security when they get an error like this.

Sharingan_Okami 05-20-2015 11:19 PM

Quote:

Originally Posted by kh99 (Post 2545986)
So just to make sure, this doesn't happen if you disable this mod? I guess it works if you choose no human verification? What happens if you try the other hv types? I would think maybe it had something to do with contacting google to verify the response, but the test in the admincp uses the same code as when it's being done by a user (well, that's what I tried to do, anyway), and that didn't show any errors.

Edit: oh, maybe it's an apache mod that doesn't like the looks of the rCaptcha response in the post data, or something like that. I don't know much about web site admin, but I've seen other people mention mod_security when they get an error like this.

Thanks for the information.

Indeed i do use mod_security and that's probley correct

SGoogle 06-06-2015 11:12 AM

it not Working in Template mobile with Advane Search

Please view Image

https://vborg.vbsupport.ru/external/2015/06/23.png


Thanks you

Mattlab 06-10-2015 11:09 PM

Any word on when this will be updated to work in all templates?

kh99 06-12-2015 12:43 PM

Quote:

Originally Posted by LOGECT (Post 2541115)
Thanks for the Mod, you could add this to the XML:

Code:

        <templates_mobile>
                <template name="tpl" templatetype="template" date="0" username="LOGECT" version="1.0">
                </template>
        </templates_mobile>
        <templates>
                <template name="tpl" templatetype="template" date="0" username="LOGECT" version="1.0">
                </template>
        </templates>



I'm sorry I never responded. What does this do exactly?


All times are GMT. The time now is 12:58 AM.

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.01602 seconds
  • Memory Usage 1,835KB
  • 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
  • (4)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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