Smilies/bbcodes In Ravingwap Forum Script!

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

    Smilies/bbcodes In Ravingwap Forum Script!

    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

    Code:
    $shbox .= htmlspecialchars($lshout[0]);
    with

    Code:
    $shbox .= parsepm($lshout[0], $sid);

    #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

    Code:
    $shbox .= htmlspecialchars($lshout[0]);
    with

    Code:
    $shbox .= parsepm($lshout[0], $sid);
    [/b]
    Ok will do bro !!!

    Comment


      #3
      Ok will do bro !!![/b]
      ok then........

      Comment


        #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

        Code:
        $shbox .= htmlspecialchars($lshout[0]);
        with

        Code:
        $shbox .= parsepm($lshout[0], $sid);
        [/b]
        nice

        Comment


          #5
          thankx but when we click at more just code shows.

          Comment


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

            <small>";
            $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);

            Comment


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

              Comment


                #8
                Find in index.php

                ////////////////////////////////////////MAIN PAGE
                if($action=="main")
                {
                addvisitor();
                addonline(getuid_sid($sid),"Forum Index","index.php?action=$action");
                //saveuinfo($sid);


                echo "<p align=\"center\">";
                echo "<img src=\"images/logo.gif\" alt=\"$stitle\"/>
                ";
                $fmsg = htmlspecialchars(getfmsg());
                echo "$fmsg";

                replace $fmsg = htmlspecialchars(getfmsg());

                with

                $fmsg = parsepm(getfmsg(), $sid);

                Comment


                  #9
                  Find in index.php

                  ////////////////////////////////////////MAIN PAGE
                  if($action=="main")
                  {
                  addvisitor();
                  addonline(getuid_sid($sid),"Forum Index","index.php?action=$action");
                  //saveuinfo($sid);


                  echo "<p align=\"center\">";
                  echo "<img src=\"images/logo.gif\" alt=\"$stitle\"/>
                  ";
                  $fmsg = htmlspecialchars(getfmsg());
                  echo "$fmsg";

                  replace $fmsg = htmlspecialchars(getfmsg());

                  with

                  $fmsg = parsepm(getfmsg(), $sid);[/b]
                  tnx..

                  Comment


                    #10
                    Find in index.php

                    ////////////////////////////////////////MAIN PAGE
                    if($action=="main")
                    {
                    addvisitor();
                    addonline(getuid_sid($sid),"Forum Index","index.php?action=$action");
                    //saveuinfo($sid);


                    echo "<p align=\"center\">";
                    echo "<img src=\"images/logo.gif\" alt=\"$stitle\"/>
                    ";
                    $fmsg = htmlspecialchars(getfmsg());
                    echo "$fmsg";

                    replace $fmsg = htmlspecialchars(getfmsg());

                    with

                    $fmsg = parsepm(getfmsg(), $sid);[/b]
                    btw it is not working on the main page of the forum only in index.php?action=main..

                    Comment


                      #11
                      The code must be like this one or it wont work
                      Code:
                      $fmsg = parsemsg(getfmsg(),$sid);
                        echo "$fmsg</small>
                      ";

                      Comment


                        #12
                        btw it is not working on the main page of the forum only in index.php?action=main..[/b]
                        that is the main page of the forum the forum message does not show on index.php..................

                        Comment


                          #13
                          add this code to ur main page then
                          Code:
                          /////////////////////////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
                          Code:
                          $fmsg = parsemsg(getfmsg(),$sid);
                            echo "$fmsg
                          ";

                          Comment


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

                            Comment


                              #15
                              add this code to ur main page then
                              Code:
                              /////////////////////////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
                              Code:
                              $fmsg = parsemsg(getfmsg(),$sid);
                                echo "$fmsg
                              ";
                              [/b]
                              still ain&#39;t workin&#39;.. don&#39;t know why?
                              <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>$fmsg = parsemsg(getfmsg(),$sid);
                              echo "$fmsg
                              ";
                              </div>

                              Comment

                              Working...
                              X