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 Rekool la data de Sam 24 Mar - 23:36

Rezumarea primului mesaj :

Salut ! Am urmarit acest tutorial, e totul aproximativ ok, doar ca nu mai apar cum trebuie, apar asa:


in loc sa apara asa:

avatar
Rekool
Membru onorific
Membru onorific

Mesaje : 1936
Varsta : 21
Localizare : Huang Shi
Data înscrierii : 07/01/2013
Multumiri : 80
Niciun avertisment

Vezi profilul utilizatorului http://diversforum.forumgratuit.ro

Sus In jos


Rezolvat Re: Problema statistici

Mesaj Scris de mr.franta la data de Joi 5 Apr - 16:58

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


Daca v-am fost de ajutor apasati butonul  
avatar
mr.franta
Asistent
Asistent

Mesaje : 1311
Varsta : 30
Localizare : Giurgiu
Data înscrierii : 18/02/2012
Multumiri : 112
Niciun avertisment

Vezi profilul utilizatorului http://www.frannnta-design.com/

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Rekool la data de Joi 5 Apr - 17:51

E la fel...
avatar
Rekool
Membru onorific
Membru onorific

Mesaje : 1936
Varsta : 21
Localizare : Huang Shi
Data înscrierii : 07/01/2013
Multumiri : 80
Niciun avertisment

Vezi profilul utilizatorului http://diversforum.forumgratuit.ro

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Lucifer la data de Mar 10 Apr - 14:31

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
avatar
Lucifer
Asistent
Asistent

Mesaje : 794
Varsta : 15
Localizare : Constanţa
Data înscrierii : 21/05/2016
Multumiri : 101
Niciun avertisment

Vezi profilul utilizatorului https://www.fgdesign.biz/

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Rekool la data de Mar 10 Apr - 15:54

L-am scos din mentenanta !
avatar
Rekool
Membru onorific
Membru onorific

Mesaje : 1936
Varsta : 21
Localizare : Huang Shi
Data înscrierii : 07/01/2013
Multumiri : 80
Niciun avertisment

Vezi profilul utilizatorului http://diversforum.forumgratuit.ro

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Lucifer la data de Mar 10 Apr - 15:59

@Rekool a scris:L-am scos din mentenanta !

Salutări , statisticile din câte văd funcţionează :


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

Mesaje : 794
Varsta : 15
Localizare : Constanţa
Data înscrierii : 21/05/2016
Multumiri : 101
Niciun avertisment

Vezi profilul utilizatorului https://www.fgdesign.biz/

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Rekool la data de Mar 10 Apr - 16:17

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.
avatar
Rekool
Membru onorific
Membru onorific

Mesaje : 1936
Varsta : 21
Localizare : Huang Shi
Data înscrierii : 07/01/2013
Multumiri : 80
Niciun avertisment

Vezi profilul utilizatorului http://diversforum.forumgratuit.ro

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Lucifer la data de Mar 10 Apr - 16:29

Atunci încercaţi următoarele statistici :


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>
 

avatar
Lucifer
Asistent
Asistent

Mesaje : 794
Varsta : 15
Localizare : Constanţa
Data înscrierii : 21/05/2016
Multumiri : 101
Niciun avertisment

Vezi profilul utilizatorului https://www.fgdesign.biz/

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Rekool la data de Mar 10 Apr - 17:14

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

Mesaje : 1936
Varsta : 21
Localizare : Huang Shi
Data înscrierii : 07/01/2013
Multumiri : 80
Niciun avertisment

Vezi profilul utilizatorului http://diversforum.forumgratuit.ro

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Lucifer la data de Mar 10 Apr - 17:27

Postează aici Index_Body
avatar
Lucifer
Asistent
Asistent

Mesaje : 794
Varsta : 15
Localizare : Constanţa
Data înscrierii : 21/05/2016
Multumiri : 101
Niciun avertisment

Vezi profilul utilizatorului https://www.fgdesign.biz/

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Rekool la data de Mar 10 Apr - 23:20

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

avatar
Rekool
Membru onorific
Membru onorific

Mesaje : 1936
Varsta : 21
Localizare : Huang Shi
Data înscrierii : 07/01/2013
Multumiri : 80
Niciun avertisment

Vezi profilul utilizatorului http://diversforum.forumgratuit.ro

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Lucifer la data de Mar 10 Apr - 23:30

Î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 .
avatar
Lucifer
Asistent
Asistent

Mesaje : 794
Varsta : 15
Localizare : Constanţa
Data înscrierii : 21/05/2016
Multumiri : 101
Niciun avertisment

Vezi profilul utilizatorului https://www.fgdesign.biz/

Sus In jos

Rezolvat Re: Problema statistici

Mesaj Scris de Rekool la data de Mier 11 Apr - 0:09

Nu merge...
avatar
Rekool
Membru onorific
Membru onorific

Mesaje : 1936
Varsta : 21
Localizare : Huang Shi
Data înscrierii : 07/01/2013
Multumiri : 80
Niciun avertisment

Vezi profilul utilizatorului http://diversforum.forumgratuit.ro

Sus In jos

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

Vezi subiectul anterior Vezi subiectul urmator Sus


Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum