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

IPB Style Footer Stats [Deleted]

Discussion in 'Template Modifications' started by Adam Howard, Aug 5, 2012.

  1. Adam Howard

    Adam Howard Well-Known Member

    Adam Howard submitted a new resource:

    IPB Style Footer Stats (version 1.0) - Give your site a IPB style feel

    Read more about this resource...
     
    Sylar and bogus like this.
  2. Adam Howard

    Adam Howard Well-Known Member

    You can change colors or add and remove user groups by finding this in

    footer_stats

    PHP:
                <li>
                    <
    span style="font-weight: bold; color: red;">Administrator</span></a> |
                    <
    span style="font-weight: bold; color: green;">Moderator</span> |
                    <
    span style="color: black; font-weight: bold;">Members</span> |
                </
    li>

    Was this helpful?
    I accept donations
     
    Sylar likes this.
  3. Sylar

    Sylar Well-Known Member

    Nice work man, just installed it on a local host and it looks fantastic. Might have to mess around with it in my spare time :)
     
    Adam Howard likes this.
  4. duydangle

    duydangle Active Member

    Fantastic job, thank you so much.
     
  5. Adam Howard

    Adam Howard Well-Known Member

    Request Denied.

    I refuse to give credit to a pirate site who is illegally using XenForo. Now, if they want stop hosting illegal content and stop pirating XenForo, I'll be happy to do so.
     
    jadmperry likes this.
  6. X_Plaza

    X_Plaza Active Member


    And you are pirate too :))

    So funny with message
     
  7. Adam Howard

    Adam Howard Well-Known Member

    I call it justice or reverse pirating. They are illegally using XenForo and passing out illegal copies of XenForo and other products made from the developers here. So I do not recognize their legitimacy.

    What are they going to do, claim copyright when they, themselves are in violation. Would be ironic, no?
     
  8. HoddzDJ

    HoddzDJ Active Member

    I have just added this to my site, but Administrators don't show up on the colour they should. Can't confirm for Moderators as well as no mods are online. Actually I'm guessing that none of the colours work, as they are all showing up the just the standard hyperlink colour. Not sure if it's because the colour needs to be added inside the 'a' code?
     
  9. Adam Howard

    Adam Howard Well-Known Member

    AdminCP > Users > User Groups > Administrative (or whatever user group)

    Find
    User Name CSS:

    Apply your own CSS so that the user name will match to the color of your choice.
     
  10. HoddzDJ

    HoddzDJ Active Member

    Sweet, cheers!
     
    Adam Howard likes this.
  11. Luxus

    Luxus Well-Known Member

    It would be cool if you can add somehow anonymous/invisible users to the stats:)
     
  12. Adam Howard

    Adam Howard Well-Known Member

    This does count invisible users in the total. It basically uses the same hooks as the stats in the side bar.
     
    Sylar likes this.
  13. Luxus

    Luxus Well-Known Member

    Yes but it doesn't say how many invisible users are online. The IPB stats bar does that. But I think this may be a limitation of the current xenforo version.
     
  14. Adam Howard

    Adam Howard Well-Known Member

    Ah, I see

    No, right now it only shows grand total and then it breaks it down to members and guest ...ie..

    100 Members online (50 members / 50 guest)

    It does not yet show it as such

    100 members (25 members / 25 invisible members / 50 guest)

    It wouldn't be to hard to write an add-on for that. I mean there some hooks that allow the admin to see those hidden members. I'm just trying to think on how you could show the total without revealing who is hidden.
     
  15. xihouston

    xihouston Member

    hey man, i just put your resource on my site.. but it dropped my sidebar all the way down when i put this in:

    Code:
    <xen:include template="footer_stats" />
    any help to fix this? thanks!
     
  16. Adam Howard

    Adam Howard Well-Known Member

    Sure, I'll give it go.....

    What do you have in your side bar?
    Are you sure you put that where it should go?
    If you're using TMS you may need to use the rebuild option, have you done so?
    What is the skin you're using?
     
  17. xihouston

    xihouston Member

    1.) Staff online now, members online now, forum statistics, and share page
    2.) im pretty positive
    3.) what exactly is TMS?
    4.) flexile
     
  18. Adam Howard

    Adam Howard Well-Known Member

    Template Modification System (TMS)
    http://xenforo.com/community/resources/template-modification-system-tms.293/

    Basically this helps you edit the template without making direct edits to your template. It is also useful to help find possible conflicts. And rebuild your skin cache more effectively and easily. I would recommend it. :)

    I currently do not have Flexile installed and honestly do not know what could be causing that issue. This template edit does not touch the sidebar at all and shouldn't have any affects upon it.

    I would "guess" that there maybe something in Extra.css that was added. But that is only a guess. You'll need to ask the developer.
     
  19. Malo

    Malo Member

    Sylar and Adam Howard like this.
  20. Adam Howard

    Adam Howard Well-Known Member

    If you're using my skin, Socially Uncensored
    http://xenforo.com/community/resources/socially-uncensored.1009/

    Here is an updated foot_stats.css for color correction (see full below)

    For a quick edit notice the two places where I added

    PHP:
        background#D4E1EE;
    1 on top and 1 on the end.


    PHP:
    #board_stats ul {
        
    text-aligncenter;
        
    background#D4E1EE;
    }
    #board_stats li {
        
    margin-right20px;
    }
    #board_stats .value {
        
    backgroundnone repeat scroll 0 0 url(rgba.php?r=0&g=0&b=0&a=25); backgroundnone repeat scroll 0 0 rgba(0000.1); _filterprogid:DXImageTransform.Microsoft.gradient(startColorstr=#19000000,endColorstr=#19000000);
        
    border-radius3px 3px 3px 3px; -webkit-border-radius3px 3px 3px 3px; -moz-border-radius3px 3px 3px 3px; -khtml-border-radius3px 3px 3px 3px;
        
    box-shadow0 1px 2px rgba(0000.3inset0 1px 0 #FFFFFF; -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset, 0 1px 0 #FFFFFF; -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset, 0 1px 0 #FFFFFF; -khtml-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) inset, 0 1px 0 #FFFFFF;
        
    color#222222;
        
    displayinline-block;
        
    font-weightbold;
        
    margin-right3px;
        
    padding3px 7px;
        
    text-shadow0 0 0 transparent0 1px 0 rgba(2552552550.6);
    }
    .
    borderwrapper {
        
    overflowhidden;
        
    border1px solid
        rgb
    (215215215);
        
    border-radius10px;
        -
    webkit-border-radius10px;
        -
    moz-border-radius10px;
        -
    khtml-border-radius10px;
        
    padding5px;
    }
    .
    stats_body {
        
    width100%;
        
    floatleft;
    }
    .
    stats_title_left, .stats_title_center, .stats_title_right {
        
    overflowhidden;
        
    background:
        
    #F7F7F7;
        
    border-bottom1px solid
        
    #E0E0E0;
        
    color:
        
    rgb(100,100,100);
        
    text-alignleft;
        
    margin0px;
        
    font-size11px;
        
    font-weightbold;
        
    padding3px 10px;
    }
    #stats_content {
        
    font-size11px;
        
    padding5px 10px;
        
    background#D4E1EE;
    }
     

Share This Page