Forum gratuit: forum de suport al utilizatorilor
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Cum pot face statisticile ca pe un forum ipb

Vezi subiectul anterior Vezi subiectul urmator In jos

In cos Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de CosmiN. Lun Aug 31, 2015 11:20 am

Buna Ziua , as dori si eu sa stiu cum pot face ca statisticile sa arate ca pe un forum IPB
CosmiN.

CosmiN.
Membru Forumgratuit

Mesaje : 15
Varsta : 24
Data înscrierii : 14/08/2015
Mulțumiri : 0
Internet Explorer phpBB2

http://idle.dust.tv
CosmiN. a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de Zachary Lun Aug 31, 2015 12:30 pm

Bună ziua,

Am să vă rog să precizați versiunea forumului cât și link-ul pe care doriți să efectuați modificările.
Zachary

Zachary
Membru onorific
Membru onorific

Mesaje : 2394
Localizare : România
Data înscrierii : 08/05/2013
Mulțumiri : 196
Google Chrome phpBB3

https://www.forumgratuit.ro
Zachary a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de CosmiN. Lun Aug 31, 2015 1:31 pm

Versiunea este phpbb2

Cum e aici de exemplu: [Trebuie sa fiti inscris si conectat pentru a vedea acest link]
CosmiN.

CosmiN.
Membru Forumgratuit

Mesaje : 15
Varsta : 24
Data înscrierii : 14/08/2015
Mulțumiri : 0
Internet Explorer phpBB2

http://idle.dust.tv
CosmiN. a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de Zachary Lun Aug 31, 2015 2:10 pm

CosmiN. a scris:Versiunea este phpbb2

Cum e aici de exemplu: [Trebuie sa fiti inscris si conectat pentru a vedea acest link]
Raykim a scris:Bună ziua,

Am să vă rog să precizați versiunea forumului cât și link-ul pe care doriți să efectuați modificările.

Poate nu m-am făcut înțeles încă din primul mesaj. Link-ul forumului pe care doriți să efectuați modificările care este ? Am să vă rog să îl precizați în acest subiect.

Mulțumesc!
Zachary

Zachary
Membru onorific
Membru onorific

Mesaje : 2394
Localizare : România
Data înscrierii : 08/05/2013
Mulțumiri : 196
Google Chrome phpBB3

https://www.forumgratuit.ro
Zachary a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de CosmiN. Lun Aug 31, 2015 3:45 pm

Poftiți : [Trebuie sa fiti inscris si conectat pentru a vedea acest link]
CosmiN.

CosmiN.
Membru Forumgratuit

Mesaje : 15
Varsta : 24
Data înscrierii : 14/08/2015
Mulțumiri : 0
Internet Explorer phpBB2

http://idle.dust.tv
CosmiN. a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de CosmiN. Lun Aug 31, 2015 10:41 pm

UP
CosmiN.

CosmiN.
Membru Forumgratuit

Mesaje : 15
Varsta : 24
Data înscrierii : 14/08/2015
Mulțumiri : 0
Internet Explorer phpBB2

http://idle.dust.tv
CosmiN. a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de Zachary Lun Aug 31, 2015 11:16 pm

Cum pot face statisticile ca pe un forum ipb Info10
Buna seara,

Va rugam sa readuceti in atentie intrebarea dumneavoastra doar daca au trecut cel putin 24 de ore fara sa primiti un raspuns. Pentru actualizarea mesajului anterior puteti folosi butonul Butonul editeaza.
Mulţumesc pentru înţelegere!
Zachary

Zachary
Membru onorific
Membru onorific

Mesaje : 2394
Localizare : România
Data înscrierii : 08/05/2013
Mulțumiri : 196
Google Chrome phpBB3

https://www.forumgratuit.ro
Zachary a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de Kara Mier Sept 02, 2015 1:03 pm

Cauta în index_body asta:
Cod:
    <div class="main-content">
          <div id="stats">
            <p class="right">{TOTAL_POSTS}</p>
            <p>{TOTAL_USERS}</p>
            <p>{NEWEST_USER}</p>
          </div>

Șterge și adaugă :
Cod:
 <div id="stats">
                      <br />
                      <ul class="statsPers">
                        <li class="statHide rdtOn">{RECORD_USERS}</li>
                        <li class="statHide lastUser">{NEWEST_USER}</li>
                        <li class="statHide totalUser">{TOTAL_USERS}</li>
                        <li class="statHide totalPost">{TOTAL_POSTS}</li>
                      </ul>
                  <br />
           
              </div>

