Installare cmq con cautela e fate il bk prima, un passo falso blocca il forum
scaricate da qui
[download]http://www.phpbb.com/mods/db/download/5015/[/download]
http://www.phpbb.com/community/viewtopi ... 9&t=839925
istruzioni
Description:
- Lists of all registered users who have visited the board in the last 24 hours.
- Lists stats on the number of new posts, new topics and new users within the last 24 hours.
Version:
1.0.0
Installation Level:
Easy
Installation Time:
~1minutes
Author
Username:
Highway of Life
Email:
[email protected]
Name:
David Lewis
WWW:
http://startrekguide.com
Files to Edit
index.php,
styles/prosilver/template/index_body.html
Included Files
root/includes/functions_activity_stats.php,
root/language/en/mods/activity_stats.php
--------------------------------------------------------------------------------
Disclaimer
For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered in our MODs database, located at: http://www.phpbb.com/mods/
Author Notes
If you liked this MOD, please consider supporting our modding efforts with phpBB Academy at StarTrekGuide :: http://startrekguide.com/starbase/donate.php
Thanks!!
MOD History
2008-02-28 - Version 0.1.2
[change] Changed subsilver2 instructions
2008-02-28 - Version 0.1.1
[Feature] Added subsilver2 Instructions, thanks to belphegor
[fix] Incorrect index.php FIND fixed, thanks to belphegor
[fix] Added missing license.txt file to package
2008-02-27 - Version 0.1.0
Initial release
License
This MOD has been licensed under the following license:
http://opensource.org/licenses/gpl-license.php GNU General Public License v2
Other Notes
Before adding this MOD to your forum, you should back up all files related to this MOD
This MOD was designed for phpBB3.0.0 and may not function as stated on other phpBB versions. MODs for phpBB3.0 will not work on phpBB2.0 and vice versa.
--------------------------------------------------------------------------------
File Copy
Copy: root/includes/functions_activity_stats.php
To: includes/functions_activity_stats.php
Copy: root/language/en/mods/activity_stats.php
To: language/en/mods/activity_stats.php
Edits
s↑↓
Use your keyboard to navigate the code boxes. You may also hit 's' on your keyboard to go to the first code box.
Open: index.php
Find
Tip: This may be a partial find and not the whole line.
Codice: Seleziona tutto
// Output page
page_header($user->lang['INDEX']);
Tip: Add these lines on a new blank line before the preceding line(s) to find.
Codice: Seleziona tutto
include($phpbb_root_path . 'includes/functions_activity_stats.' . $phpEx);
activity_mod();
Find
Tip: This may be a partial find and not the whole line.
Codice: Seleziona tutto
<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
Codice: Seleziona tutto
<!-- 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 -->
Codice: Seleziona tutto
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>
Add after
Codice: Seleziona tutto
<!-- IF not S_IS_BOT -->
<h3 id="24hour_stats">{L_24HOUR_STATS}</h3>
<p>{24HOUR_POSTS} • {24HOUR_TOPICS} • {24HOUR_USERS}</p>
<!-- ENDIF -->