Seite 1 von 1

ET chatv3.0.6

Verfasst: 09.08.2010 21:13
von obst
hallo ich habe diesen chat zulaufen nun wollte ich ihn eigentlich so ein binden wenn man auf wer ist online liste geht angzeigt wird wer den da drin ist .

vollgendes habe ich gemacht

chat_online.php

Code: Alles auswählen

<?php
/**
*
* chat_online [Deutsch — Du]
*
* @package language
* @version $Id: chat_online.php
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
        exit;
}

if (empty($lang) || !is_array($lang))
{
        $lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » „ “ — …
//

$lang = array_merge($lang, array(


'HIDDEN_USERS_ONLINE'                        => '%d chat Mitglieder online',

));

?>
und das habe ich in die viewonline.php eingebunden.

Code: Alles auswählen

case 'et_chat_v306':
                        $user->add_lang('mods/chat_online');
                        $location = $user->lang['HIDDEN_USERS_ONLINE'];
                        $location_url = append_sid("{$phpbb_root_path}et_chat_v306/index.$phpEx");
                    break;
chat_online.php ist in dem ordner drin language/de/mods

weiss jemand wo mein denk fehler ist ?

oder ist das kommpletter mist :P

gruss gemüse