Guest Alex Posted April 5, 2012 Share Posted April 5, 2012 ESCRIERE: 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. Autor: Highway of Life 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: [/color][color=#000000]// Output page[/color][color=#000000]page_header($user->lang['INDEX']);[/color][color=#000000] Adaugati inainte: include($phpbb_root_path . 'includes/functions_activity_stats.' . $phpEx);activity_mod();[/code] [/color] [color=#FF0000]PROSILVER[/color] [color=#000000]* Deschidem styles/prosilver/template/index_body.html:[/color] [color=#000000]Cautati linia:[/color] [color=#000000][code]<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>[/code] [/color] [color=#000000]Adaugati inainte:[/color] [color=#000000][code]<!-- IF not S_IS_BOT --><br /><br /> {USERS_24HOUR_TOTAL}: <!-- BEGIN lastvisit -->{lastvisit.USERNAME_FULL}<!-- IF not lastvisit.S_LAST_ROW -->, <!-- ENDIF --><!-- END lastvisit --> <!-- ENDIF -->[/code] [/color] [color=#000000]Cautati linia:[/color] [color=#000000][code]<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>[/code] [/color] [color=#000000]Adaugati dupa:[/color] [color=#000000][code]<!-- IF not S_IS_BOT --> <h3 id="24hour_stats">{L_24HOUR_STATS}</h3> <p>{24HOUR_POSTS} • {24HOUR_TOPICS} • {24HOUR_USERS}</p> <!-- ENDIF -->[/code] [/color] [color=#0000FF]SUBSILVER2[/color] [color=#000000]* Deschidem styles/subsilver2/template/index_body.html:[/color] [color=#000000]Cautati linia:[/color] [color=#000000][code]<td class="row1" rowspan="{%:1}" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>[/code] [/color] [color=#000000]Incrementati:[/color] [color=#000000][code]%:1 +1[/color][color=#000000][/code] [/color] [color=#000000]Cautati linia:[/color] [color=#000000][code]<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td> </tr>[/code] [/color] [color=#000000]Adaugati dupa:[/color] [color=#000000][code]<!-- 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 -->[/color][color=#000000][/code] [/color] [color=#000000]Cautati linia:[/color] [color=#000000][code]<td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td></tr></table>[/code] [/color] [color=#000000]Adaugati dupa:[/color] [color=#000000][CODE]<!-- 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 -->[/code][/color] [color=#000000]Apoi dati refresh la template-ul vostru ![/color] [color=#000000]Download : [/color]http://www.phpbb.com/community/viewtopic.php?t=839925 Link to comment Share on other sites More sharing options...
aGueRo Posted November 17, 2012 Share Posted November 17, 2012 Interesant ! Link to comment Share on other sites More sharing options...
Recommended Posts