Previous Thread
Next Thread
Print Thread
Hop To
Green SSL Padlock #257000 07/03/2015 5:19 AM
Joined: Jun 2006
Posts: 293
Outdoorking Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: Jun 2006
Posts: 293
Hi All,

Have recently had the SSL certificate installed (green padlock) on our domain name and was wondering what files I need to change in order to get it show on our forum, which is already showing on our online store.

It is showing https://www.outdoorking.com/forum/ubbthreads.php?ubb=cfrm but not showing the green padlock like on the online store.

Any help with what files need to be changed to https:// would be great.

Last edited by Outdoorking; 07/03/2015 6:21 AM.
Re: Green SSL Padlock [Re: Outdoorking] #257006 07/03/2015 12:44 PM
Joined: Dec 2003
Posts: 5,949
Ruben Online Yawn
Online Yawn
Joined: Dec 2003
Posts: 5,949
I have only dabbled with ssl.
But I would assume it is just a mater of changing the path in the UBB control panel from http://www to https://www


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: Green SSL Padlock [Re: Outdoorking] #257007 07/03/2015 2:08 PM
Joined: Jun 2006
Posts: 15,839
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,839
Any existing internal links on posts need to be converted to show https vs http, your forum install links should also be updated so that any references to on site links and images are linked to the ssl version otherwise users will be prompted that data could not be completed due to it being an insecure local resource.

Some instances in the UBB hardcode http into links, such as user avatars, so will have to update those manually as you come across them (7.6.0 has these updated). Any images linked to as well will need to be using https otherwise you'll never get that "green shield" (note, the color of the validated SSL notification in the browser is specific to that browser, they're not all the same).

You'd likely want to also force ssl via the webserver, so that users are forced to use SSL (which will give you the bonus search engine ranking that i'm sure you're after).

Last edited by Gizmo; 07/03/2015 2:19 PM.

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Green SSL Padlock [Re: Gizmo] #257009 07/04/2015 6:20 PM
Joined: Dec 2003
Posts: 5,949
Ruben Online Yawn
Online Yawn
Joined: Dec 2003
Posts: 5,949
Originally Posted by Gizmo
Any existing internal links on posts need to be converted to show https vs http, your forum install links should also be updated so that any references to on site links and images are linked to the ssl version otherwise users will be prompted that data could not be completed due to it being an insecure local resource.

Some instances in the UBB hardcode http into links, such as user avatars, so will have to update those manually as you come across them (7.6.0 has these updated). Any images linked to as well will need to be using https otherwise you'll never get that "green shield" (note, the color of the validated SSL notification in the browser is specific to that browser, they're not all the same).

You'd likely want to also force ssl via the webserver, so that users are forced to use SSL (which will give you the bonus search engine ranking that i'm sure you're after).

All Greek to me!


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: Green SSL Padlock [Re: Outdoorking] #257011 07/05/2015 1:40 PM
Joined: Apr 2007
Posts: 3,938
SD Online Coffee
Former Developer
Online Coffee
Former Developer
Joined: Apr 2007
Posts: 3,938
i've gone to the green shield on one forum and the easiest way to handle any stray internal links ( http vs https ) is just to hijaack the Graemlin Smarty filter and add a change to https wherever an http link is found wink

the same hijaack is used to implement a CDN for images/* styles/* as well..

works great smile

Re: Green SSL Padlock [Re: SD] #257012 07/06/2015 12:21 AM
Joined: Jun 2006
Posts: 293
Outdoorking Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: Jun 2006
Posts: 293
Thanks for the reply SD. I have sent a PM to you. grin

Re: Green SSL Padlock [Re: SD] #257031 07/11/2015 7:16 PM
Joined: Jun 2006
Posts: 293
Outdoorking Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: Jun 2006
Posts: 293
Originally Posted by SD
i've gone to the green shield on one forum and the easiest way to handle any stray internal links ( http vs https ) is just to hijaack the Graemlin Smarty filter and add a change to https wherever an http link is found wink

the same hijaack is used to implement a CDN for images/* styles/* as well..

works great smile


Can you tell me where the files to change are located please, so I can change them.

Re: Green SSL Padlock [Re: Outdoorking] #257032 07/11/2015 7:30 PM
Joined: Apr 2004
Posts: 1,517
isaac Online Splat
UBB.threads Developer
Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,517
Except with a CDN (using Cloudflare for my example) new users may not be able create an account if you also have SFS enabled. This is fixed in 760. It's not a SFS issue. Its an issue of how IP addresses are determined within UBBT 7.5.x. (hat-tip to Gizmo, for this major bug fix -- for CDNs and proxy support)


As for non-embedded URLs, the Control Panel locations to update are -

Control Panel ยป DB, Paths & URLs
Full URL to Main Directory:
https://www.YOURSITE.com/forums

If you dont use relitive urls, also update:
Relative URL to Main Directory:
https://www.YOURSITE.com/forums

Control Panel > Primary Settings > Advanced Options
Domains for HTTP Referer Check:
http://www.YOURSITE.com|http://YOURSITE.com|https://www.YOURSITE.com|https://YOURSITE.com

There are many other minor issues with going HTTPS within UBB.threads.
User hosted avatars, inlined images, signatures... ads

As well as the urls for user's websites and links on the My Profile pages. There are several hard coded references to "http" within the stock UBB.threads code.

All of this has been corrected for 760 - which is fully friendly to HTTP and HTTPS.


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: Green SSL Padlock [Re: isaac] #257033 07/11/2015 8:40 PM
Joined: Jun 2006
Posts: 293
Outdoorking Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: Jun 2006
Posts: 293
Thanks for the reply and I have already changed the admin side of things but having an issue with finding the Graemlin Smarty filter file so I can make changes to see if that will work.

At this stage I am also having an issues with people trying to register as will. They are getting a message that the display name is already in use but it is not.


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
ubb.threads 7.7.3 install error on create tables
by andrewjs18 - 09/17/2019 3:39 AM
Horizontal Image Attachment
by ECNet - 09/11/2019 12:17 PM
user profile, after I click Update nothing happens
by PianoWorld - 09/10/2019 12:38 PM
Inline Image Embeds
by ECNet - 09/03/2019 2:38 PM
Who's Online Now
5 registered members (andrewjs18, Gizmo, Ruben, isaac, SD), 104 guests, and 392 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.3