• HomeHome  
  • Latest imagesLatest images  
  • SearchSearch  
  • RegisterRegister  
  • Log inLog in  

  • You are not connected. Please login or register

    View previous topic View next topic Go down  Message [Page 1 of 1]

    1(phpbb3) Statistics IPB Empty (phpbb3) Statistics IPB Fri Dec 28, 2012 7:06 pm

    icefrog

    icefrog
    Membership

    Hello ,with js help i made the ipb statistics ,and i published them

    ACP ~> Modules ~> Javascript managment ~>

    Code:
    $(function(e){$('#i_whosonline + p strong:eq(1)').wrap('<p class="page-bottom" />');$('p.page-bottom:last').after($('#i_whosonline + p p.page-bottom'))});$(function(){var on=document.getElementById('i_whosonline');if(!on)return;on=on.nextSibling;on.innerHTML=on.innerHTML.replace(/(<br\s?\/?>).*?\1/,'')});$(function(e){$('#i_whosonline + p').before('<div id="board_stats"><ul class="ipsType_small ipsList_inline"><li class="clear"><span class="value"></span> Total Posts </li><li class="clear"><span class="value"></span> Total Members </li><li class="clear"><span class="value"></span> Newest Member </li><li class="clear" data-tooltip="20 Aug 2011"><span class="value"></span> Most Online </li></ul></div>');$('.h3:contains(Cine este conectat?), .h3:contains(Statistici)').remove();$('#board_stats + p').wrap('<div id="board_statistics" class="statistics clearfix" />');$('p.page-bottom strong:eq(0)').clone().appendTo('#board_stats .value:eq(0)');$('p.page-bottom strong:eq(1)').clone().appendTo('#board_stats .value:eq(1)');$('p.page-bottom strong:eq(2)').clone().appendTo('#board_stats .value:eq(2)');$('p.page-bottom strong:eq(4)').clone().appendTo('#board_stats .value:eq(3)');$('p.page-bottom, em').remove();$('#board_statistics').prepend('<h4 class="statistics_head"><ul id="stat_links" class="ipsList_inline right ipsType_small"><!--//--><li><a href="#" title="View the moderating team">The moderating team</a></li> <li><a href="/memberlist?mode=today_posters" title="View today top 20 posters">Today top 20 posters</a></li> <li><a href="/memberlist?mode=overall_posters" title="View the board overall top posters">Overall top posters</a></li> <li><a href="#">Most Liked Content </a></li></ul></h4>');$('#board_statistics strong:first').append(' users are online (in the past 15 minutes)');$('#board_statistics strong:first').prependTo('.statistics_head');$('#board_statistics p br:eq(1), #board_statistics p br:eq(2), #board_statistics p br:eq(3)').remove()});$(document).ready(function(){var x=$('#board_statistics')[0];if(x){x.innerHTML=x.innerHTML.replace(/:: 1 Motor de cautare/,' ')}});$(document).ready(function(){var x=$('#board_statistics')[0];if(x){x.innerHTML=x.innerHTML.replace(/:: 2 Motore de cautare/,' ')}});$(document).ready(function(){var x=$('#board_statistics')[0];if(x){x.innerHTML=x.innerHTML.replace(/Utilizatori inregistrati:/,'')}});$(document).ready(function(){var x=$('#board_statistics')[0];if(x){x.innerHTML=x.innerHTML.replace(/In total este/,'')}});$(document).ready(function(){var x=$('#board_statistics')[0];if(x){x.innerHTML=x.innerHTML.replace(/In total sunt/,'')}});$(document).ready(function(){var x=$('#board_statistics')[0];if(x){x.innerHTML=x.innerHTML.replace(/utilizator conectat:/,'')}});$(document).ready(function(){var x=$('#board_statistics')[0];if(x){x.innerHTML=x.innerHTML.replace(/utilizatori conectati:/,'')}});$(document).r

    ACP ~> Display ~> Colours ~> CSS

    Code:
    #board_stats .value {
    display: inline;
    background: #1D1D1D;
    border: 1px solid #1D1D1D;
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.13) inset;
    padding: 3px 7px;
    font-weight: bold;
    border-radius: 3px;
    margin-right: 3px;
    color: white;
    }

    li.row{
    background-color: rgba(0, 0, 0, 0.3);
    background-image: none;
    border-bottom: 1px solid black!important;
    border-left: 1px solid black;
    border-right: 1px solid black;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.41) inset;
    }

    #board_stats li {
    margin-right: 20px;
    font-size: 12px;
    display: inline;
    }

    #board_stats ul {
    text-align: center;
    }

    #board_stats {
    margin-bottom: 10px;
    margin-top: 20px;
    color: white;
    }

    .statistics {
    margin: 20px 0 0 0;
    padding: 8px;
    line-height: 1.3;
    overflow: hidden;
    color: white;
    border: 1px solid #201E1E;
    }

    .statistics .statistics_head:first-of-type {
    border-top: 0;
    }

    .statistics_head, .statistics_head a {
    color: white;
    }

    .statistics_head {
    background: #1D1C1C;
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.16) inset;
    font-size: 11px;
    font-weight: bold;
    padding: 8px;
    margin: -8px -8px 8px -8px;
    }

    #stat_links {
    font-weight: normal;
    }

    .right {
    float: right;
    }

    #stat_links li {
    display: inline;
    margin: 0px 4px;
    }

    ACP ~ Users & Groups ~> Users options ~> Allow birthday management : NO

    https://icefrog.forumotion.com

    2(phpbb3) Statistics IPB Empty Re: (phpbb3) Statistics IPB Fri Dec 28, 2012 7:47 pm

    Aleecs


    Managers

    I like this style of statistics , and I use this syle ! Thank you , icefrog !

    View previous topic View next topic Back to top  Message [Page 1 of 1]

    Permissions in this forum:
    You cannot reply to topics in this forum

     

    icefrog 2012-2013 , all rights reserved.