/**
* @authors Ghost & DEViANCE (CODEMAFiA.ORG)
* @copyright 2008-2009 Mobile Chat
* @version Shoutbox Addon for version 2.0.2 or higher (wml 1.2 EN)
*/

/*** About this script ***/

1. this shoutbox is to be used INSIDE your chat on main/rooms.php file.
2. its fully functional with user names and passwords.
3. no extra info is needed except message to shout.
4. it will read straight from your existing smileys folder.
5. added bbcodes (bold, italic, images, big, etc).
6. added profiles (viewable profiles of members).
7. added pmuser (able to pm a member who has left a shout).
8. it shows what stat you are (owner, admin, mod, etc).
9. trashed users will "not" be able to post in shoutbox.
10. blahd users will show "blah blah bollox" in shoutbox.

/*** Instructions for setup ***/

1. upload all files/folder to your server

2. move the .txt files that came with this addon to the TEXT folder
and chmodd them also to 777 (0777)
(except this read-me file)

3. move the pmuser.php file that came with this addon to the MAIN folder

4. add these lines to your config/config.php file

/*shoutbox
enter how many shouts to show on rooms page at once! */
$shouts = "1";

5. add these lines to your main/rooms.php file after the (if admin)
code and befor the (enter rooms) code...
or you can just put it before the (if admin) code its your choice..

echo "<b>shoutbox! </b>";
echo "<anchor>[r]";
echo "<go method=\"post\" href=\"rooms.php?time=".time()."\">";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "</go>";
echo "</anchor><br/>";

include("../shoutbox/shout.php");

echo "<anchor>Shout";
echo "<go method=\"post\" href=\"../shoutbox/write.php?time=".time()."\">";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "</go>";
echo "</anchor>";
echo " ";

echo "<anchor>History";
echo "<go method=\"post\" href=\"../shoutbox/shouthistory.php?time=".time()."\">";
echo "<postfield name=\"salasana\" value=\"$(salasana)\"/>";
echo "<postfield name=\"nimi\" value=\"$(nimi)\"/>";
echo "</go>";
echo "</anchor>";
echo "<br/>---<br/>";

6. and have fun..

Ghost..
Deviance..

FOR MORE SCRIPTS/SUPPORT:
goto: http://codemafia.org