Smilies/bbcodes In Ravingwap Forum Script!

Started on the old forum in January 2007 · view the original in the archive · old links redirect here

14 replies · 1,678 views · started 19 years ago · 1 min read

lamar-wap #1

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);
Guest #2

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 !!!

lamar-wap #3

Ok will do bro !!!

ok then........

thanatos Senior · 261 posts #4

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);

nice External image (may be gone)

Guest #5

thankx but when we click at more just code shows.

Guest #6

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);
thanatos Senior · 261 posts #7

how can i enable smilies on forum message.. does anyone know?

Guest #8

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);

thanatos Senior · 261 posts #9

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);

tnx.. External image (may be gone)

thanatos Senior · 261 posts #10

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..

Guest #11

The code must be like this one or it wont work

$fmsg = parsemsg(getfmsg(),$sid);
  echo "$fmsg</small>
";
lamar-wap #12

btw it is not working on the main page of the forum only in index.php?action=main..

that is the main page of the forum the forum message does not show on index.php..................

Guest #13

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
";
lamar-wap #14

yes tommie that can be added and also you can just create another one for that index forum message and use the old one for the main page...........

i made it in unrealx script and will do it in this script when i have time....................

thanatos Senior · 261 posts #15

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 ";

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close