هاك جديد
يخليك تدردش مع أعضاء منتداك و بس يعني ما في مكان للغرباء بينكم 
أول شي سوي تمبلت جديد و سميه
chat_hack
و إكتب فيه ما يلي
كود PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>$bbtitle - Live Chat</title>
$headinclude
</head>
<body>
$header
<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr>
<td width="100%">$navbar<br></TD>
</tr></table>
<div align="center">
<center>
<!--Change the code between the applet tags to the code you are given when you sign up for your free chat account.-->
<APPLET CODEBASE="http://www.multichat.com/ChatBox" ARCHIVE="multichat.jar" CODE="GUIClient.class" WIDTH="562" HEIGHT="385" ALIGN="BOTTOM">
<PARAM NAME="cabbase" VALUE="multichat.cab">
<PARAM NAME="affiliate" VALUE="">
<PARAM NAME="AllowCreateForum" VALUE="TRUE">
<PARAM NAME="AppletBackground" VALUE="#CCCCCC">
*****<PARAM NAME="AutoForwardingURL" VALUE="http://www.yoursiteurl.com">****
<PARAM NAME="BannerImage" VALUE="">
<PARAM NAME="Category" VALUE="6">
<PARAM NAME="ChatAreaBackground" VALUE="white">
<PARAM NAME="ChatAreaForeground" VALUE="black">
*****<PARAM NAME="Description" VALUE="Put a description for your site or chat room here!!!">*****
<PARAM NAME="Domain" VALUE="0">
*****<PARAM NAME="FontName" VALUE="Helvetica">*****
*****<PARAM NAME="FontSize" VALUE="12">*****
<PARAM NAME="HelpURL" VALUE="http://www.multicity.com/support/chat/index.htm">
*****<PARAM NAME="hidepassword" VALUE="TRUE">*****
*****<PARAM NAME="HomepageURL" VALUE="www.yoursiteurl.com">*****
<PARAM NAME="Language" VALUE="EN">
<PARAM NAME="LocatorEnabled" VALUE="TRUE">
<PARAM NAME="ShowLiveChat" VALUE="T">
*****<PARAM NAME="ShowUserInfoLine" VALUE="FALSE">*****
*****<PARAM NAME="Subject" VALUE="*Put your chatroom subject here">*****
<PARAM NAME="Translation" VALUE="FALSE">
<PARAM NAME="UseGraphicText" VALUE="F">
<PARAM NAME="Registered" VALUE="FALSE">
*****<param name="AutoLogin" value="TRUE">*****
*****<param name="AutoLoginName" value="{$bbuserinfo[username]}">*****
Your browser does not support Java applets.
Upgrade to a newer browser or use the Options menu to enable Java.
You may also use the link below to access the HTML version of your chat room.
</APPLET>
</center>
</div>
<!-- Time-->
<table border="0" width="100%" cellpadding="4" cellspacing="0"><tr>
<td width="100%" valign="middle" align="center" nowrap><b><smallfont>$timezone</smallfont></b></td>
</tr></table>
<!-- /Time-->
$footer
</body>
</html>
ومن ثم اعمل ملف جديد بهذا البرنامج باسم
'chat.php
واضيف في هذا الكود
كود PHP:
<?
require( "global.php" );
if( $bbuserid ) {
$user = $DB_site->query_first( "SELECT username
FROM user
WHERE userid = $bbuserid" );
$bbusername = $user[ username ];
eval("dooutput(\"".gettemplate('chat_hack')."\");");
} else {
eval("dooutput(\"".show_nopermission()."\");");
} // end if
?>
ونزل الملف الجديد و الذي سويناه ببرنامج الـphp في فولدر المنتدى
و إفتح المتصفح على العنوان التالي
http://username.com/montada/chat.php
وبهذا نكون قد انتهينا