Javascript
Amplasare: Index
Cod:
$(document).ready(function(){
    var rdtOn = $('.rdtOn strong').html();
    var lastUser = $('.lastUser strong').html();
    var totalUser = $('.totalUser strong').html();
    var totalPost = $('.totalPost strong').html();
    $('ul.statsPers').prepend('
    <li><span>'+totalPost+'</span> Total posts</li>
    <li><span>'+totalUser+'</span> Total members</li>
    <li><span>'+lastUser+'</span> Newest member</li>
    <li><span>'+rdtOn+'</span> Most online</li>
    ');
    });

Css :
Cod:
  #stats {
    margin: 0 auto !important;
    text-align: center !important;
    display: table;
    background: none;
    }Łpanda_selector_1416386460100_2_m_pandaŁ{display:none !important;}
    .statsPers li span a {
    text-decoration: none !important;
    }
    .statsPers li > span {
    padding: 5px 8px;
    background: #E1E1E1;
    box-shadow: inset rgba(0, 0, 0, 0.3) 0px 1px 2px, rgba(255, 255, 255, 1) 0px 1px 0px;
    -moz-box-shadow: inset rgba(0, 0, 0, 0.3) 0px 1px 2px, rgba(255, 255, 255, 1) 0px 1px 0px;
    -webkit-box-shadow: inset rgba(0, 0, 0, 0.3) 0px 1px 2px, rgba(255, 255, 255, 1) 0px 1px 0px;
    -o-box-shadow: inset rgba(0, 0, 0, 0.3) 0px 1px 2px, rgba(255, 255, 255, 1) 0px 1px 0px;
    border: 1px solid #E1E1E1;
    margin-bottom: 10px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -o-border-radius: 3px;
    text-shadow: 1px 1px 0 white;
    color: #111;
    font-weight: 700;
    }
    .statsPers li {
    float: left;
    color:#666;
    margin: 2px 10px;
    }
    .statsPers {
    list-style: none;
    display: block;
    margin: 0px auto;
    width: 100%;
    }
Kara

Kara
Membru onorific
Membru onorific

Mesaje : 1221
Varsta : 24
Localizare : Gotham
Data înscrierii : 12/12/2013
Mulțumiri : 162
Google Chrome punBB

https://evilsdesign.forumgratuit.ro/
Kara a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de SSYT Mier Sept 02, 2015 2:59 pm

Salut, foloseste acest cod pentru ceva original si unic IP. Board A face cu ochiul
Intra in:
Panou de administrare ~> Afisare ~> Template-uri ~> General ~> index_body
si adauga acest cod:
Cod:
<!-- BEGIN disable_viewonline -->
<div id="board_stats">
  <ul class="ipsType_small ipsList_inline">
    <li class="clear">
      <span class="value">{TOTAL_POSTS}</span>
      Total Posts
    </li>
    <li class="clear">
      <span class="value">{TOTAL_USERS}</span>
      Total Members
    </li>
    <li class="clear">
      {NEWEST_USER}
      Newest Member
    </li>
    <li class="clear" data-tooltip="">
      <span class="value">{RECORD_USERS}</span>
      Most Online
    </li>
  </ul>
</div>
<div id="board_statistics" class="statistics clearfix">
  <ul id="stat_links" class="ipsList_inline right ipsType_small">
    <!-- Hook point -->
    <li><a href="#" title="View the moderating team">The Moderating Team</a></li>
    <li><a href="#" title="View today's top 20 posters">Today's Top Posters</a></li>
    <li><a href="#" title="View the board's overall top posters">Overall Top Posters</a></li>
    <li>
      <a href="#" title="Most Liked Content">
        Most Liked Content
      </a>
    </li>
  </ul>
  <h4 class="statistics_head">0 users are online (in the past 15 minutes)</h4>
  <p class="statistics_brief desc">
    {TOTAL_USERS_ONLINE}
  </p>
  <br />
  <p>{LOGGED_IN_USER_LIST}</p>
</div>
<script type="text/javascript">
  //<![CDATA[
  $(function() {
   $('div#board_stats ul.ipsType_small.ipsList_inline').each(function() {
      var str = [];
        str[0] = $('li.clear:eq(0) span.value strong', this).text(), str[1] = $('li.clear:eq(1) span.value strong', this).text(), str[2] = $('li.clear:eq(2) strong:eq(0)', this).text(), str[5] = $('li.clear:eq(2) a[href^="/u"]', this).attr('href'), str[3] = $('li.clear:eq(3) span.value strong', this).text(), str[4] = $('li.clear:eq(3) span.value', this).text().split(/, /g)[1].split(" - ")[0];
        $('li.clear:eq(3)', this).attr({'data-tooltip' : str[4], 'title' : str[4]});
        $('li.clear:eq(0) span.value', this).html(str[0]);
        $('li.clear:eq(1) span.value', this).html(str[1]);
        $('li.clear:eq(3) span.value', this).html(str[3]);
        $('li.clear:eq(2)', this).html('<a hovercard-ref="member" hovercard-id="'+ str[5].match(/\d+/g)[0] +'" data-ipb="noparse" class="url fn name  value ___hover___member _hoversetup" href="'+ str[5] +'" title="" id="anonymous_element_20"><span itemprop="name">'+ str[2] +'</span></a>  Newest Member');
     });
     
     $('div#board_statistics').each(function() {
        var strVal = [];
        strVal[1] = $('p:eq(0)', this).text().match(/\d+/g)[0], strVal[2] = $('p:eq(0)', this).text().match(/\d+/g)[1], strVal[3] = $('p:eq(0)', this).text().match(/\d+/g)[2], strVal[4] = $('p:eq(0)', this).text().match(/\d+/g)[3];
        $('h4.statistics_head').html(strVal[1] + ' users are online (in the past 15 minutes)');
        $('p:eq(0)', this).html(''+ strVal[2] +' members, '+ strVal[4] +' guests, '+ strVal[3] +' anonymous users&nbsp;&nbsp;' + '<a href="/viewonline" title="See full list">(See full list)</a>');
        $('p:eq(1)', this).html($('p:eq(1) a', this));
     });
  });
  //]]>
</script>
<!-- END disable_viewonline -->

si in:
Panou de administrare ~> Afisare ~> Imagini si culori ~> Culori ~> Foaia de stil CSS
Cod:
/* IPB. Board Statistics CSS */
#board_stats ul {
    text-align: center;
}

ol, ul {
    list-style: none;
}

.ipsType_small {
    font-size: 12px;
}

#board_stats li {
    margin-right: 20px;
}

.ipsList_inline>li:first-child {
    margin-left: 0;
}

.ipsList_inline>li {
    display: inline-block;
    margin: 0 3px;
}

.clear {
    clear: both;
}

#board_stats .value {
    display: inline-block;
    background: #e2e2e2;
    color: #4a4a4a;
    padding: 2px 6px;
    font-weight: bold;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin-right: 3px;
}

li.clear {
    height: auto;
}

.statistics {
    margin: 20px 0 0 0;
    padding: 10px 0;
    border-top: 3px solid #d8d8d8;
    line-height: 1.3;
    overflow: hidden;
}

.right {
    float: right;
}

.statistics_head {
    font-size: 14px;
    font-weight: bold;
}

li.clear a, .statistics a {
    text-decoration: none;
}
SSYT

SSYT
Membru onorific
Membru onorific

Mesaje : 1424
Varsta : 29
Localizare : Romania, localhost:80
Data înscrierii : 10/08/2015
Mulțumiri : 199
Opera phpBB3

https://help.forumgratuit.ro
SSYT a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de Siqxut Mier Sept 02, 2015 3:36 pm

Salut , incearca aceste coduri.
Poftim aici:
Adaugă acest cod în index_body :
Cod:

<div id='board_stats'
<ul class="ipsType_small ipsList_inline">

           <center>     <dl>
             <div id='board_statistics'><span class="FORUMCOUNTPOST"></span></div> Posturi
             <div id='board_statistics'><span class='FORUMCOUNTUSER'></span></div> Membrii
             <div id='board_statistics'><span class='FORUMLASTUSERLINK'></span></div>  Cel mai nou membru
             <div id='board_statistics'><span class='FORUMCOUNTOPIC'></span></div> Online in momentul acesta
             </dl></center>
  </ul>
  </div>
