Adding FlashChat to the XMB v. 1.9.1 Interface
Using your FTP program, download the "header.php" file, located in the XMB root. See below for a screenshot of where I found the header.php file on my server.
Open header.php, and find this block of code:
// 'Forum Rules'-link
if($SETTINGS['bbrules'] == "on") {
$links[] = "<img src=\"$imgdir/bbrules.gif\" alt=\"$lang[altrules]\"
border=\"0\" /> <a href=\"faq.php?page=forumrules\"><font
class=\"navtd\">$lang[textbbrules]</font></a>";
}
Immediately after, add this block of code. If you uploaded FlashChat to a folder other than "chat", you may need to adjust this code to use the correct path.
// 'Flashchat' link
if($xmbuser && $xmbuser != '') {
$links[] = "<img src=\"$imgdir/members_list.gif\" alt=\"Flashchat\"
border=\"0\" /> <a href=\"chat/flashchat.php\" target=\"flashchat\"><font
class=\"navtd\">FlashChat</font></a>";
}
Here's what my header.php looked like after making this change:
Finally, upload this code to your XMB server using your FTP
client.
Now, return to your XMB site. If you are logged in, you should see a new link called "FlashChat" (or whatever you named it in the step above) in the main menu bar at the top of the screen. This should link to the "flashchat.php" file of FlashChat. When FlashChat loads, you should be automatically logged-in to the chatroom using your XMB username. If you are an administrator of XMB, then you will be logged into FlashChat as a moderator, which means that you can ban and boot other users.