bbcodes help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    bbcodes help

    i would really like the codeing so bbcodes and smiles can be used in the shoutbox and annoncement on the main page thank you

    #2
    use this for the shoutbox

    search for this function in core.php
    Code:
    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&amp;sid=$sid&amp;who=$lshout[1]\">".$shnick."</a></i>: ";
      $shbox .= parsepm($lshout[0], $sid);
      $shbox .= "<br/>";
      $shbox .= "<a href=\"lists.php?action=shouts&amp;sid=$sid\">history</a>, ";
      $shbox .= "<a href=\"index.php?action=shout&amp;sid=$sid\">shout</a>";
      if (ismod(getuid_sid($sid)))
      {
        $shbox .= ", <a href=\"modproc.php?action=delsh&amp;sid=$sid&amp;shid=$lshout[2]\">delete</a>";
      }
      //$shbox .= "<br/>";
      $shbox .= "";
      return $shbox;
    }

    WapCHAT Forum Currenltly changing over to xhtml

    My Dowloads Site

    Comment

    Working...
    X