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
All forum links and rss feeds ssl and upgrade difficulties
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2014 - 5:21 am

I tried to explain in post 8 what I understand it to do.

Here is a link to the plugin http://premium.wpmudev.org/pro.....n-mapping/

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2014 - 8:09 am

Ike said
Sorry, I skimmed through the first page there!

You can set up a redirect through Forum > Components > Login and Registration, and you can remove the login form from the template by commenting out:

<br />

#sp_LoginForm($loginForm);

<br />

from spHead.php.

Was this the thread you were referring to?

Hi Ike,

Removed the form, worked great but the button isn't redirecting to the link I have input in the login and registration page?

 

Edit: Re-read my post in case unclear I don't think the 'Log In' button is assigned from the login and registration page, I just need to apply a link to the button sitename.co.uk/wp-login.php

Hope you can help.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2014 - 8:56 am

Hey Kenn,

Try adding the logInLink argument to your sp_LogInOutButton function in spHead.php:

sp_LogInOutButton(‘tagClass=spButton spRight&logInLink=www.sitename.co.uk/wp-login.php’, __sp(‘Log In’), __sp(‘Log Out’), __sp(‘Log in and log out’)); 

Codex ref: sp_LogInOutButton

You can do the same for register if you need to - see sp_RegisterButton - using the argument 'link' in the same way logInLink was used in the login button function.

Hope this helps!

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2014 - 9:08 am

Thanks Ike, worked perfectly.

I am going to deactivate the domain mapping plugin in the evening to see if this is the cause of the https issue.

If so I will report back here.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2014 - 9:18 am

Good stuff, do let us know!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 21, 2014 - 10:18 am

so is the forum permalink still https?

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 24, 2014 - 8:52 pm

Hi both,

I have deactivated the domain mapping plugin, went to the forum integration page and updated the permalink but it remained https. I have also followed Ikes posts and removed the login form from the forum.

So yes the problem still remains.

All we want to achieve is all admin areas (wp-admin) and login forms to be https and all front facing pages to be http.

Any more ideas?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 24, 2014 - 10:13 pm

so, we get the schema of the url from WordPress...  can you run a couple tests for me?

on the forum page, we need to output a couple strings...  perhaps in you spHead.php template file, you can add these lines:

echo site_url();
echo home_url();

then near the top of the forum header, you should see two urls output... please post them back here... interested to see if they are http or https...

another test to run...  in same location, try this

$slug = sp_get_option('sfslug');
$pageslug = basename($slug);
$page = spdb_table(SFWPPOSTS, "post_name='$pageslug' AND post_status='publish' AND post_type='page'", 'row');
echo get_permalink($page->ID);

will tell us what wp thinks the schema is for the wp page the forum is on... again, we use what it tells us... so want to be sure what wp thinks...

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2014 - 6:39 am

All results returned as below:

Test 1

https://www.landlordreferencin.....o.uk/forum

https://www.landlordreferencin.....o.uk/forum

 

Test 2

https://www.landlordreferencin......uk/forum/

 

So I can see what your saying you are getting the https status from here but I'm not sure why.

I have also tested this on our test site and got the same result:

Test 1

 
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Nov 25, 2014 - 6:43 am
Had to split into 2 posts due to too many links.
 
However if you want to look at the test site, I have created a couple of pages with links in them
 
 
You wills see as you hover over the links on the page they are linking to http, the forum link is also http however once in the forum pages all links are https?
 
Remember this is subsite so if you find yourself out of the lrsdev2.candsprint.com/forum/...  then you have navigated back to the main site. lrsdev2.candsprint.com
 
Again, thanks for your help, you can see why I'm also confused, why do all the pages navigate http but the forum is pulling https?
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: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626