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

Change login bar to an overlay

Will popup a standard overlay box instead of the default "scroll down" from the top.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Jake Bunce submitted a new resource:

    Change login bar to an overlay (version 1.x) - Will popup a standard overlay box instead of the default "scroll down" from the top.

    Read more about this resource...
     
    8thos likes this.
  2. DRE

    DRE Well-Known Member

    Doesn't work for me in either firefox or chrome. It just takes you to another page.
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Did you add both red pieces? There are two.
     
  4. DRE

    DRE Well-Known Member

    I added this to login_bar template

    <script> XenForo.LoginBar = function(a){}; </script>
     
  5. DRE

    DRE Well-Known Member

    Oh crap I didn't see the other code. You have to scroll over to the right to see it. Duh.
     
  6. DRE

    DRE Well-Known Member

    Okay works now but now the twitter bar that was in my original login bar no longer shows up.
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Is that something custom you added? I can test it if you give me instructions.
     
  8. DRE

    DRE Well-Known Member

    Just did some research and learned I'm using an add-on that has been removed: Twitter Authentication
     
  9. DRE

    DRE Well-Known Member

    I think the add-on adds this button as a hook for the login_bar template.

    C2_twitter_login_button_item

    Code:
    <li><a href="{xen:link register/twitter, '', 'reg=1'}" class="twLogin"><img src="http://a0.twimg.com/images/dev/buttons/sign-in-with-twitter-d.png" alt="Sign up with Twitter"}" /></a></li>
     
  10. CritiKiL

    CritiKiL Active Member

    Hi. I tried it with both codes, and it only takes me to a page like this:

    [​IMG]
     
  11. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That looks like the same problem The8thLegion had. Make sure you added the OverlayTrigger piece.
     
  12. CritiKiL

    CritiKiL Active Member

    Nope, both codes are in there:

    [​IMG]
     
  13. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Oh. Are overlays enabled?

    Admin CP -> Appearance -> Style Properties -> Overlays and Tooltips -> Enable Overlays

    This setting must be enabled for it to work.
     
  14. CritiKiL

    CritiKiL Active Member

    Yea, it's enabled...
     
  15. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Then it might be a style problem. Try it on a default style.

    If it still doesn't work then I need the URL to your forum so I can take a look.
     
  16. CritiKiL

    CritiKiL Active Member

    Ok, I changed to default and then tried to login but the dropdown came again. Here's my url: http://sck-mobile.com.
     
  17. netrix

    netrix Active Member

    Might it be possible, that you make a version with the TMS?
     
  18. Matthew2D

    Matthew2D Active Member

    When you click on Sign Up Now in the sidebar, it takes you to another page.
     
  19. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The default style on your forum doesn't have this template edit applied.
     
  20. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    TMS?
     
    jamalfree likes this.

Share This Page