Forums

Chronoforms and SSL again, only need a little help ?

fumla 25 Feb, 2009
Hi I know managed to get the Chronoforms work on a SSL / https://

It is very easy you just need to edit the HTML in the form to have the full path for each image, and starting it with : https://...

However I still have 1 problem with the Image Verification thing, I can't figure out how I can load this image as SSL or put a full path in front of it to force it be loaded as https://

Any help would be much appreciated.

Thank you for a fast response😉
GreyHead 25 Feb, 2009
Hi fumla,

A couple of questions . . . which version of Joomla & ChronoForms are you using? and Is it just this page that is using ssl or the whole site?

Bob
fumla 25 Feb, 2009
It is just this and 3 other pages which are using chrono forms.

It is the latest version of Joomla 15.9 and latest verison of chronoforms as far as I can see.
GreyHead 25 Feb, 2009
Hi fumla,

If the page is accessed through a menu then you can try setting SSL on in the Menu Item System Parameters. The image URL is picked up from the system url for the page so this should work.

If not, then I think we may have to hack the code. . . . though I vaguely recall a fix for this - have you searched the forums here on SSL?

Bob
fumla 25 Feb, 2009
I already enabled SSL from the System Menu, without any luck.

I also checked the forum and someone posted something about a Java plugin for Joomla 1.0 I don't think it is the right solution for
my problem.

I would also be ready to pay something if you would take a closer look at it, I can send you login etc. by PM ?
GreyHead 25 Feb, 2009
Hi fumla,

Yes please PM or email me a login. Meanwhile I'll run a little test here.

Bob
Max_admin 25 Feb, 2009
Hi fumla,

try to enable the anti spam and don't use {imageverification} instead use the real <img tag with direct HTTPS link to the image!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
fumla 26 Feb, 2009
I read you, but, I'm not that good in programming, any examples on how to do what you suggest.

I know how to enable/disable the AntiSpam thing, but not how and where to link the image ?
GreyHead 26 Feb, 2009
Hi fumla,

In place of {imageverification} put this snippet
<?php
$uri = str_replace('http:', 'https:', JURI::Base());
?>
<input name="chrono_verification" style="vertical-align:top;" type="text" id="chrono_verification" value="">
              <img src="<?php echo $uri; ?>components/com_chronocontact/chrono_verification.php?imtype=<?php echo $paramsvalues->imtype; ?>">

Bob

PS I'm not sure if imtype='.$paramsvalues->imtype.' will evaluate in the form html - it it gives a problem then you can replace it with imtype=0 or imtype=1 for without fonts or with fonts.

Later: corrected to add php tags
fumla 26 Feb, 2009
Thank you.

hmmm, it looks like that the image is now linked directly, however it is still using : http://

I changed the image thing to the following, Im not sure if it is correct:
<img src="'.$uri.'components/com_chronocontact/chrono_verification.php?imtype='.$paramsvalues->imtype=1'"
or do I need to have it like this : <img src="'.$uri.'components/com_chronocontact/chrono_verification.php?imtype='.$paramsvalues->imtype=1.'"
GreyHead 26 Feb, 2009
Hi fumla,

Sorry, I left out some php tags. I've updated the code in my earlier post.

Bob
fumla 26 Feb, 2009
Thank you for your help, now it changed to https://

However, I give up... it is still telling me their are unsecured elemnts. Why is Joomla so damn difficult to get working with SSL.

Any input from anyone that knows how to get this work would be nice!!
GreyHead 26 Feb, 2009
Hi fumla,

It might be possible to handle this with a little module . . . I'll take a look later.

Bob

[attachment=0]26-02-2009 12-10-44.png[/attachment]
This topic is locked and no more replies can be posted.