Cs.RomFoRce.NeT
connect 77.36.64.67:27015

Alăturați-vă forumului, este rapid și ușor

Cs.RomFoRce.NeT
connect 77.36.64.67:27015
Cs.RomFoRce.NeT
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

Tutorial instalare activity_stats [pgpbb3]

In jos

Tutorial instalare activity_stats [pgpbb3] Empty Tutorial instalare activity_stats [pgpbb3]

Mesaj  gLonTz Dum Sept 18, 2011 8:36 am

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();

[size=150]PROSILVER[/size]

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

[size=150]SUBSILVER2[/size]

* 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
Atașamente
Tutorial instalare activity_stats [pgpbb3] Attachment
activity_stats_mod.zip Nu aveti permisiunea sa descarcati atasamente aici.(33 KB) Descarcat de 1 ori
gLonTz
gLonTz
Administrator
Administrator

Mesaje : 106
Reputatie : 3
Data de inscriere : 27/01/2011
Varsta : 32
Localizare : Comarnic - Prahova

https://romforce.all-up.com

Sus In jos

Sus

- Subiecte similare

 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum