14
Here is the solution ...
if ( !$_SERVER["HTTPS"] ){
define('XOOPS_HTTP_METHOD', 'http');
}else{
define('XOOPS_HTTP_METHOD', 'https');
}
and ...
define('XOOPS_URL', XOOPS_HTTP_METHOD.'://your.site');
The problem was that XOOPS defines:
define('XOOPS_URL', 'http://your.site');
so all the actions of the forms will have http instead https, that hack will fix that problem.
Now if you ask for
https://your.xoops.site you will be allways in https mode.