J-BusinessDirectory - Contact Business Popup Form - Captcha Issue

Support Forum

 
 

 
7 replies

Jeez, I see its just blank here... Welll the issue is that although Ive enabled captcha got the keys set the default etc etc and set it in the config of the component it doesnt load on the popup when contact business is selected. You can see the error here.

 

Http://www.transportandconstruction.co.za go to business directory filter to a business then try the contact company button... You dont see the captcha loading but see the error in web dev

Hi Brett,

 

Can you provide us joomla admin access? (using contact form)

We will check this and get back to you asap.

Hi George, I appreciate you taking a look at this for me, I've sent the email through the contact form.

Hi,

 

We have fixed the problem.

I have exactly the same problem on www.business-directory.net.au - captcha enabled in component and global config, but does not show in the popup contact form for any listing. An attempt to submit the contact form (from a listing, NOT from the contact page) results in CAPTCHA ERROR, so the system knows captcha should be there, it's just doesn't show for some reason

Hi,

 

The problem appears only on Joomla 2.5.

For Joomla 3.x there should be no problem with the latest version.

In {joomla}/components/com_jbusinessdirectory/views/companies/tmpl/company-util.php replace the captcha code with following

 

<?php if($this->appSettings->captcha){?>
                                <div class="form-item">
                                    <?php
                                    $namespace="jbusinessdirectory.contact";
                                    $class=" required";
                                    if (($captcha = JCaptcha::getInstance("recaptcha", array('namespace' => $namespace))) )
                                    
                                    {
                                        $captcha->display("captcha", "captcha-div", $class);
                                    }
                                    
                                    ?>
                                    <div id="captcha-div"></div>
                                </div>
                            <?php } ?>

Thank you, it worked, your prompt response is very much appreciated.

 
 
 

8 Item(s)

Show per page