Modifying the Login form
Installation and Configuration
Yep, thats it. comment out the login line, 122 and if you're going to build you're own signup page too, then comment out that too.
The communication issues in this thread probably arose because there are many ways to set things up and i wasn't sure how yours was set up so my instructions weren't specific enough. I've got it now.
In ACP -> SKINS -> NINGJA -> TEMPLATES -> header_menu_desktop.tpl, down near line 117 you will see this section:
{if !jrUser_is_logged_in()}
{jrCore_module_url module="jrUser" assign="uurl"}
{if $_conf.jrCore_maintenance_mode != 'on' && $_conf.jrUser_signup_on == 'on'}
<li><a id="user-create-account" 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>
{/if}
That is the menu block that is showing to users who are not logged in. We can either delete that section or comment it out.
(Term: "comment it out" means to leave it showing in the code, but not have that section actually run. Programmers often leave comments in code to let others know what they are thinking. I know you know this elise, but others might not.)
The comment format in smarty templates is to wrap the section in {* this is a comment *}
So if we want to comment out the login link, it becomes:
{if !jrUser_is_logged_in()}
{jrCore_module_url module="jrUser" assign="uurl"}
{if $_conf.jrCore_maintenance_mode != 'on' && $_conf.jrUser_signup_on == 'on'}
<li><a id="user-create-account" 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> *}
{/if}