68 Classifieds Forums

68 Classifieds Forums (http://www.68classifieds.com/forums/index.php)
-   v3.1 Questions & Support (http://www.68classifieds.com/forums/forumdisplay.php?f=19)
-   -   Security Image "click here" link not working right (http://www.68classifieds.com/forums/showthread.php?t=1343)

Scooter 08-14-2006 09:17 PM

Security Image "click here" link not working right
 
On my "contact us" page towards the bottom where it says "If you can't read the word, click here" for the security image to change; when you click the link it reverts back to the home page instead of changing the image, but during the registration process if you click the link to change the security image it works. Why does it work on the registration page but not the contact page?

suzkaw 08-15-2006 07:46 AM

Will you try this. Open the contactus template file and replace the first part of that link:
Code:

<a href="#"
With this:
Code:

<a href="javascript:;"

Scooter 08-15-2006 09:20 AM

That did not work. It actually didn't do anything.

Lhotch 08-15-2006 10:07 AM

Try clearing the contents of /templates_c

suzkaw 08-15-2006 10:41 AM

Try this:
Code:

<a href="javascript:void(0);"

Scooter 08-15-2006 11:34 AM

Sorry, but that didn't work either...

suzkaw 08-15-2006 11:47 AM

Ok I think I see the problem. Open the template file contact/contactus.tpl.php and locate this line:
Code:

alert("{/literal}{$smarty.const.LANG_CAPTCHA_ERROR}{literal}");
Replace it with this:
Code:

alert("Sorry, cannot autoreload freecap image\nSubmit the form and a new freecap will be loaded");

Scooter 08-15-2006 10:55 PM

Great. That worked. Thanks for your help.

civ 08-22-2006 11:02 PM

Wait a minute, I know this feature used to work in 3.1.4 so why are we removing it now? Submitting the form to reload a new word will seem a bit unfinished to the end user.

suzkaw 08-23-2006 07:50 AM

This doesn't remove it. However it just manually adds the text to the alert box. The language file includes a /n in that string and that was causing the problems.

I really should have suggested changing it there.


All times are GMT -4. The time now is 05:25 PM.

Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.