Smilies/bbcodes In Ravingwap Forum Script!
Started on the old forum in January 2007 · view the original in the archive · old links redirect here
here ya go alot of people have been asking me how to do it............. ok go to core.php and go to this line.........
/////////////////////////////////////////////Function shoutbox
and replace
$shbox .= htmlspecialchars($lshout[0]);with
$shbox .= parsepm($lshout[0], $sid);
Ok will do bro !!!
here ya go alot of people have been asking me how to do it............. ok go to core.php and go to this line.........
/////////////////////////////////////////////Function shoutbox
and replace
$shbox .= htmlspecialchars($lshout[0]);with
$shbox .= parsepm($lshout[0], $sid);
in lists.php find
//////////////////////////////////shouts
in there find
}else{ $sql = "SELECT id, shout, shouter, shtime FROM fun_shouts WHERE shouter='".$who."'ORDER BY shtime DESC LIMIT $limit_start, $items_per_page"; }
echo "
"; $items = mysql_query($sql); echo mysql_error(); if(mysql_num_rows($items)>0) { while ($item = mysql_fetch_array($items)) { $shnick = getnick_uid($item[2]);
Replace next line with
$sht = parsepm($item[1], $sid);
Find in index.php
////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),"Forum Index","index.php?action=$action"); //saveuinfo($sid);
echo " "; echo "<img src="images/logo.gif" alt="$stitle"/> "; $fmsg = htmlspecialchars(getfmsg()); echo "$fmsg";
replace $fmsg = htmlspecialchars(getfmsg());
with
$fmsg = parsepm(getfmsg(), $sid);
Find in index.php
////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),"Forum Index","index.php?action=$action"); //saveuinfo($sid);
echo " "; echo "<img src="images/logo.gif" alt="$stitle"/> "; $fmsg = htmlspecialchars(getfmsg()); echo "$fmsg";
replace $fmsg = htmlspecialchars(getfmsg());
with
$fmsg = parsepm(getfmsg(), $sid);
Find in index.php
////////////////////////////////////////MAIN PAGE if($action=="main") { addvisitor(); addonline(getuid_sid($sid),"Forum Index","index.php?action=$action"); //saveuinfo($sid);
echo " "; echo "<img src="images/logo.gif" alt="$stitle"/> "; $fmsg = htmlspecialchars(getfmsg()); echo "$fmsg";
replace $fmsg = htmlspecialchars(getfmsg());
with
$fmsg = parsepm(getfmsg(), $sid);
btw it is not working on the main page of the forum only in index.php?action=main..
add this code to ur main page then
/////////////////////////Main Page Here
echo "<card id=\"main\" title=\"$site_name\">";
echo "<p align=\"center\">";
echo "<img src=\"$logo_url\" alt=\"*\"/>
";
$fmsg = parsemsg(getfmsg(),$sid);
echo "$fmsg
";
echo "[size="1"]Welcome to the fastest growing community ever[/size]
";
echo "[size="1"]Enjoy tons of outstanding features, and much more to come[/size]";
echo "
[size="1"]<a href=\"$site_url/rssservice.php\">RSS News Feeds!</a>[/size]
";
echo "</p>";
this one
$fmsg = parsemsg(getfmsg(),$sid);
echo "$fmsg
";
add this code to ur main page then
/////////////////////////Main Page Here echo "<card id=\"main\" title=\"$site_name\">"; echo "<p align=\"center\">"; echo "<img src=\"$logo_url\" alt=\"*\"/> "; $fmsg = parsemsg(getfmsg(),$sid); echo "$fmsg "; echo "Welcome to the fastest growing community ever "; echo "Enjoy tons of outstanding features, and much more to come"; echo " <a href=\"$site_url/rssservice.php\">RSS News Feeds!</a> "; echo "</p>";this one
$fmsg = parsemsg(getfmsg(),$sid); echo "$fmsg ";
still ain't workin'.. don't know why? CODE$fmsg = parsemsg(getfmsg(),$sid); echo "$fmsg ";