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

Quick Login in Side Bar 1.1

Quick Login in Side Bar

  1. Gopala Subramanium

    Gopala Subramanium Active Member

    DRE, Taner, faeronsayn and 1 other person like this.
  2. faeronsayn

    faeronsayn Well-Known Member

    This is awesome, I love this but I have a huge request if its possible.

    Can we somehow get this to work with wordpress? Like use some type of code so we can login to xenForo through wordpress?
     
  3. CFodder

    CFodder Well-Known Member

  4. mrGTB

    mrGTB Well-Known Member

    Curious after looking at your own site using it about one thing, just cosmetic on looks. In the default drop-down login XenForo uses, the width of both text entry boxes are the same, also the case on main registration page. But in the sidebar the "User Name" box is much shorter than Password box in length?
     
  5. Sylar

    Sylar Well-Known Member

    Is that huge gap on the index something that is supposed to be there...?
     
  6. faeronsayn

    faeronsayn Well-Known Member

  7. Marocinoh

    Marocinoh Member

    Thanks for this.
    But, how I can change default image facebook for login?
    Thanks for advance
     
  8. Gopala Subramanium

    Gopala Subramanium Active Member

  9. DRE

    DRE Well-Known Member

    Woah WHAT? Sign in with Google?

    *pms*
     
  10. Gopala Subramanium

    Gopala Subramanium Active Member

  11. sinful

    sinful Member

    Hi

    Great modification. Curious, how do i go about making both the form fields longer and of equal sizes?

    As u can see now, the lengths are different and there are some wasted area in the box.

    2012-04-28 09.17.59 am.png

    Thanks (y)
     
  12. sinful

    sinful Member

    Also, it'll be great if u include a conditional for hiding the default login bar on top, specifically at the homepage. ;) Too many login places can be counter productive.
     
  13. Gopala Subramanium

    Gopala Subramanium Active Member

    I have set the size as 25, you may change as desired [Code attached]. Edit to be on these lines:

    Code:
    Line 10: <input id="ctrl_pageLogin_login" class="textCtrl" type="text" value="" name="login" size="25">
     
    Line 32: <input id="ctrl_pageLogin_password" class="textCtrl" type="password" name="password" size="25">

    Thanks,

    Gopala Subramanium
    www.FixMyStuff.In
     

    Attached Files:

    sinful likes this.
  14. Gopala Subramanium

    Gopala Subramanium Active Member

    Add the following in the begining:

    Code:
    <xen:if is="{$visitor.user_id}">
     
    <div class="section visitorPanel">
        <div class="secondaryContent">
     
            <xen:avatar user="$visitor" size="m" img="true" />
         
            <div class="visitorText">
                <h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2>     
                <div class="stats">
                <xen:hook name="sidebar_visitor_panel_stats">
                    <dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>
                    <dl class="pairsJustified"><dt>{xen:phrase likes}:</dt> <dd>{xen:number $visitor.like_count}</dd></dl>
                    <dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>
                </div>
    <br>
                <center>
    {xen:datetime $datetime, 'absolute'}<br>
    <a href="{xen:link 'watched/threads/all'}">Watched Threads</a>
        </center>
                </xen:hook>
            </div>
         
        </div>
    </div>
     
    <xen:else />
    and this at the end (after the code in the mod):

    Code:
    </xen:if>
     
    <xen:include template="ad_sidebar_below_visitor_panel" />

    Thanks,

    Gopala Subramanium
    www.FixMyStuff.In
     
  15. Gopala Subramanium

    Gopala Subramanium Active Member

    Did not understand your problem, can you send me a screen capture please?

    Thanks,

    Gopala Subramanium
    www.FixMyStuff.In
     
  16. Gopala Subramanium

    Gopala Subramanium Active Member

    Use the new code and change the images that i have provided with the mod (version 1.1). But please note that do not change the path and the name of the file (just replace it with the same names) else you have to make modifications in the code.

    Thanks,

    Gopala Subramanium
    www.FixMyStuff.In
     
  17. sinful

    sinful Member

    Thanks for such a quick response.

    I tried this and it works to adjust the length.

    However if both values are input at 25, 35, 40, or any number, the lengths will not be the same. I tried playing around with different values for each field, and managed to get a result that both field looks of the same length. I get get this to work well on a single browser, but a different browser would display a different length.

    Is there any other way to go about doing this? or am i doing something wrong?

    Many thanks!
     
  18. sinful

    sinful Member

    sorry but this is not working :(
     
  19. Gopala Subramanium

    Gopala Subramanium Active Member

    if you send me your code, i'll have look at it.
     
  20. DRE

    DRE Well-Known Member

Share This Page