Pagina 1 di 1

Utenti collegati oggi

Inviato: 07/03/2010, 15:20
da peter6777
Ciao a tutti....ho notato che su alcuni forum c'è questa ulteriore statistica:

Utenti collegati oggi
In totale ci sono stati 22 utenti online :: 2 registrati, 0 nascosti, 2 bots e 18 ospiti (sulla base di utenti attivi oggi )
Iscritti connessi: xxxx, yyyyyy, zzzzz, ....... AdsBot [Google], Google [Bot]

praticamente è una traccia di chi si è collegato in quella precisa giornata...

Come si fa' ad inserire?

Re: Utenti collegati oggi

Inviato: 07/03/2010, 15:40
da Carlo

Re: Utenti collegati oggi

Inviato: 07/03/2010, 16:31
da peter6777
Grazie mille Carlino, Mod installata con successo.

Unica cosa, come faccio a renderla italiana? nella board è tutto in inglese...

Nella mod, i file LANGUAGE da salvare nella root sono:

info_acp_wwh.php

Codice: Seleziona tutto

<?php

/**
*
* @package phpBB3 - who was here MOD
* @version $Id: info_acp_wwh.php 61 2007-12-17 20:15:23Z nickvergessen $
* @copyright (c) nickvergessen ( http://www.flying-bits.org/ )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!defined('IN_PHPBB'))
{
	exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}
if (!isset($phpbb_root_path) && defined('IN_ADMIN'))
{
	$phpbb_root_path = '../';
}
else if (!isset($phpbb_root_path))
{
	$phpbb_root_path = './';
}

$lang = array_merge($lang, array(
	'WWH_CONFIG'				=> 'Configurate "Who was here?"',
	'WWH_TITLE'					=> 'Who was here?',

	'WWH_DISP_SET'				=> 'Display settings',
	'WWH_DISP_BOTS'				=> 'show bots',
	'WWH_DISP_BOTS_EXP'			=> 'Some user might wonder what bots are and fear them.',
	'WWH_DISP_GUESTS'			=> 'show guests',
	'WWH_DISP_GUESTS_EXP'		=> 'Display guests on the counter?',
	'WWH_DISP_HIDDEN'			=> 'show hidden users',
	'WWH_DISP_HIDDEN_EXP'		=> 'Should hidden users be displayed in the list? (only by permission)',
	'WWH_DISP_TIME'				=> 'show time',
	'WWH_DISP_TIME_FORMAT'		=> 'time/date format',
	'WWH_DISP_HOVER'			=> 'display on hover',
	'WWH_DISP_TIME_EXP'			=> 'All User see it or none. No special function for Admins.',
	'WWH_DISP_IP'				=> 'show ip',
	'WWH_DISP_IP_EXP'			=> 'Just for the Users with Admin-Permissions, like on the viewonline.php',

	'WWH_INSTALLED'				=> 'Installed "Who was here?" MOD v%s',

	'WWH_RECORD'				=> 'user-record',
	'WWH_RECORD_EXP'			=> 'display and save user-record',
	'WWH_RECORD_TIMESTAMP'		=> 'Timestamp for the record',
	'WWH_RESET'					=> 'Reset Record',
	'WWH_RESET_1'				=> 'reset record',
	'WWH_RESET_EXP'				=> 'Resets the time and the counter of the who-was-here record.',
	'WWH_RESET_TRUE'			=> 'If you submit this form,\nthe record will be reseted.',// \n is the beginning of a new line
									//no space after it

	'WWH_SAVED_SETTINGS'		=> 'saved settings',
	'WWH_SORT_BY'				=> 'sort users by',
	'WWH_SORT_BY_EXP'			=> 'in which order shall the user be displayed?',
	'WWH_SORT_BY_0'				=> 'Username A -> Z',
	'WWH_SORT_BY_1'				=> 'Username Z -> A',
	'WWH_SORT_BY_2'				=> 'Time of visit ascending',
	'WWH_SORT_BY_3'				=> 'Time of visit descending',
	'WWH_SORT_BY_4'				=> 'User-ID ascending',
	'WWH_SORT_BY_5'				=> 'User-ID descending',

	'WWH_UPDATE_NEED'			=> 'Update the "Who was here?" MOD. Therefor run the <a style="font-weight: bold;" href="' . $phpbb_root_path . 'install/index.php">install/index.php</a>.<br />If you did this, you should delete the install/ directory.',

	'WWH_VERSION'				=> 'MOD Version',
	'WWH_VERSION_EXP'			=> 'displaying User of today, or of the period set in the next field',
	'WWH_VERSION1'				=> 'today',
	'WWH_VERSION2'				=> 'period of time',
	'WWH_VERSION2_EXP'			=> 'type 0, if you want to display the users of the last 24h',
	'WWH_VERSION2_EXP2'			=> 'disabled, if you have choosen "today"',
	'WWH_VERSION2_EXP3'			=> 'seconds',

	'WWH_MOD'					=> '"Who was here?" MOD',
	'INSTALL_WWH_MOD'			=> 'Install "Who was here?" MOD',
	'INSTALL_WWH_MOD_CONFIRM'	=> 'Are you sure you want to install the "Who was here?" MOD?',
	'UPDATE_WWH_MOD'			=> 'Update "Who was here?" MOD',
	'UPDATE_WWH_MOD_CONFIRM'	=> 'Are you sure you want to update the "Who was here?" MOD?',
	'UNINSTALL_WWH_MOD'			=> 'Uninstall "Who was here?" MOD',
	'UNINSTALL_WWH_MOD_CONFIRM'	=> 'Are you sure you want to uninstall the "Who was here?" MOD?',
));

e lang_wwh.php

Codice: Seleziona tutto

<?php

/**
*
* @package phpBB3 - who was here MOD
* @version $Id: lang_wwh.php 61 2007-12-17 20:15:23Z nickvergessen $
* @copyright (c) nickvergessen ( http://www.flying-bits.org/ )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!defined('IN_PHPBB'))
{
	exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
// for the normal sites
	'WHO_WAS_HERE'						=> 'Who was here?',
	'WHO_WAS_HERE_LATEST1'				=> 'last at',
	'WHO_WAS_HERE_LATEST2'				=> '',//used for parts like o'clock in the timedisplay (last at vw:xy "o'clock")
	'WHO_WAS_HERE_USERS_TOTAL'				=> 'In total there were <strong>%d</strong> users online :: ',
	'WHO_WAS_HERE_USERS_ZERO_TOTAL'			=> 'In total there were <strong>0</strong> users online :: ',
	'WHO_WAS_HERE_USER_TOTAL'				=> 'In total there was <strong>%d</strong> user online :: ',
	'WHO_WAS_HERE_REG_USERS_TOTAL'			=> '%d registered',
	'WHO_WAS_HERE_REG_USERS_ZERO_TOTAL'		=> '0 registered',
	'WHO_WAS_HERE_REG_USER_TOTAL'			=> '%d registered',
	'WHO_WAS_HERE_HIDDEN_USERS_TOTAL'		=> '%d hidden',
	'WHO_WAS_HERE_HIDDEN_USERS_ZERO_TOTAL'	=> '0 hidden',
	'WHO_WAS_HERE_HIDDEN_USER_TOTAL'		=> '%d hidden',
	'WHO_WAS_HERE_BOTS_USERS_TOTAL'			=> '%d bots',
	'WHO_WAS_HERE_BOTS_USERS_ZERO_TOTAL'	=> '0 bots',
	'WHO_WAS_HERE_BOTS_USER_TOTAL'			=> '%d bot',
	'WHO_WAS_HERE_GUEST_USERS_TOTAL'		=> '%d guests',
	'WHO_WAS_HERE_GUEST_USERS_ZERO_TOTAL'	=> '0 guests',
	'WHO_WAS_HERE_GUEST_USER_TOTAL'			=> '%d guest',
	'WHO_WAS_HERE_WORD'				=> ' and',
	'WHO_WAS_HERE_EXP'				=> 'based on users active today',
	'WHO_WAS_HERE_EXP_TIME'			=> 'based on users active over the past ',
	'WWH_HOUR'						=> '%1$s hour',
	'WWH_HOURS'						=> '%1$s hours',
	'WWH_MINUTE'					=> '%1$s minute',
	'WWH_MINUTES'					=> '%1$s minutes',
	'WWH_SECOND'					=> '%1$s second',
	'WWH_SECONDS'					=> '%1$s seconds',
	'WHO_WAS_HERE_RECORD'			=> 'Most users ever online was <strong>%1$s</strong> on %2$s',
	'WHO_WAS_HERE_RECORD_TIME'		=> 'Most users ever online was <strong>%1$s</strong> between %2$s and %3$s',
));

?>

cosa devo cambiare per renderla italiana?

Re: Utenti collegati oggi

Inviato: 07/03/2010, 16:32
da Carlo
Devi tradurre tutte quelle righe.

Oppure se vuoi che qualcuno se ne occupi, puoi richiderla nell'apposita sezione.

Re: Utenti collegati oggi

Inviato: 10/03/2010, 2:15
da Haku
Non puoi usare la MOD 'utenti attivi nelle ultime 24 ore'?

Re: Utenti collegati oggi

Inviato: 22/09/2012, 9:50
da black_wolfgraund
Haku ha scritto:Non puoi usare la MOD 'utenti attivi nelle ultime 24 ore'?
e dove la trovo questa mod?