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
How do I remove the register and login buttons at the top of the forum?
Avatar
Gayle Dallaston
Rookie
Free Members
sp_UserOfflineSmall Offline
Oct 3, 2014 - 2:37 am

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.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Oct 3, 2014 - 3:45 am

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

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: 619
Members: 17364
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625