bbcodes help
Started on the old forum in May 2009 · view the original in the archive · old links redirect here
use this for the shoutbox
search for this function in core.php
function getshoutbox($sid)
{
$shbox = "";
$shbox .= "<b><u>ShoutBox</u></b><br/>";
$lshout = mysql_fetch_array(mysql_query("SELECT shout, shouter, id FROM ibwf_shouts ORDER BY shtime DESC LIMIT 1"));
$shnick = getnick_uid($lshout[1]);
$shbox .= "<i><a href=\"index.php?action=viewuser&sid=$sid&who=$lshout[1]\">".$shnick."</a></i>: ";
$shbox .= parsepm($lshout[0], $sid);
$shbox .= "<br/>";
$shbox .= "<a href=\"lists.php?action=shouts&sid=$sid\">history</a>, ";
$shbox .= "<a href=\"index.php?action=shout&sid=$sid\">shout</a>";
if (ismod(getuid_sid($sid)))
{
$shbox .= ", <a href=\"modproc.php?action=delsh&sid=$sid&shid=$lshout[2]\">delete</a>";
}
//$shbox .= "<br/>";
$shbox .= "";
return $shbox;
}
External image (may be gone) WapCHAT Forum Currenltly changing over to xhtml External image (may be gone) My Dowloads Site External image (may be gone)