Coder hat geschrieben:Verstehe dich jetzt leider nicht ganz, poste mal die install.txt
# IMPORTANT: DO YOUR CONFIGURATION FROM mods/chat/shoutboxconf.php
# every variable is understandable...
[da soll/muss ich wohl nichts verändern...]
#
## Here we GO
#
# First Create The Tables, use the query below:
CREATE TABLE shoutbox (
id int(11) NOT NULL auto_increment,
name varchar(30) NOT NULL,
shout varchar(255) NOT NULL,
url varchar(100) NOT NULL,
timestamp int(10) unsigned NOT NULL,
ipaddress TEXT not null,
PRIMARY KEY (id));
CREATE TABLE chatsession (
username varchar(30) NOT NULL,
lastactive int(11) DEFAULT '0' NOT NULL,
laststatus varchar(8) NOT NULL,
UNIQUE username (username)
);
[wie und wo - das versteh ich nicht!alles weiter unten habe ich exakt befolgt, bezieht sich nur auf die index.php]
#copy the files to your phpBB2 root directory
#all shoutbox files must be in a directory structure mods/chat with respect to phpBB root.
#except shoutbox_pre.php WHICH HAVE TO BE IN PHPBB2 ROOT DIR
# --- [ OPEN index.php ] ---
# --- [ BEFORE ] --- around line 26x -27x
$template->assign_vars(array(
"TOTAL_POSTS" => sprintf($l_total_post_s, $total_posts),
"TOTAL_USERS" => sprintf($l_total_user_s, $total_users),
# --- [ ADD ] ---
require_once("shoutbox_pre.php");
$howmanychat = howmanyChat();
$chatters = chattersMain();
# --- [ AFTER ] --- around line 27x - 28x
"L_MARK_FORUMS_READ" => $lang['Mark_all_forums'],
# --- [ ADD ] ---
"USERNAME-CHAT" => $userdata['username'],
"WHO_ARE_CHATTING_HEAD" => $lang['Who_Is_Chatting_Heading'],
"TOTAL_CHATTERS_ONLINE" => sprintf($lang['How_Many_Chatters'], $howmanychat),
"CHATTERS_LIST" => sprintf($lang['Who_Are_Chatting' ],$chatters),
"MISC_INFO" => $lang['Misc_Info'],
"CHAT" => $lang['Chat_Title'],
"STATS" => $lang['Stats'],
# --- [ CLOSE index.php ] ---