Yellow Swordfish said
You can do either – redirect or remove. Both require an edit to the spHead.php forum theme template (in the /templates folder of whatever SP theme you are using). you can use the Theme Editor for this if you like.
The function is called sp_LogInOutButton(
So you could just remove it.
Or – you could redirect it by adding the url you need to run when the button is clicked. That would take the form based on the default:
sp_LogInOutButton('tagClass=spButton spRight&logInLink=http://etc', 'Log In', 'Log Out', 'Log in and log out');
where you just need to replace the ‘etc’ in there. Either way it would also then be worth removing the inline login form – sp_LoginForm().
As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)
Thank you for this vital info!
I also need to do this because the membership site I’m responsible for already uses s2Member Pro.
I prefer to use the REMOVE option.
Can I ask for your help on this topic? Please forgive me for some naive questions!
1. Perhaps I missed something, but when I remove the login button via the code–does that also remove the requirement for the visitor to log into the forum?
2. How is it possible to wire up the Simple-Press forum so that it knows a page visitor is logged into WordPress?
3. Is there a simple, one click method to cause all WordPress members to automatically be given the appropriate correlating membership level and role in the forum? Non members of the WordPress site should be able to read the forum. Whereas members of the WordPress site should be able to create threads and interact in them. The site has several thousand members and as I’m setting up Simple-Press it seems I need to assign WordPress users to a forum user role.
Thank you,
Chris