Bine ai venit pe forum!
Te rugam sa te inregistrezi daca nu ai cont!

Nu sunteti conectat. Conectati-va sau inregistrati-va

Instalare activity stats mod phpbb3

In jos  Mesaj [Pagina 1 din 1]

1 Instalare activity stats mod phpbb3  Empty Instalare activity stats mod phpbb3 la data de Vin Mai 06, 2011 4:36 pm

Matrix

Matrix
Membru
Membru
DESCRIERE: Acest mod arata in josul paginii forumului utilizatorii autentificati in ultimele 24 de ore, utilizatorii inregistrati pe forum in ultimele 24 ore si mesajele postate pe forum.

 Instalare activity stats mod phpbb3  Phph

Autor: Highway of Life
Demo: http://www.cs-gothic.ro/forum/
Fisere de modificat:

* index.php
* styles/prosilver/subsilver2/template/index_body.html

Fisiere de uploadat:

* root/includes/functions_activity_stats.php
* root/language/en/mods/activity_stats.php

Instalare:

* Deschidem index.php:

Cautati linia:
Cod:
// Output page
page_header($user->lang['INDEX']);

Adaugati inainte:
Cod:
include($phpbb_root_path . 'includes/functions_activity_stats.' . $phpEx);
activity_mod();

PROSILVER

* Deschidem styles/prosilver/template/index_body.html:

Cautati linia:
Cod:
<!-- IF LEGEND -->
<em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>

Adaugati inainte:
Cod:
<!-- IF not S_IS_BOT -->


  {USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit -->
  <!-- ENDIF -->

Cautati linia:
Cod:
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>

Adaugati dupa:
Cod:
 <!-- IF not S_IS_BOT -->
  <h3 id="24hour_stats">{L_24HOUR_STATS}</h3>
  <p>{24HOUR_POSTS} • {24HOUR_TOPICS} • {24HOUR_USERS}</p>
  <!-- ENDIF -->

SUBSILVER2

* Deschidem styles/subsilver2/template/index_body.html:

Cautati linia:
Cod:
<td class="row1" rowspan="{%:1}" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>

Incrementati:
Cod:
%:1 +1

Cautati linia:
Cod:
<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})
{RECORD_USERS}

{LOGGED_IN_USER_LIST}</span></td>
  </tr>

Adaugati dupa:
Cod:
<!-- IF not S_IS_BOT -->
      <tr>
        <td class="row1">{USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --></td>
      </tr>
  <!-- ENDIF -->

Cautati linia:
Cod:
<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
</tr>
</table>

Adaugati dupa:
Cod:
<!-- IF not S_IS_BOT -->
  <br clear="all" />
  <table class="tablebg" width="100%" cellspacing="1">
  <tr>
      <td class="cat" colspan="2"><h4>{L_24HOUR_STATS}</h4></td>
  </tr>
  <tr>
      <td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td>
      <td class="row1" width="100%" valign="middle"><p class="genmed">{24HOUR_POSTS} | {24HOUR_TOPICS} | {24HOUR_USERS}</p></td>
  </tr>
  </table>
<!-- ENDIF -->

Apoi dati refresh la template-ul vostru !

DOWNLOAD MOD:

Link oficial: http://www.phpbb.com/community/viewtopic.php?t=839925

Daca aveti neclaritati, postati aici!

Vezi profilul utilizatorului

Sus  Mesaj [Pagina 1 din 1]

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum

 


Forumgratuit.ro | © PunBB | Forum gratuit de suport | Contact | Semnaleaza un abuz | Discuții recente