New bbcode for lava

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

    New bbcode for lava

    If anyone know new bbcode like user shouted
    Hi@$uid
    $uid means user get his id name there. So we can say to all user by one shout. Then post here.
    LoveForum.BiZ

    #2
    Search in inbox.php for /reader
    <?php unlink('World/Europe/Romania.country'); ?>

    Comment


      #3
      $nick = getnick_sid($sid);

      $text = str_replace("/reader",$nick, $text);
      ////////////////////////////
      put this code in ur core bbc function

      Comment


        #4
        PHP Code:
        $text preg_replace("/\[user\=(.*?)\]/is","<a href=\"index.php?action=viewuser&amp;who=".getuid_nick($1)."\">$1 </a>",$text);
        //Usage: [user=Something Else] 
        Added after 9 minutes:

        Might need to add $sid to it :P
        Last edited by something else; 28.07.11, 19:44.

        Comment


          #5
          something else @ tnx bro but i asked like reader get his nick but now i got by wapcult
          LoveForum.BiZ

          Comment


            #6
            nice,tnx wapcult..i used it in dreamchat.tk..

            Comment


              #7
              PHP Code:
              $nick getnick_sid($sid);
              $uid getuid_sid($sid);
              $text str_replace("/reader",$nick$text);
              $text str_replace("/profile","<a href=\"index.php?action=viewuser&amp;sid=$sid&amp;who=".$uid."\">$nick </a>",$text); 
              if use /reader then use will c only user name
              and if .use /profile then the user will c there nick with a link to go to there profile ;)

              Comment


                #8
                wich php

                in wich php type that phone

                Comment

                Working...
                X