solved Remove Login option

michaelcawood
@michaelcawood
10 years ago
77 posts
My site is really an expired network that's being left online as a resource to future generations running similar projects. When I announce the site it would be nice not to have to deal with a lot of people asking how they login, when it's not really my intent that they do. Is there a way to remove the the Login link/option from the main menu? Or perhaps hide it?

http://animatedfilmmakers.com/devilsangelsanddating/
updated by @michaelcawood: 03/17/16 09:06:52AM
douglas
@douglas
10 years ago
2,804 posts
You would want to remove or comment the link out in your skins/YOURSKIN/header_menu_desktop.tpl and skins/YOURSKIN/header_menu_mobile.tpl files.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michaelcawood
@michaelcawood
10 years ago
77 posts
Thank you. I got it to remove the entire Login option, but the snag is you don't want to lose the option when I'm logged in. Is there a way to comment out the Login display for those not logged in, but leave it as it is for someone logged in?
douglas
@douglas
10 years ago
2,804 posts
That should already be the case, to remove the login and signup link, you'll just want to find this:

                {jrCore_module_url module="jrUser" assign="uurl"}
                {if $_conf.jrCore_maintenance_mode != 'on' && $_conf.jrUser_signup_on == 'on'}
                    <li><a href="{$jamroom_url}/{$uurl}/signup">{jrCore_lang skin=$_conf.jrCore_active_skin id="4" default="create account"}</a></li>
                {/if}
                <li><a href="{$jamroom_url}/{$uurl}/login">{jrCore_lang skin=$_conf.jrCore_active_skin id="5" default="login"}</a></li>

and either remove it or comment it out...

{*
                {jrCore_module_url module="jrUser" assign="uurl"}
                {if $_conf.jrCore_maintenance_mode != 'on' && $_conf.jrUser_signup_on == 'on'}
                    <li><a href="{$jamroom_url}/{$uurl}/signup">{jrCore_lang skin=$_conf.jrCore_active_skin id="4" default="create account"}</a></li>
                {/if}
                <li><a href="{$jamroom_url}/{$uurl}/login">{jrCore_lang skin=$_conf.jrCore_active_skin id="5" default="login"}</a></li>
*}

The links that show when logged in should still show.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
michaelcawood
@michaelcawood
10 years ago
77 posts
Perfect. Thank you Douglas. Much appreciated.
douglas
@douglas
10 years ago
2,804 posts
Your welcome! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

Tags