XF 1.4 Login Button Problems

  • Thread starter Thread starter Nelson T.
  • Start date Start date
N

Nelson T.

Guest
My users, like me, are upwards of 50. They can't find the login/signup link.

I read the thread about how to make a sign up now button.

I added :

Code:
<xen:hook name="ad_header" />

<xen:if is="!{$visitor.user_id}">

<div class="loginButton">
        <label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
</div>

</xen:if>

to the ad header, and

Code:
#loginBarHandle
{
    display: none;
}

#header #SignupButton
{
    float: right;
    margin: 10px 0;
    width: 165px;
}

.sidebar .loginButton
{
    display: none;
}

<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveMediumWidth)
{
    .Responsive #loginBarHandle
    {
        display: inherit;
    }

    .Responsive #header #SignupButton
    {
        display: none;
    }

    .Responsive .sidebar .loginButton
    {
        display: inherit;
    }
}
</xen:if>

to EXTRA.css


That provides a "Sign Up Now" button.

Can someone show me the code to modify the login so the button shows "Login" when the user is not logged in, and "sign up now" when the user isn't a member of the forum?


Ideally, I would like this:

upload_2014-2-28_9-28-33-png.68280
 
Last edited by a moderator:
Can someone show me the code to modify the login so the button shows "Login" when the user is not logged in, and "sign up now" when the user isn't a member of the forum?
What you're asking for there isn't possible.

There is no way of knowing the difference between someone who is logged out and someone who isn't a member.
 
Go to Admin CP > Appearance > Search Phrases

Search for the title: "sign_up_now"

Click on the phrase "sign_up_now" and change the phrase text to "Log in or Sign up" (or whatever you like).
 
Ahhh, thank you so much! That did it!!

Now maybe my old timers will see it! Only 30% of them are logging into the site!
 
Top Bottom