Recaptcha on "Ask the question"

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Jan 24, 2017 9:51 am
Reply with quote
Report this post
Hello,

I cannot see Recaptcha on Ask the question pop up window.
There is div "dynamic_recaptcha_1", but it is emty.

Please help, I got a lots of spam.

Virtuemart : 3.0.18
Joomla: 3.6.5
Template: inStyle 3.21.2 (it says there s new version, but in download area is only 3.21.2)
User avatar
Senior Boarder

teitbite
Wed Jan 25, 2017 3:10 pm
Reply with quote
Report this post
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

GK User
Wed Jan 25, 2017 7:02 pm
Reply with quote
Report this post
Sorry...forgot.
www.prodajacarapa.com
User avatar
Senior Boarder

GK User
Sat Jan 28, 2017 3:42 pm
Reply with quote
Report this post
Hi, can you, please check it. It is very important.

Grateful in advance
User avatar
Senior Boarder

teitbite
Sun Feb 05, 2017 9:24 am
Reply with quote
Report this post
Hi

I see no errors in code. Please send me an access to joomla panel and ftp. Need to have a closer look to figure that out.
User avatar
Moderator

GK User
Mon Feb 13, 2017 2:46 pm
Reply with quote
Report this post
Hi,
any news?
User avatar
Senior Boarder

teitbite
Sun Feb 19, 2017 8:00 pm
Reply with quote
Report this post
Hi

Sorry, had no idea You've send me the access already. Have just passed it to programmers, will net You know as soon as they will answer.
User avatar
Moderator

GK User
Mon Feb 20, 2017 11:46 am
Reply with quote
Report this post
Ok, thanks!
User avatar
Senior Boarder

teitbite
Tue Feb 21, 2017 9:21 am
Reply with quote
Report this post
Hi

Programmers just pointed out to me that recaptcha is in ask a question popup already and they haven't done anything. Have You been able to fix it or did it just start working on its own ?

To fix the spacing a little add this:
Code: Select all
#dynamic_recaptcha_1,
#recaptcha_area {
    clear: both;
    padding-top: 40px;
}

to /templates/gk_instyle/css/vmframe.css
User avatar
Moderator

GK User
Tue Feb 21, 2017 6:04 pm
Reply with quote
Report this post
Thanks for a reply.

Yes, I added some code to form.php in askquestion folder.
Code: Select all
                  <?php // captcha addition
                  if(VmConfig::get ('ask_captcha')){
                  
         JPluginHelper::importPlugin('captcha');
         $dispatcher = JDispatcher::getInstance();
         $dispatcher->trigger('onInit','dynamic_recaptcha_1');
         $recaptcha = $dispatcher->trigger('onDisplay', array(null, 'dynamic_recaptcha_1', 'class=""'));
         ?><?php echo (isset($recaptcha[0])) ? $recaptcha[0] : '';?>

                  <?php
                  }
                  // end of captcha addition
                  ?>


But problem now is that modal window after submitting question, does not close. It becomes full screen window and button "close" doesn't work.
User avatar
Senior Boarder

teitbite
Fri Feb 24, 2017 1:17 pm
Reply with quote
Report this post
Hi

So You mean there was no re-captcha for this popup at all? I could not remember if it there was one either.

About the redirecting issue. There are no errors shown in console, so it looks like everything went according to plan if it comes to javascript, but switch between fancybox and facebox scripts in Virtuemart configuration. I hope using different one will help with this problem.
User avatar
Moderator

GK User
Fri Feb 24, 2017 6:11 pm
Reply with quote
Report this post
Yes, correct. There was no reCaptcha at all. It is known issue as I could see on forums, but there are several solutions with inserting code into a form.php.

However, it is working now. You may close this ticket.
THANK YOU VERY MUCH!
User avatar
Senior Boarder

teitbite
Mon Feb 27, 2017 12:50 pm
Reply with quote
Report this post
Hi

Yes, I've just seen it's working. Closing ticket as requested.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.