Forums

Refresh button for ImageVerification Tip

bhyland 14 Nov, 2007
Hi All,

Noob question, I've just returned after a year of using v1.0 to discover all the fantastic enhancements🙂 a quick question when I looked int he Hints & Tip section about image verification I found the details regarding a refresh button, is this hint still valid? I only ask as when I read the hint it talks of a ChronoForms.php and the code references
"'/administrator/components/com_chronocontact/chrono_verification.php?" when this file is actually found directly under ../components whihc makes me think this might have been referencing an older release?

I'm probably way off base as I'm no coder and have limited knowledge... I do however want to add a refresh button if possible so any help would be greatly appreciated🙂

Thanks

Brian
GreyHead 14 Nov, 2007
Hi Brian,

I think that the tip should be OK still, though Max moved the files in the latest release so the URLs need to be changed to match.

I only found out about the file moves yesterday, I still need to upgrade my version and see what changes need to be made to match the new configuration.

Bob
bhyland 18 Nov, 2007
Hi Greyhead,

Thanks for you help, I tried to insert / replace the code snipet as per the hint / tip and change the url's to match what I believe to be the correct location but when I use this modified file I jest get a blank screen where the form should appear so I'm obviously breaking the code with my ham fisted attempts at hacking the code :blush:

I can see from the board that your kept busy but if you or any one can take a look at how I placed the code inthe file and let me know what I did wrong I'd be very grateful🙂

Thanks a bunch

Brian [file name=chronocontact-04c24fd4e22f7a0c24cdf6abccc04133.txt size=18615]http://www.chronoengine.com/components/com_fireboard/uploaded/files/chronocontact-04c24fd4e22f7a0c24cdf6abccc04133.txt[/file]<br><br>Post edited by: bhyland, at: 2007/11/17 20:25
GreyHead 18 Nov, 2007
Hi Brian,

In that file line 72 has an extra single quote in it. Should be
var newverimage = '.$mosConfig_live_site
I'm not sure if this causes the problem but it does break the code.

Bob
bhyland 18 Nov, 2007
Hi Bob,

Made the change and this helps in that the form now shows but the refresh button doesn't work and the verification code is "without fonts" even though it is set to "With fonts"... I'm guessing it might be something to do with this from the original code
imtype='.$paramsvalues->imtype.'
but I have no idea where to place this in the new code... I think something must have changed in this release (2.3.6) that "breaks" this tip.

Not sure what to try next as I really don't know javascript or php😟 any tips would be apprecited.

Thanks

Brian
GreyHead 18 Nov, 2007
Hi Brian,

I've downloaded 2.3.6 yesterday (I didn't know it had been released until I saw Max post about it). I'll install this morning then take another look.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger