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.

Problema statistici

Pagina 2 din 3 Înapoi  1, 2, 3  Urmatorul

Vezi subiectul anterior Vezi subiectul urmator In jos

Rezolvat Problema statistici

Mesaj Scris de Fantasy Sam Mar 24, 2018 11:36 pm

Rezumarea primului mesaj :

Salut ! Am urmarit acest tutorial, e totul aproximativ ok, doar ca nu mai apar cum trebuie, apar asa:
statistici phpbb2 - Problema statistici  - Pagina 2 Untitl11

in loc sa apara asa:

statistici phpbb2 - Problema statistici  - Pagina 2 14y9xl10
Fantasy

Fantasy
Membru onorific
Membru onorific

Mesaje : 2041
Varsta : 28
Localizare : Brăila / România
Data înscrierii : 07/01/2013
Mulțumiri : 87
Opera punBB

http://diversforum.forumgratuit.ro
Fantasy a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de mr.franta Joi Apr 05, 2018 4:58 pm

Schimba browser-ul in opera si spune-ne daca mai este la fel.
mr.franta

mr.franta
Membru onorific
Membru onorific

Mesaje : 1403
Varsta : 36
Localizare : Giurgiu
Data înscrierii : 18/02/2012
Mulțumiri : 130
Google Chrome AwesomeBB

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

Rezolvat Re: Problema statistici

Mesaj Scris de Fantasy Joi Apr 05, 2018 5:51 pm

E la fel...
Fantasy

Fantasy
Membru onorific
Membru onorific

Mesaje : 2041
Varsta : 28
Localizare : Brăila / România
Data înscrierii : 07/01/2013
Mulțumiri : 87
Opera punBB

http://diversforum.forumgratuit.ro
Fantasy a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Petronel Mar Apr 10, 2018 2:31 pm

Bună ziua , din câte observ forumul dumneavoastră este în stadiul de mentenanţă, ceea ce rezultă că nu pot accesa forumul cu pricina , pentru a îmi da seama care este problema .

Cu stimă @Lucifer , numai bine! La revedere
Petronel

Petronel
Membru onorific
Membru onorific

Mesaje : 1046
Varsta : 22
Localizare : Constanţa & Calarasi
Data înscrierii : 21/05/2016
Mulțumiri : 113
Google Chrome AwesomeBB

https://www.fgdesign.biz/
Petronel a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Fantasy Mar Apr 10, 2018 3:54 pm

L-am scos din mentenanta !
Fantasy

Fantasy
Membru onorific
Membru onorific

Mesaje : 2041
Varsta : 28
Localizare : Brăila / România
Data înscrierii : 07/01/2013
Mulțumiri : 87
Opera punBB

http://diversforum.forumgratuit.ro
Fantasy a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Petronel Mar Apr 10, 2018 3:59 pm

Rekool a scris:L-am scos din mentenanta !

Salutări , statisticile din câte văd funcţionează :
statistici phpbb2 - Problema statistici  - Pagina 2 Screen23

Problema ar fi din browser , aţi încercat să testaţi şi un alt tip de browser ?
Petronel

Petronel
Membru onorific
Membru onorific

Mesaje : 1046
Varsta : 22
Localizare : Constanţa & Calarasi
Data înscrierii : 21/05/2016
Mulțumiri : 113
Google Chrome AwesomeBB

https://www.fgdesign.biz/
Petronel a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Fantasy Mar Apr 10, 2018 4:17 pm

Mai sus am scris ca nu e de la browser Haha . Cand intru pe forum apar, daca daca rr la pagina sau intru in PA, dispar  Supărat.
Fantasy

Fantasy
Membru onorific
Membru onorific

Mesaje : 2041
Varsta : 28
Localizare : Brăila / România
Data înscrierii : 07/01/2013
Mulțumiri : 87
Opera punBB

http://diversforum.forumgratuit.ro
Fantasy a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Petronel Mar Apr 10, 2018 4:29 pm

Atunci încercaţi următoarele statistici :
statistici phpbb2 - Problema statistici  - Pagina 2 Captur24

Urmati pasii de mai jos pentru a obtine statisticile din imaginea de mai sus!

Panou de administrare => MODULE => HTML & JAVASCRIPT =>
Gestiunea codurilor JavaScript => Creeaza un cod JavaScript

Cod:
jQuery(document).ready(function($) {
  function getData() {
      var Element = $('body');
  $.get('/popup_help.forum?l=miscvars',
      function(d) {
      var link_forum = $('li:contains({FORUMURLINK}) a',
                        d).text(),
         
          agre = $('li:contains({FORUMAGE})',
                d).text().match(/\d+/g)[0],
         
          count_form = $('li:contains({FORUMCOUNTFORUM})',
                  d).text().match(/\d+/g)[0],
         
          posts = $('li:contains({FORUMCOUNTPOST})',
                  d).text().match(/\d+/g)[0],
         
          topics = $('li:contains({FORUMCOUNTOPIC})',
                  d).text().match(/\d+/g)[0],
         
          users = $('li:contains({FORUMCOUNTUSER})',
                  d).text().match(/\d+/g)[0],
         
          record = $('li:contains({FORUMONLINEUSER})',
                  d).text().match(/\d+/g)[0],
         
          lastusers = $('li:contains({FORUMLASTUSERLINK}) a',
                      d).text();   
       
      $(Element).each(function() {
       
        this.innerHTML= this.innerHTML.replace(/\{.GetDataLink\}/g,
                                              link_forum);
       
        this.innerHTML= this.innerHTML.replace(/\{.GetDataAgre\}/g,
                                              agre);
       
        this.innerHTML= this.innerHTML.replace(/\{.GetDataCForum\}/g,
                                              count_form);
       
        this.innerHTML= this.innerHTML.replace(/\{.GetDataPost\}/g,
                                              posts);
       
        this.innerHTML= this.innerHTML.replace(/\{.GetDataTopic\}/g,
                                              topics);
       
        this.innerHTML= this.innerHTML.replace(/\{.GetDataUsers\}/g,
                                              users);
       
        this.innerHTML= this.innerHTML.replace(/\{.GetDataRecord\}/g,
                                              record);
       
        this.innerHTML= this.innerHTML.replace(/\{.GetDataLastUsers\}/g,
                                              lastusers);     
       
    });
    });
  } getData();
});


Panou de administrare => AFISARE => CULORI =>
Foaie de stil CSS => Adauga codul de mai jos :

Cod:
#board_stats
ul{text-align:center;background:#1a1a1a;-moz-box-shadow:rgba(0,0,0,0.15) 0px 1px 3px;-webkit-box-shadow:rgba(0,0,0,0.15) 0px 1px 3px;box-shadow:rgba(0,0,0,0.15) 0px 1px 3px;text-transform:uppercase;font-size:11px;font-weight:normal;font-family:Calibri,Candara,Segoe,"Segoe UI",Optima,Arial,sans-serif;text-shadow:rgba(0,0,0,0.4) 0px -1px 0px}#board_stats
li{margin-right:20px}#board_stats
.value{display:inline-block;background:#232323;color:#bcbcbc;font-size:12px;font-weight:normal;font-family:Calibri,Candara,Segoe,"Segoe UI",Optima,Arial,sans-serif;text-shadow:rgba(0,0,0,0.4) 0px -1px 0px;padding:15px
15px;margin-right:3px;-webkit-transition:all 0.2s ease-in;transition:all 0.2s ease-in;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;background:-webkit-linear-gradient(#1a1a1a 50%, #1a1a1a 50%);background:linear-gradient(#1a1a1a 50%, #f00 50%);background-repeat:repeat;background-size:100% 200%}#board_stats .value:hover{background-color:#527496;background-position:200% 100%;color:#FCFCFC}.statistics{padding:8px;line-height:1.3;overflow:hidden;border:0px
solid #393939}#board_stats li:hover
.value{box-shadow:inset 0px -50px 0px rgba(242,38,19,0.5)}#board_stats li:hover{box-shadow:inset 0px 50px 0px rgba(255,255,255,0.1)}.statistics{margin:20px
0 0 0;padding:8px;line-height:1.3;overflow:hidden;border:1px
solid #393939}.statistics_head{border-bottom:1px solid #393939;border-top:1px solid #393939;text-shadow:rgba(0,0,0,0.8) 0px -1px 0px;background:#282828 url('http://64.19.142.10/pxgame.eu/forum/public/style_images/pxgame_v10_by____kwabs____/highlight_reallyfaint.png') repeat-x 0 -1px;font-size:11px;font-weight:bold;padding:8px;margin:-8px -8px 8px -8px}.statistics_head,
.statistics_head
a{color:#fff}.statistics .statistics_head:first-of-type{border-top:0}.statistics .statistics_head:not(:first-of-type){margin-top:0}#stat_links{font-weight:normal}#stat_links
a{margin:0
5px}

Panou de administrare => Afisare => Template =>
General => Inlocuiti vechiul Index_Body cu cel de mai jos :

Cod:

{JAVASCRIPT}

{CHATBOX_TOP}
{BOARD_INDEX}


{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 -->

 <center>    <dl>
            </script>


</script>


  <div id='board_stats'>     
      <ul class='ipsType_small ipsList_inline'>
        <li class='clear'>
            <span class='value'>{.GetDataPost}</span>
            Total Posts
        </li>
        <li class='clear'>
            <span class='value'>{.GetDataUsers}</span>
            Total Members
        </li>
        <li class='clear'>
            <span class='value'>{.GetDataLastUsers}</span>
            Newest Member
        </li>
       
            <span class='value'>{.GetDataRecord}</span>
            Most Online
        </li>
      </ul>
  </div>



            </dl></center>
  </ul>
  </div>


<div id="board_statistics" class="statistics clearfix">
  <p class="statistics_brief desc">
      <div class="clearfix"><div class="left">{TOTAL_USERS_ONLINE}</div> <a href="{U_VIEWONLINE}" rel="nofollow" class="viewonline right">{L_VIEW_COMPLETE_LIST}</a></div>
  </p>
 
 
      <br>
      <div class="thin">{LOGGED_IN_USER_LIST}{L_CONNECTED_MEMBERS}</div>
                 
  <script type="text/javascript">
  function toggleMOT()
  {
      if ( $('mot_body').hasClassName('collapsedMOT') )
      {
        $('mot_body').removeClassName('collapsedMOT');
        new Effect.BlindDown( $( $('mot_body') ) );
        ipb.Cookie.set( 'membersOnlineToday', 0, 1 );
        $('mot_expand').hide();
        $('mot_collapse').show();
      }
      else
      {
        $('mot_body').addClassName('collapsedMOT');
        new Effect.BlindUp( $( $('mot_body') ) );
        ipb.Cookie.set( 'membersOnlineToday', 1, 1 );
        $('mot_expand').show();
        $('mot_collapse').hide();
      }
  }
</script>
<br>
<h4>
 
            <br>
            <ul>
              <span id="groupLegend">{GROUP_LEGEND}</span>

<br>

</tr>
</tbody></table>
</div>
</div>
 

Petronel

Petronel
Membru onorific
Membru onorific

Mesaje : 1046
Varsta : 22
Localizare : Constanţa & Calarasi
Data înscrierii : 21/05/2016
Mulțumiri : 113
Google Chrome AwesomeBB

https://www.fgdesign.biz/
Petronel a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Fantasy Mar Apr 10, 2018 5:14 pm

Nu vreau alte statistici. Eu vreau o rezolvare la aceata problema, daca e posibil. Daca nu-i posibil, o las asa... Multumesc oricum !
Fantasy

Fantasy
Membru onorific
Membru onorific

Mesaje : 2041
Varsta : 28
Localizare : Brăila / România
Data înscrierii : 07/01/2013
Mulțumiri : 87
Opera punBB

http://diversforum.forumgratuit.ro
Fantasy a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Petronel Mar Apr 10, 2018 5:27 pm

Postează aici Index_Body
Petronel

Petronel
Membru onorific
Membru onorific

Mesaje : 1046
Varsta : 22
Localizare : Constanţa & Calarasi
Data înscrierii : 21/05/2016
Mulțumiri : 113
Google Chrome AwesomeBB

https://www.fgdesign.biz/
Petronel a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Fantasy Mar Apr 10, 2018 11:20 pm

Cod:
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
   <ul>
      <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
         <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
      <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>   
      <li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
   </ul>
   <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->

<!-- BEGIN switch_user_logged_out --><div class="main-content" style="padding:10px;margin-bottom:4px">
<!-- <div id="pun-visit"> -->
   <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
<!-- </div>--></div>
<!-- END switch_user_logged_out -->

<!-- BEGIN message_admin_index -->
<div class="main">
   <!-- BEGIN message_admin_titre -->
   <div class="main-head">
      <h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
   </div>
   <!-- END message_admin_titre -->

   <!-- BEGIN message_admin_txt -->
   <div id="pun-announcement">
      <p>{message_admin_index.message_admin_txt.MES_TXT}</p>
   </div>
   <!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <div class="user_login_form main-box center">
      <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label> &nbsp;
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label> &nbsp;
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label> &nbsp;
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
      <!-- END switch_fb_connect -->
   </div>
</form>
</div>
<!-- END switch_user_login_form_header -->

{CHATBOX_TOP}
{BOARD_INDEX}
<script>
  $(document).ready(function(){
var rdtOn = $('.rdtOn strong').html();
var lastUser = $('.lastUser strong').html();
var totalUser = $('.totalUser strong').html();
var totalPost = $('.totalPost strong').html();
 
 

<!-- BEGIN disable_viewonline -->
    <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>


<center><div class="technodesign">
<span class="FORUMCOUNTOPIC"></span>
<br><i class="fa fa-comment"></i> &nbsp;Total Topicuri</div>
<div class="technodesign">
<span class="FORUMCOUNTPOST"></span>
<br><i class="fa fa-comments"></i> &nbsp;Total Posturi</div>
<div class="technodesign">
<span class="FORUMCOUNTUSER"></span>
<br><i class="fa fa-users"></i> &nbsp;Total Membri</div>
<div class="technodesign">
<span class="FORUMLASTUSERLINK"></span>
<br><i class="fa fa-user-plus"></i> &nbsp;Membru Nou</span>
  </div></center>

<div id="pun-info" class="main">
   <div class="main-content">
      <div id="stats">
                  
         
         <p><i class="fa fa-users" aria-hidden="true"></i> {TOTAL_USERS_ONLINE}</p>
      </div>
      <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>
         <br />
         {LOGGED_IN_USER_LIST}
              {L_ONLINE_USERS}
         {L_CONNECTED_MEMBERS}</p>
         {L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}
         <div class="clear"></div>

         <span id="groupLegend">{GROUP_LEGEND}</span>

      </div>
      <!-- BEGIN switch_chatbox_activate -->
      <div id="onlinechat">
         <p class="page-bottom">
         {TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp;
         {CHATTERS_LIST}<br />
         <!-- BEGIN switch_chatbox_popup -->
            <div id="chatbox_popup"></div>
            <script type="text/javascript">
               insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
            </script>
         <!-- END switch_chatbox_popup -->
         </p>
      </div>
      <!-- END switch_chatbox_activate -->
   </div>
</div>
<!-- END disable_viewonline -->

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <div class="user_login_form main-box center">
           <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label> &nbsp;
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label> &nbsp;
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label> &nbsp;
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" 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>
      <!-- END switch_fb_connect -->
   </div>
</form>
<!-- END switch_user_login_form_footer -->

{CHATBOX_BOTTOM}

<!-- BEGIN switch_legend -->
<ul id="pun-legend" style="display:none;">
   <li>
      <img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" />&nbsp;{L_NEW_POSTS}
      <img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" />&nbsp;{L_NO_NEW_POSTS}
      <img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />&nbsp;{L_FORUM_LOCKED}
   </li>
</ul>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
    status: true,
    cookie: true,
    xfbml: true,
   oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->

Fantasy

Fantasy
Membru onorific
Membru onorific

Mesaje : 2041
Varsta : 28
Localizare : Brăila / România
Data înscrierii : 07/01/2013
Mulțumiri : 87
Opera punBB

http://diversforum.forumgratuit.ro
Fantasy a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Petronel Mar Apr 10, 2018 11:30 pm

Înlocuieşte cu :
Cod:

 
{JAVASCRIPT}
<!-- BEGIN switch_user_logged_in -->
<div id="pun-visit" class="clearfix">
  <ul>
      <li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li>
        <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
      <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li> 
      <li><a href="{U_MARK_READ}">{L_MARK_FORUMS_READ}</a></li>
  </ul>
  <p>{LOGGED_AS}. {LAST_VISIT_DATE}</p>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out --><div class="main-content" style="padding:10px;margin-bottom:4px">
<!-- <div id="pun-visit"> -->
  <p>{L_NOT_CONNECTED} {L_LOGIN_REGISTER}</p>
<!-- </div>--></div>
<!-- END switch_user_logged_out -->
<!-- BEGIN message_admin_index -->
<div class="main">
  <!-- BEGIN message_admin_titre -->
  <div class="main-head">
      <h1 class="page-title">{message_admin_index.message_admin_titre.MES_TITRE}</h1>
  </div>
  <!-- END message_admin_titre -->
  <!-- BEGIN message_admin_txt -->
  <div id="pun-announcement">
      <p>{message_admin_index.message_admin_txt.MES_TXT}</p>
  </div>
  <!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->
<!-- BEGIN switch_user_login_form_header -->
<div class="main">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
  <div class="user_login_form main-box center">
      <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username" /></label> &nbsp;
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password" /></label> &nbsp;
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label> &nbsp;
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
      <!-- END switch_fb_connect -->
  </div>
</form>
</div>
<!-- END switch_user_login_form_header -->
{CHATBOX_TOP}
{BOARD_INDEX}
<script>
  $(document).ready(function(){
var rdtOn = $('.rdtOn strong').html();
var lastUser = $('.lastUser strong').html();
var totalUser = $('.totalUser strong').html();
var totalPost = $('.totalPost strong').html();
 
 
<!-- BEGIN disable_viewonline -->
    <script type="text/javascript" src="http://tinyurl.com/var-fa"></script>
<center><div class="technodesign">
<span class="{.GetDataTopic}"></span>
<br><i class="fa fa-comment"></i> &nbsp;Total Topicuri</div>
<div class="technodesign">
<span class="{.GetDataPost}"></span>
<br><i class="fa fa-comments"></i> &nbsp;Total Posturi</div>
<div class="technodesign">
<span class="{.GetDataUsers}"></span>
<br><i class="fa fa-users"></i> &nbsp;Total Membri</div>
<div class="technodesign">
<span class="{.GetDataLastUsers}"></span>
<br><i class="fa fa-user-plus"></i> &nbsp;Membru Nou</span>
  </div></center>
<div id="pun-info" class="main">
  <div class="main-content">
      <div id="stats">
                 
       
        <p><i class="fa fa-users" aria-hidden="true"></i> {TOTAL_USERS_ONLINE}</p>
      </div>
      <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>
        <br />
        {LOGGED_IN_USER_LIST}
              {L_ONLINE_USERS}
        {L_CONNECTED_MEMBERS}</p>
        {L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}
        <div class="clear"></div>
        <span id="groupLegend">{GROUP_LEGEND}</span>
      </div>
      <!-- BEGIN switch_chatbox_activate -->
      <div id="onlinechat">
        <p class="page-bottom">
        {TOTAL_CHATTERS_ONLINE}&nbsp;:&nbsp;
        {CHATTERS_LIST}<br />
        <!-- BEGIN switch_chatbox_popup -->
            <div id="chatbox_popup"></div>
            <script type="text/javascript">
              insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
            </script>
        <!-- END switch_chatbox_popup -->
        </p>
      </div>
      <!-- END switch_chatbox_activate -->
  </div>
</div>
<!-- END disable_viewonline -->
<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
  <div class="user_login_form main-box center">
          <label><span class="genmed">{L_USERNAME} :</span> <input class="post" type="text" size="10" name="username"/></label> &nbsp;
      <label><span class="genmed">{L_PASSWORD} :</span> <input class="post" type="password" size="10" name="password"/></label> &nbsp;
      <label><span class="gensmall">{L_AUTO_LOGIN}</span> <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label> &nbsp;
      {S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" />
      <!-- BEGIN switch_fb_connect -->
      <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
      <fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" 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>
      <!-- END switch_fb_connect -->
  </div>
</form>
<!-- END switch_user_login_form_footer -->
{CHATBOX_BOTTOM}
<!-- BEGIN switch_legend -->
<ul id="pun-legend" style="display:none;">
  <li>
      <img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" />&nbsp;{L_NEW_POSTS}
      <img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" />&nbsp;{L_NO_NEW_POSTS}
      <img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" />&nbsp;{L_FORUM_LOCKED}
  </li>
</ul>
<!-- END switch_legend -->
{AUTO_DST}
<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
  appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
    status: true,
    cookie: true,
    xfbml: true,
  oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->


După adugi codul JS de sus .
Petronel

Petronel
Membru onorific
Membru onorific

Mesaje : 1046
Varsta : 22
Localizare : Constanţa & Calarasi
Data înscrierii : 21/05/2016
Mulțumiri : 113
Google Chrome AwesomeBB

https://www.fgdesign.biz/
Petronel a fost mulțumit de autorul acestui subiect.

Rezolvat Re: Problema statistici

Mesaj Scris de Fantasy Mier Apr 11, 2018 12:09 am

Nu merge...
Fantasy

Fantasy
Membru onorific
Membru onorific

Mesaje : 2041
Varsta : 28
Localizare : Brăila / România
Data înscrierii : 07/01/2013
Mulțumiri : 87
Opera punBB

http://diversforum.forumgratuit.ro
Fantasy a fost mulțumit de autorul acestui subiect.

Pagina 2 din 3 Înapoi  1, 2, 3  Urmatorul

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum