Hello our client has been complaining of spam getting sent through from the contact forms on the website. Joomlaux have done many changes on the clients real estate component, and we cannot update to new version, because then we will lose all of those changes made by joomlaux etc.
Is it possible to give us the correct steps on how to add the captcha to the agent contact form please, like on the current demo.
Hi 2fast2hot,
Thanks for contacting,
I understand the problems and difficulties when upgrading to a new version of you.
You can use this software. backup your site.
Please send me the complete file to the email: This email address is being protected from spambots. You need JavaScript enabled to view it..
We will edit on local, all the success I'll edit on your site. (Doing so avoid affecting the trade and your customers). Thanks.
extensions.joomla.org/extension/akeeba-backup
note: config Archiver engine: ZIP format (Components-> Akeeba Backup-> configuration->Basic Configuration)
Hello we have sent the file via dropbox and invited your email. I hope this will work for you. If possible I would truly appreciate it if you could let us know what files has been edited.
Hi 2fast2hot,
We have successfully repaired on the local, please refresh and check error (On local we can not send mail, so please check on your site)
Step1: Copy 2 file captcha_code.php, bg_captcha.jpg the folder tmpl (components\com_jux_real_estate\views\agentrealties\tmpl)
Step2: Please go to file default_agent.php (components\com_jux_real_estate\views\agentrealties\tmpl) line 101
edit
<?php if ($this->configs->get('enable_capcha') == 1) { ?>
=>
<?php if ($this->configs->get('enable_capcha') == 1||1) { ?>
Step3: Replace messages.php files (components \ com_jux real estate \ controllers) with new file will be sent.
Step4: Please go to agent-details.css file ( components\com_jux_real_estate\assets\css)
Add CSS
.agent-details #jform_captcha{
height: 40px;
margin-right: 20px;
width: 40%;
}
.agent-details .contact-agent img{
height: 39px;
margin-bottom: 8px;
}
Note: Please store your files on the site. avoid the bugs have to use again.
Hope help you. Look forward to receiving feedback from you. Thanks.
Hello thank you very much for your help. We have tested and it works on the agents page. We have also integrated the captcha into the realty page which can be seen here
keicommercial.co.za/index.php/property-p...erence-facility.html
, but when we test and enter the wrong captcha code it redirects the user to the homepage?
Any reason why it is doing this r what did we get wrong.
Hi,
I check when users enter the wrong captcha, it still reload it. You try to check back. or try a different browser. If that is not your problem, please describe in more detail, see if I can help you not? Thanks
Hello yes it still redirects the user to the homepage if wrong captcha is entered. We have edited /components/com_jux_real_estate/views/realty/tmpl/default.php and added the 2 files captcha image and the captcha code to the tmpl folder. The area of code we edited was from line 747-766:
Hi
You can help me to make videos of your problem. I tried deleting presentable on code. I find it still running and everything is normal. maybe I do not understand your problem. Thanks
hello what happens is when a user enters the wrong captcha on property listing, it redirects the user to the homepage where it should keep the user on the same "realty" page when a wrong captcha is entered.
Now from being redirected to the homepage, they must then go back to the realty page and try and find the property listing again and reenter the captcha, which by this time they will have left the website.