<div id="pun-info" class="main">
  <div class="statistics_head">Statistici</div>
   <div class="main-statistics">
      <div id="onlinelist">
         <img src="{L_ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" />
         <p class="right">
            <!-- BEGIN switch_viewonline_link -->
            <a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a>
            <!-- END switch_viewonline_link -->
            <!-- BEGIN switch_viewonline_nolink -->
            {L_WHO_IS_ONLINE}
            <!-- END switch_viewonline_nolink -->
         </p>
         <p>{TOTAL_USERS_ONLINE}<br />
               
         {LOGGED_IN_USER_LIST}
         {L_ONLINE_USERS}
         {L_CONNECTED_MEMBERS}<br />
         {L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}</p>
         <div class="clear"></div>

și în css :
Cod:
#board_statistics {
display: inline-block;
background: #222 url('http://i56.servimg.com/u/f56/17/97/98/69/highli19.png') repeat-x 0 0;
color: #fff;
text-shadow: rgba(0,0,0,0.8) 0px -1px 0px;
padding: 3px 7px;
font-weight: bold;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
margin-right: 3px;
-webkit-box-shadow: inset rgba(255,255,255,0.03) 0px 1px 0px;
-moz-box-shadow: inset rgba(255,255,255,0.03) 0px 1px 0px;
box-shadow: inset rgba(255,255,255,0.03) 0px 1px 0px;
}
Siqxut

Siqxut
Membru nou

Mesaje : 5
Varsta : 27
Data înscrierii : 31/08/2015
Mulțumiri : 2
Internet Explorer punBB

Siqxut a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de mr.franta Sam Sept 05, 2015 8:06 pm

Buna ziua,am adaptaptat statisticile IPB pentru forumul dumneavoastra si complatibil pentru phpbb2.
Va rog sa inlocuiti intregul index_body cu acesta.
Cod:

{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <!-- BEGIN message_admin_titre -->
   <tr>
      <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
   </tr>
   <!-- END message_admin_titre -->
   <!-- BEGIN message_admin_txt -->
   <tr>
      <td class="row1" rowspan="3" align="center" valign="middle">
      <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
      </td>
   </tr>
   <!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                  <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                  <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%" class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle" align="right">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                           <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                           <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td width="50%" valign="top">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
         <!-- END switch_user_logged_in -->
         <!-- BEGIN switch_delete_cookies -->
         <br /><span class="gensmall"><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_delete_cookies.L_DELETE_COOKIES}</a></span>
         <!-- END switch_delete_cookies -->
      </td>
      
   </tr>
</table>

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                  <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                  <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%" class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span>&nbsp;</td>
                           <td><input class="post" type="text" size="10" name="username"/>&nbsp;</td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span>&nbsp;
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span>&nbsp;</td>
                           <td><input class="post" type="password" size="10" name="password"/>&nbsp;</td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->

<!-- BEGIN disable_viewonline -->
 

<div id="board_stats">
  <ul class="ipsType_small ipsList_inline">
    <li class="clear">
      <span class="value">{TOTAL_POSTS}</span>
      Total Posts
    </li>
    <li class="clear">
      <span class="value">{TOTAL_USERS}</span>
      Total Members
    </li>
    <li class="clear">
      {NEWEST_USER}
      Newest Member
    </li>
    <li class="clear" data-tooltip="">
      <span class="value">{RECORD_USERS}</span>
      Most Online
    </li>
  </ul>
</div>
           
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
  <tr>
    <th align="right" class="links">
<span class="gensmall">
            <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>
            <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a>
            <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>   
      </span>
      </th>
  </tr>
  <tr>
      <td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br /><br />
                  {LEGEND}&nbsp;:&nbsp;{GROUP_LEGEND}<br /><br />
                        {LOGGED_IN_USER_LIST}
                  </span></td>
   </tr>
</table>

