1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Signup

Discussion in 'Styling and Customization Questions' started by =MGN=RedEagle, Mar 16, 2014.

  1. =MGN=RedEagle

    =MGN=RedEagle Well-Known Member

    Hi there,

    I am trying to use XF for a non-techie crowd and I am running into so issues. When users click the "Signup Now" button on the top right of my website they see a screen which looks like this:
    It should really default to "No, create an account now." since they clicked a signup button and not a login one. How do I make it so that those who click the yellow button it defaults to "No, create an account now."

    Apparently, not even the best, most techie people in my niche can figure out the issue.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The button is dual purpose - log in or sign up, as evidenced by the phrase on the login bar handle.

    You could try editing the login_bar_form template to change the defaults.
  3. =MGN=RedEagle

    =MGN=RedEagle Well-Known Member

    Hi there,

    I was wondering if we could make it so that just the Signup button forces you to make a new account and the login/signup button does not.

    Also where could I suggest this to the devs?
  4. Russ

    Russ Well-Known Member

    Post in the suggestion forum.

    To make the button link directly to register, just edit the sidebar_visitor_panel at the bottom, change the link to:

    {xen:link register}
    =MGN=RedEagle likes this.
  5. =MGN=RedEagle

    =MGN=RedEagle Well-Known Member

    Thanks man!
  6. =MGN=RedEagle

    =MGN=RedEagle Well-Known Member

    Just dug into:

    <div class="section loginButton">
    <div class="secondaryContent">
    <label for="LoginControl" id="SignupButton"><a href="{xen:link register}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
    <!--WARNING LOOK HERE replace Xen:link register with {xen:link login} to reverse changes --> </div>
    I replaced {xen:link login} with {xen:link register}. Is that correct? For some reason I am not seeing the difference.

    Thanks so much again!
  7. Russ

    Russ Well-Known Member

    Remove the:

    I think that'll do it.
  8. =MGN=RedEagle

    =MGN=RedEagle Well-Known Member

    Perfect! You are a genius!

Share This Page