Support Forum

Removing the Login button at the top

AM AM
AM
Member

I have a membership plugin so I don’t want people to use the login button on the forum.

Is there some setting that can be set.  

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

as previously stated, most display elements are going to be in your sp theme template files… for the login button, look at spHead.php for your theme (and as always, please have your own theme and not one of ours)…

look for:

sp_LogInOutButton(‘tagClass=spButton spRight’, __sp(‘Log In’), __sp(‘Log Out’), __sp(‘Log in and log out’));

you could also remove:

sp_LoginForm($loginForm);

since the button handles that by default…

but afraid I must also add not sure why having a membership plugin precludes wanting folks to log into wp… keep in mind that users do NOT log in simple press, they log in to WP… so they will still have to do that somewhere…

AM AM
AM
Member

Mr Papa said
but afraid I must also add not sure why having a membership plugin precludes wanting folks to log into wp… keep in mind that users do NOT log in simple press, they log in to WP… so they will still have to do that somewhere…

Yes I get that. :-)

Thanks for the names of the function calls. Appreciate that. :-)

MP Mr Papa
Mr Papa
Member

np… glad to help… let us know if you need anything else…