Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
removing simple press's default form
Avatar
Shane Stegeman
Member
Free Members
sp_UserOfflineSmall Offline
May 20, 2016 - 11:21 am

Hi Simple Press team

 

Could I please get some help on how I could get rid of the default simple press login form. I am using a login and registration plugin and no longer need anything under 'Advanced search' text

 

Second question - How do I remove 'Welcome back John. Please log in to post" after John visits the forum page a second time (This is even though he is not logged in yet as simple press uses cookies).

 

Thanks heaps

Avatar
Shane Stegeman
Member
Free Members
sp_UserOfflineSmall Offline
May 20, 2016 - 11:24 am

Sorry forgot the third question - I would like the users to navigate to URL http://www.abc.com when they click Login and navigate to URL http://www.def.com when they click Register. How could I provide different URLs for login and register buttons at the top please?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 20, 2016 - 11:33 am

if you dont want the login form, just remove it from your sp theme... we of course, advise a child theme or custom theme for modifications...

It varies from theme, but you would want to remove this template call:

        sp_LoginForm($loginForm);

from your sp theme, likely in the spHead.php template file...  that wont remove the login/logout button though... you would remove it by this template call

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

which is also where you could change the login and logout links (where they point to)... see:  https://simple-press.com/docum.....outbutton/

similarly, you can change where the register button points to: 

            sp_RegisterButton('tagClass=spButton spRight', __sp('Register'), __sp('Register'));

via this help:  https://simple-press.com/docum.....terbutton/

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: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10120
Posts: 79607