Does SMF 2.0.2 support SSL/HTTPS?

Started by FreeMag, June 27, 2012, 12:31:38 PM

Previous topic - Next topic

Ben_S

Quote from: Kindred on January 23, 2017, 09:59:08 AMwell, the easiest way is just to make the whole site https.

But then you will have problems with mixed content from all the hot linked images etc.

There really ought to be an official mod package to implement an image proxy or implement https login pages (there is an existing mod for this but it is ages out of date).

Come Feb these boards are going to be bombarded by people asking these questions and it really needs to be addressed.
Liverpool FC Forum with 14 million+ posts.

Kindred

it is addressed in 2.0.14

and the mod is not out of date... it still works just fine.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

mj.

I got all hot and bothered about the Google email too.  But I was mad at google.  I decided they can stick it, I'm the customer, I pay them.  I'm giving some thought to making a full site https transition still, for my own reasons.  If I do so I'll document my struggles after I emerge victorious for those who don't understand the technical subject matter intimately (like me) to use as a guide.

Linkjay

Quote from: mj. on February 12, 2017, 06:42:23 PM
I got all hot and bothered about the Google email too.  But I was mad at google.  I decided they can stick it, I'm the customer, I pay them.  I'm giving some thought to making a full site https transition still, for my own reasons.  If I do so I'll document my struggles after I emerge victorious for those who don't understand the technical subject matter intimately (like me) to use as a guide.

I could probably add in some of my story along too and provide some help. An https switch is a certainly tricky thing and really annoying thing to setup but once you finally get it, it's worth it. It would be pretty cool if you started a topic for how to switch to https and have others' provide their stories and advice.
I play games in my free time and volunteer my knowledge and support to the gaming communities of the internet.

You can contact me by these methods:
Use my Contact Script • PM me here • Add me on Steam

wildside

I have found this thread really interesting and am only adding to it to put my point of view as an smf forum owner for many years... I'm not a tech or coder but manage my own websites as best as  I can.

Recently my members have been asking for a mobile friendly forum so I am right now working installing a responsive theme to keep them happy and also to keep my forum as competetive as I can with the likes of FB TW etc etc....

The subject of https or ssl came up mostly because my members hate the popups telling them that their (my) site is unsecure.... When it loads on a mobile device its ugly, threatening and horible no matter what browser is being used.

So, today I bought an ssl from my host at 29 uk pounds (one year)... The https was set up in 30 minutes by my host (I am on a shared server) and then I had to edit config in smf admin in various places to get the green padlock across the site... The one that took most time was working out the the smiley set as well was set to http (saw that posted in this topic back on page 3 I think) .... adding an s to http in the config in 6 places seemed to get it working...

Regardless of whether people agree or not that https shouldor should not be implemented (and I note that this forum does not use it) the fact remains that my members (and any future new members) were (are) being scared by the messages they got in their browsers when navigating my site...

I have implemented it because it seems I have to not because I want to....

Looking forward to many more years with a fantastic forum. (I havent posted here for quite a while and have changed emails, hence the new account)

Best regards to all

khalimerot

Hi,

I managed to change my SMF in HTTPS.

Everything seems working fine, thank you all for the help given in this topic.

Sadly I still have one problem i can't manage to solve and this problem don"t seem to generate error in log.

When I want to edit a post, from myself, or from a user, at the moment I push the save button SMF send me to the a page to create a new post and the previous post is not edit.

Creation of new posts still work, but i can't edit anything, post, add poll,... nothing is working.

does anyone know where this problem can come from?

Thank you.

Edit: Ok found it by reading pretty URLs mod page:

hxxp:code.google.com/archive/p/prettyurls/wikis/TroubleShooting.wiki [nonactive]

QuoteLinks point to old domain after moving forum

This is very simple to fix, in addition to updating all the other settings with repair_settings.php, this mod has one more setting to fix. You can either manually fix the pretty_root_url setting yourself, or else create a new .php with this code:

<?php require_once(dirname(__FILE__) . '/SSI.php'); require_once($sourcedir . '/Subs-PrettyUrls.php'); updateSettings(array('pretty_root_url' => $boardurl)); pretty_update_filters(); ?>

Upload the file to the same location as your forum's SSI.php and open it with your web browser. Then don't forget to delete it!

Advertisement: