I have a friend who can only access my site via SSL (hardcore security policies at his cushy govt job), and everywhere that uses the "full_url" breaks his browsing via SSL and pops him to the normal page (making a post, creating a topic, replying, pms, logging in, etc)...
So I got the bright idea tonight to hack in full SSL support via tweaking with the full url string in the array in the config.inc.php...
It's fairly easy to do, but only tested on PHP5 (though it should work on PHP4).
In includes/config.inc.php:
Find:
// Note: If you modify ANY code within your UBB, we at Groupee, Inc
// cannot offer you support -- thus modify at your own peril :)
Add After:
$ssl = $_SERVER["HTTPS"];
$url = $_SERVER["HTTP_HOST"];
if($ssl == "on") { $https = "https"; }
else { $https = "http"; }
Then Find:
# 'FULL_URL' => 'http://www.yourdomain.tld/path',
Replace With:
'FULL_URL' => $https . '://' . $url . '/yourpath',
It'll take and change "http" with "https" if ssl is being used, else it'll take and use "http". Also I set $url to identify if a user is accessing my forum from another domain name (as I have several).
It should work on any Apache based UBB.Threads install with PHP4/5 though...