Support Forum

How do I remove the register and login buttons at the top of the forum?

GD Gayle Dallaston
Gayle Dallaston
Member

The standard template displays register and login buttons on the top right of the forum.

How can I remove these?  I want to users to use the widget in my sites theme instead.

1 Answer

New Answer

IK Ike
Ike
Member

Hey Gayle

No problem, you just need to remove the template functions from spHead.php.

Using ‘Default’ theme as an example, open:

sp-resources > forum-themes > default > templates > spHead.php

In this template you will need to comment out the buttons, using /* before and */ after the functions sp_LogInOutButton and sp_RegisterButton so it will look like:

/*sp_LogInOutButton('tagClass=spButton spRight', __sp('Log In'), __sp('Log Out'), __sp('Log in and log out'));
   sp_RegisterButton('tagClass=spButton spRight', __sp('Register'), __sp('Register'));*/

As usual, we always recommend making this a custom or child theme to preserve changes..

Hope this helps