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
Unable to hide Register and Login buttons
Avatar
Stephen Nill
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2013 - 5:31 pm

I am working with a new install of SP. I want to hide the Register and Log In buttons. I found the information on how to do so here: http://wiki.simple-press.com/a.....gistration

Logged in as SP admin, on the page at Components > Login And Registration, I can only configure one thing: Use spam tool on registration form. But the controls I need to hide the Register and Login buttons are not available--certainly nothing like the screenshot at http://wiki.simple-press.com/a.....gistration. The same sort of thing happened when I changed the page name for SP, and, following the instructions, attempted to update the permalink at Integration > Page and Permalink.

FYI, I checkted the SP admin permissions, and all permissions are selected for the user account I'm using.

I could use some help. eek

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2013 - 6:45 pm

the wiki is for version 3.x of SP... you would want the 4.x version or http://codex.simple-press.com

you want to 'hide' the login and registration buttons?  as 4.x has full fledged themes, you would just remove teh template tags that display the buttons...

so in the proper template file, in this case, spHead.php of the sp theme you are using, just remove or comment out the template function calls:

            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'));

if removing the log in button, you might as well remove the forum too:

        sp_LoginForm($loginForm);

also, we strongly recommend you edit your own theme and not one of our supplied ones to keep from losing any changes on upgrades...

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

 

Avatar
Stephen Nill
Member
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 4:29 am

Thanks--I'm on the right path now.

(By the way, did you mean that the correct codex is for 4.x of SP? I am guessing that you meant version 5.x, right?)

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 7, 2013 - 4:34 am

embarassed Yes... When I reads Steve's post this morning I noticed three typo's! Yes - he meant the wiki was for pre Version 5 and the codex for version 5+. It does say this at the top of the old wiki front page. It may actually be time to think about removing it now...

And when he said remove the forum' he meant, of course, remove the 'form'!

It is usually me that makes all the typo's!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stephen Nill
Member
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 4:53 am

Thanks for clarifying. I must say, the documentation is outstanding (when I'm looking at the right document, anyway) and I'm becoming extremely impressed with the design of SP as I get to work with it for the first time. That doesn't mean I won't screw something up all by myself though. Good to know you guys are so responsive.

Okay, enough compliments for now. I need to get back to configuring....

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 7, 2013 - 5:04 am

Thanks for the supportive comments. I hope it all goes well and to plan for you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stephen Nill
Member
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 5:16 am

I'm following up on the advice to edit my own theme, rather than rely on one of the supplied ones. Makes perfect sense--I certainly don't want any modifications I do overwritten by an update.

Can you confirm that to do that I can (for example) copy a theme zip file from https://simple-press.com/download-themes, rename it, upload it using the SP theme upload function, select it as the live theme, then modify it?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 7, 2013 - 5:28 am

basically yes but you need to really just follow the codex article:
http://codex.simple-press.com/.....g-a-theme/

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stephen Nill
Member
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 5:33 am

LOL. Didn't quite get to that one yet. Really, I'm just not used to such good documentation.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 7, 2013 - 6:32 am

Sadly we are still a ways behind with it...

andy-signature.png
YELLOW
SWORDFISH
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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625