Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Whole Forum HTTPS - Please help
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 25, 2014 - 7:04 pm

As Andy says, we dont enforce https or non https...  we just get the settings from wp...

more info: 

http://codex.wordpress.org/Adm.....n_Over_SSL

https://yoast.com/wordpress-ss.....-admin-ssl

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2014 - 4:52 am

Thanks for the replies, so could you confirm for me, if I set admin areas or Log in as SSL would this effect the whole forum because it contains the log in form? Logically if the log in form is the issue, removing it would make the forum http again?

Thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 28, 2014 - 5:39 am

There is, as far as I am aware, absolutely no logical reason why it should. There again I do not know how you make just the login form https.

However, the forums built-in login form simply calls the WordPress login process with whatever URL it is set up to use and that URL should take into account (by default) your SSL setting. By itself, that process will have no bearing or influence on any other URLS and permalinks that are being generated for the forum page to use. But as we have both said - whether SSL is in use or not is derived from the WordPress core functions which simply inform SP of what to use.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2014 - 10:04 am

out of curiosity, what version of wp is this?  the forthcoming wp 4.0 makes some changes in https/ssl, so would be curious if any difference...

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2014 - 10:09 am

wp 3.9.1

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2014 - 10:11 am

okay, so 4.0 is in beta 2 (or is it 3 now?)... should be released in 2-3 weeks...  we of course, run the 4.0 version here for compatibility checking...  would be interested if any change when it releases...

so what are you entering into the wp config file?

did you try removing the login form as you talked about?

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2014 - 10:22 am

No I haven't tried removing the log in form, I will take a look at this.

Other than the usual and some edits to allow the WPMU membership plugin to work network wide instead of site-wide I just added the two lines:

 

/* Enable Admin SSL  */
define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);

 

However I think from reading more on the links you provided I should remove the log in line as it isn't needed if the admin line is used?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2014 - 10:29 am

depends if you want logins to be ssl...  not sure the admin covers both...  but believe the answer is yes...

to remove the login, edit your spHead.php template file in the sp theme you are using...  remove the two template tags for log in and out button and the login form (sorry, on road and dont have easy access to actual functions)...

is there a problem with the entire forum being https?  should work fine and not hurt anything...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2014 - 10:35 am

should add, if you edit the theme, please be sure to create a child theme or make your own theme to keep from losing changes to our themes on updates...

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jul 28, 2014 - 10:51 am

Thanks, yes using a child theme thanks for pointing me in the right direction. There isn't a particular issue with the running of the forum in https just the switching between the http and https as the rest of the site is http. Also any old links into the forum that bring a visitor in are http but when they click on any link they are redirected https which just slows down the user experience a little.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10118
Posts: 79603