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
To hide login/logout bitton
Avatar
Marco Rossi
Member
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2012 - 6:17 pm

Again me :)

I need to hide the login/logout buttons because I want that my users manage this only from site.

How to disable and hide them from forum page? 

Have to modify spHEAD.php theme template? or what else? and which part?

Thanks in advance

Marco

Hakuna Matata

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2012 - 6:54 pm

Yes you would modify the SP header file, spHead.php.

You can comment out or remove the line that displays it.

sp_LogInOutButton(....);

Or see the codex sp_LogInOutButton for more info on how it works.

 

 
Avatar
Marco Rossi
Member
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2012 - 7:04 pm

Thanks Brandon,

I'll try it asap.

Marco

Hakuna Matata

Avatar
Marco Rossi
Member
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2012 - 8:16 pm

Commenting the row do the job.

Thanks a lot

 

Marco

Hakuna Matata

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 16, 2012 - 9:25 pm

you did make your own sp theme, right? ;)

http://codex.simple-press.com/.....g-a-theme/

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