Verfasst: 22.08.2008 03:32
Hi
Das habe ich gefunden
02. Usernamen sollten nicht änderbar sein.
Das andere leider nicht.
MFG
Das habe ich gefunden
02. Usernamen sollten nicht änderbar sein.
Das andere leider nicht.
MFG
Als Chat Räume werden standardmäßig doch nur die Forennamen benutzt.01. Forum kategorien sollten nicht als chat Raume benutzt werden.
Code: Alles auswählen
// Defines an array of channelIDs (e.g. array(0, 1)) to limit the number of available channels, will be ignored if set to null:
$config['limitChannelList'] = array(123,456,789);
Code: Alles auswählen
// Default channelName used together with the defaultChannelID if no channel with this ID exists:
$config['defaultChannelName'] = 'Empfang';
// ChannelID used when no channel is given:
$config['defaultChannelID'] = 0;
// Defines an array of channelIDs (e.g. array(0, 1)) to limit the number of available channels, will be ignored if set to null:
$config['limitChannelList'] = array(0,5,15);
Code: Alles auswählen
array(0,5,15)
Code: Alles auswählen
$conn = mysql_connect($MYSQL_HOST, $MYSQL_USER, $MYSQL_PW);
mysql_select_db($MYSQL_DB, $conn);
$i = 0;
$user_raum = mysql_query("SELECT *
FROM `chat_nickname`, `chat_room`, `chat_session`
WHERE chat_nickname.default = 'y' AND _s_room_id = chat_room.id AND _s_user_id = user_id
ORDER BY name ASC, nickname_plain ASC; ");
$user_count = mysql_query("SELECT *
FROM `chat_session`
WHERE _s_online_status != ''; ");
while($row = mysql_fetch_assoc($user_count)) { $i++; }