The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Our server is a CP3 server and as ppl will know you get MChat with it.
I decided to make myself a hack to use between the chat software and vB. Here is the chat.php: Code:
<?php
$templatesused='error_nopermission,chat';
require('./global.php');
$permissions=getpermissions();
if (!$permissions['canview']) {
show_nopermission();
}
if($action=="chat") {
eval("dooutput(\"".gettemplate('chat')."\");");
}
?>
Code:
{htmldoctype}
<HTML>
<HEAD><TITLE>$bbtitle Chat</title>
$headinclude
</head>
<body>
$header
<!-- breadcrumb -->
<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr>
<td width="100%"><normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> > Chat Room</b></normalfont></TD></tr></table>
<!-- /breadcrumb -->
<applet codebase="http://216.74.127.109/java-sys" code="MClientStandard.class" height="95%" width="98%">
<param name="Host" value="www.twilightonline.net">
<param name="Port" value="6666">
<param name="Group" value="0">
<param name="UserName" value="$username">
<param name="Unique" value="Yes">
<param name="DBAuth" value="No">
<param name="GuestLogin" value="Yes">
<param name="ChangeNicks" value="Yes">
<param name="Fullscreen" value="Yes">
<param name="Audio" value="http://216.74.127.109/java-sys/spacemusic.au">
<param name="Channel" value="#MAIN">
</applet>
</center>
$footer
</body>
</html>
Anyone spot what is wrong? Cheers |
|
#2
|
|||
|
|||
|
PS. forum.twilight-online.net
|
|
#3
|
|||
|
|||
|
*bump*
|
|
#4
|
|||
|
|||
|
are you sure the code for the applet is right?
I think the codebase uri is set wrong. Not sure though. |
|
#5
|
|||
|
|||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|