<script type="text/javascript">
  //<![CDATA[
  $(function() {
  $('div#board_stats ul.ipsType_small.ipsList_inline').each(function() {
      var str = [];
        str[0] = $('li.clear:eq(0) span.value strong', this).text(), str[1] = $('li.clear:eq(1) span.value strong', this).text(), str[2] = $('li.clear:eq(2) strong:eq(0)', this).text(), str[5] = $('li.clear:eq(2) a[href^="/u"]', this).attr('href'), str[3] = $('li.clear:eq(3) span.value strong', this).text(), str[4] = $('li.clear:eq(3) span.value', this).text().split(/, /g)[1].split(" - ")[0];
        $('li.clear:eq(3)', this).attr({'data-tooltip' : str[4], 'title' : str[4]});
        $('li.clear:eq(0) span.value', this).html(str[0]);
        $('li.clear:eq(1) span.value', this).html(str[1]);
        $('li.clear:eq(3) span.value', this).html(str[3]);
        $('li.clear:eq(2)', this).html('<a hovercard-ref="member" hovercard-id="'+ str[5].match(/\d+/g)[0] +'" data-ipb="noparse" class="url fn name  value ___hover___member _hoversetup" href="'+ str[5] +'" title="" id="anonymous_element_20"><span itemprop="name">'+ str[2] +'</span></a>  Newest Member');
    });
   
    $('div#board_statistics').each(function() {
        var strVal = [];
        strVal[1] = $('p:eq(0)', this).text().match(/\d+/g)[0], strVal[2] = $('p:eq(0)', this).text().match(/\d+/g)[1], strVal[3] = $('p:eq(0)', this).text().match(/\d+/g)[2], strVal[4] = $('p:eq(0)', this).text().match(/\d+/g)[3];
        $('h4.statistics_head').html(strVal[1] + ' users are online (in the past 15 minutes)');
        $('p:eq(0)', this).html(''+ strVal[2] +' members, '+ strVal[4] +' guests, '+ strVal[3] +' anonymous users&nbsp;&nbsp;' + '<a href="/viewonline" title="See full list">(See full list)</a>');
        $('p:eq(1)', this).html($('p:eq(1) a', this));
    });
  });
  //]]>
</script>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
   <tr>
      <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
      <td>&nbsp;&nbsp;</td>
      <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
      <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
   </tr>
</table>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
    FB.init({
      appId      : {switch_fb_index_login.FACEBOOK_APP_ID},
      cookie    : true,
      xfbml      : true,
      oauth      : true,
      version    : 'v2.3'
    });

  (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->

<style>
/* IPB. Board Statistics CSS */
#board_stats ul {
    text-align: center;
}

ol, ul {
    list-style: none;
}

.ipsType_small {
    font-size: 12px;
}

#board_stats li {
    margin-right: 20px;
}

.ipsList_inline>li:first-child {
    margin-left: 0;
}

.ipsList_inline>li {
    display: inline-block;
    margin: 0 3px;
}

.clear {
    clear: both;
}

#board_stats .value {
    display: inline-block;
    background: #e2e2e2;
    color: #4a4a4a;
    padding: 2px 6px;
    font-weight: bold;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin-right: 3px;
}

li.clear {
    height: auto;
}

.statistics {
    margin: 20px 0 0 0;
    padding: 10px 0;
    border-top: 3px solid #d8d8d8;
    line-height: 1.3;
    overflow: hidden;
}

.right {
    float: right;
}

.statistics_head {
    font-size: 14px;
    font-weight: bold;
}

li.clear a, .statistics a {
    text-decoration: none;
}
</style>
Salvati si plublicati template-ul.
Nu va mai trebuie nimic,am introdus in el css,si javascript.
mr.franta

mr.franta
Membru onorific
Membru onorific

Mesaje : 1401
Varsta : 35
Localizare : Giurgiu
Data înscrierii : 18/02/2012
Mulțumiri : 130
Google Chrome phpBB2

https://frannnta-design.forumgratuit.ro/
mr.franta a fost mulțumit de autorul acestui subiect.

In cos Re: Cum pot face statisticile ca pe un forum ipb

Mesaj Scris de Emanuel Lun Sept 14, 2015 10:28 pm

Cum pot face statisticile ca pe un forum ipb Garbag10
Avand in vedere ca in ultimele 2 saptamani autorul nu a mai aratat interes pentru acesta problema, topicul va fi inchis si trimis in cos. Daca problema nu a fost rezolvata, va invitam sa deschideti un nou topic, in sectiunea corespunzatoare si avind un titlu explicit.

=> Topic trimis in cosul de gunoi

Emanuel

Emanuel
Membru onorific
Membru onorific

Mesaje : 3125
Varsta : -5
Data înscrierii : 06/11/2012
Mulțumiri : 844
Safari punBB

http://www.infinigame.biz/
Emanuel a fost mulțumit de autorul acestui subiect.

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum