Snort_2005 |
09-23-2005 08:06 AM |
Here is what I did. I installed vBAdvanced CMPS, and created a new page, page type, template, set identifer as chat, template as homepage_chat, Use module shell template: yes, colspan 0, form code: none, content title Welcome to (site title) chat!, and then created a new template in each skin using the following template code:
Code:
<applet code="IRCApplet.class" archive="irc.jar,pixx.jar" width="100%" height="400">
<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">
<param name="nick" value="$bbuserinfo[username]" />
<param name="alternatenick" value="$bbuserinfo[username]???">
<param name="name" value="$bbuserinfo[username]">
<param name="host" value="(your_server)">
<param name="port" value="(your_server_port)">
<param name="command1" value="/join (yourchan)" />
<param name="useidentserver" value="false" />
<param name="gui" value="pixx" />
<param name="timestamp" value="true" />
<param name="smileys" value="true" />
<param name="highlight" value="true" />
<param name="highlightnick" value="true" />
<param name="quitmessage" value="(your_default_quit_message)" />
<param name="asl" value="true" />
<param name="bitmapsmileys" value="true\" />
<param name="smiley1" value=":) img/sourire.gif" />
<param name="smiley2" value=":-) img/sourire.gif" />
<param name="smiley3" value=":-D img/content.gif" />
<param name="smiley4" value=":d img/content.gif" />
<param name="smiley5" value=":-O img/OH-2.gif" />
<param name="smiley6" value=":o img/OH-1.gif" />
<param name="smiley7" value=":-P img/langue.gif" />
<param name="smiley8" value=":p img/langue.gif" />
<param name="smiley9" value=";-) img/clin-oeuil.gif" />
<param name="smiley10" value=";) img/clin-oeuil.gif" />
<param name="smiley11" value=":-( img/triste.gif" />
<param name="smiley12" value=":( img/triste.gif" />
<param name="smiley13" value=":-| img/OH-3.gif" />
<param name="smiley14" value=":| img/OH-3.gif" />
<param name="smiley15" value=":'( img/pleure.gif" />
<param name="smiley16" value=":$ img/rouge.gif" />
<param name="smiley17" value=":-$ img/rouge.gif" />
<param name="smiley18" value="(H) img/cool.gif" />
<param name="smiley19" value="(h) img/cool.gif" />
<param name="smiley20" value=":-@ mg/enerve1.gif" />
<param name="smiley21" value=":@ img/enerve2.gif">
<param name="smiley22" value=":-S img/roll-eyes.gif" />
<param name="smiley23" value=":s img/roll-eyes.gif" />
<param name="channelfont" value="12 Arial" />
<param name="chanlistfont" value="12 Arial" />
<!param name="nickfield" value="true" />
<!param name="useinfo" value="true" />
<param name="styleselector" value="true" />
<param name="setfontonstyle" value="" />
<param name="backgroundimage" value="true" />
<param name="defaultbackgroundimage" value="img/background.gif" />
<param name="showconnect" value="true" />
<param name="showclose" value="true" />
<param name="showabout" value="false" />
<param name="showhelp" value="false" />
<param name="showstatus" value="true" />
<param name="useinfo" value="false" />
<param name="showchanlist" value="true" />
<param name="authorizedjoinlist" value="all" />
<param name="authorizedleavelist" value="all" />
<param name="authorizedcommandlist" value="all-quit" />
</applet>
</td>
</tr>
</table>
<div><img src="(path_to)clear.gif" height="15" alt="" /></div>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[tablewidth]" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">Info Center</td>
</tr>
</thead>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('chat_information')"><img id="collapseimg_chat_information" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_chat_information].gif" alt="" border="0" /></a>
Information
</td>
</tr>
</tbody>
<tbody id="collapseobj_chat_information" style="$vbcollapse[collapseobj_chat_information]">
<tr>
<td class="alt1" width="100%">
<div class="smallfont">
This Java client requires Java 1.4.x or higher. If you would like to not use this Java client, or the row above is empty, you can grab an IRC client such as <a href="http://www.mirc.com" target="_new">mIRC<a/> or <a href="http://www.xchat.org" target="_new">XChat</a> and join us on the network <b>(your_server)</b> port <b>(your_server_port)</b>, in the channel <b>(your_channel)</b>.<br /><br />You will have to choose a nickname to use the chat. Keep in mind that this chat room is located on a public network, so simple nicknames may be taken already. If the nickname you have chosen is already in use or is registered by somebody else, your nickname will be changed to something else. See the tips below for information on how to change it.
</div>
</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('chat_rules')"><img id="collapseimg_chat_rules" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_chat_rules].gif" alt="" border="0" /></a>
Rules
</td>
</tr>
</tbody>
<tbody id="collapseobj_chat_rules" style="$vbcollapse[collapseobj_chat_rules]">
<tr>
<td class="alt1">
<ol class="smallfont">
<li class="smallfont">Do not advertise other channels unless they are affiliates, official initialized.org channels (in the motd), or you were given permission by an op or above.</li>
<li class="smallfont">Please do not request to be voiced. If you deserve it, it will come to you. Annoying halfops or above about it will delay you getting it.</li>
<li class="smallfont">Do not rent-a-op. This also includes throwing random insults at someone a halfop or above just warned.</li>
<li class="smallfont">Use common sense. If a halfop or above tells you to stop doing something, stop doing it.</li>
<li class="smallfont">Do not complain about being banned from the chat on the forums. The forums and the chat are separate entities. Chances are, complaining on the forums won't solve anything. If you do anything, PM someone of a higher rank than who banned you.</li>
<li class="smallfont">Please read the rules for the entire IRC network #GQMR is on by using "/RULES". Those rules also apply to #GQMR since #GQMR is on the network.</li>
</ol>
</td>
</tr>
</tbody>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('chat_quicktips')"><img id="collapseimg_chat_quicktips" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_chat_quicktips].gif" alt="" border="0" /></a>
Quick Tips
</td>
</tr>
</tbody>
<tbody id="collapseobj_chat_quicktips" style="$vbcollapse[collapseobj_chat_quicktips]">
<tr>
<td class="alt1" width="100%">
<div class="smallfont">
If you would like to perform an action, use <b>/me <action></b>.
<br />If you would like to register your nickname to prevent people from impersonating you, use <b>/nickserv register <password> <email></b> while you are using the desired nickname.
<br />If you have registered your nickname and need to log in, use <b>/nickserv identify <password></b>.
</div>
This is if you have the latest PJIRC uploaded to where the cmps index file is. :p
You can change the rules to reflect your own channel rules. :>
|