all i did was created a chat.php with this
PHP Code:
<?php
error_reporting(7);
require('./global.php');
eval("dooutput(\"".gettemplate('forumchat')."\");");
?>
and then make a forumchat template with
PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to [url]http://www.vbulletin.com/[/url] .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
</head>
<body>
$header
<table align="center" style="border-width: 1px; border-color: #000000; border-style: solid;" cellpadding="0" cellspacing="0">
<tr>
<td>
<CENTER>
<applet codebase="http://klagenfurt.at.eu.worldirc.org/" code="EIRC" archive="EIRC.jar,EIRC-gfx.jar" width="700" height="500">
<param name="server" value="klagenfurt.at.eu.worldirc.org" >
<param name="port" value="6667">
<param name="mainbg" value="#E0E2EB">
<param name="mainfg" value="#000000">
<param name="textbg" value="#ffffff">
<param name="textfg" value="#000000">
<param name="channel" value="#Chat">
<param name="nickname" value="$bbuserinfo[username]">
<param name="username" value="$bbuserinfo[username]">
<param name="realname" value="Interactive Java Chat">
<param name="password" value="">
<param name="login" value="1">
<param name="servPassword" value="">
<param name="servEmail" value="">
<h1>Interactive Java Chat</h1>
<p>Sorry, but you need a Java 1.1.x enabled browser to use the java chat.</p>
</applet>
</CENTER>
</td>
</tr>
</table>
</td>
</tr>
</table>
$footer
</body>
</html>
works perfect for me and alot less to do and easy to edit