Support Forum
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/
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.
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!
so is the forum permalink still https?
Visit Cruise Talk Central and Mr Papa's World
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?
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...
Visit Cruise Talk Central and Mr Papa's World
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
1 Guest(s)