Bbcode In Funmobile

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

    Bbcode In Funmobile

    can I add this option only 4 staff???please help me
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    #2
    But are bb codes in funmobile :D addons:
    Code:
    $text = preg_replace("/\[email\=(.*?)\](.*?)\[\/email\]/is","<a href=\"mailto:$1\">$2</a>",$text);
    $text = preg_replace("/\[img\=(.*?)\][\/img\]/is","<img src=\"$1\" alt="$1" />",$text);
    $text = preg_replace("/\[color\=(.*?)\](.*?)\[\/color\]/is","<font color=\"$1\">$2</font>",$text);

    Comment


      #3
      4 staff jus change the code i.e. replace
      Code:
      [url=http://wapforum.org.uk] WapForum [/url] with [link=http://wapforum.org.uk] WapForum [/link]

      Comment


        #4
        Why do you want to do that ???

        Comment


          #5
          Why do you want to do that ???[/b]
          wml and xhtml enjoy beginners and suckers beginners special for LORDX,WMASTER and REGELE
          function getbbcode($text, $sid="")
          {
          $text=preg_replace("/\[b\](.*?)\[\/b\]/i","\\1", $text);
          $text=preg_replace("/\[i\](.*?)\[\/i\]/i","\\1", $text);
          $text=preg_replace("/\[u\](.*?)\[\/u\]/i","\\1", $text);
          $text=preg_replace("/\[big\](.*?)\[\/big\]/i","<big>\\1</big>", $text);
          $text=preg_replace("/\[small\](.*?)\[\/small\]/i","\\1", $text);
          $text=preg_replace("/\[strong\](.*?)\[\/strong\]/i","\\1", $text);
          $text=preg_replace("/\[blink\](.*?)\[\/blink\]/i","<blink>\\1</blink>", $text);
          $text = preg_replace("/\[color\=(.*?)\](.*?)\[\/color\]/i","<font color=\"\\1\">\\2</font>", $text);
          $text = preg_replace("/\[div (.*?)\](.*?)\[\/div\]/i","<div align=\"\\1\">\\2</div>", $text);
          $text = preg_replace("/\[email\=(.*?)\](.*?)\[\/email\]/is","<a href=\"mailto:\\1\">\\2</a>", $text);
          $text = preg_replace("/\[img\=(.*?)\](.*?)\[\/img\]/is","<img src=\"\\1\" alt=\"\\2\"/>",$text);
          $text = preg_replace("/\[link\=(.*?)\](.*?)\[\/link\]/is","<a target=\"_top\" href=\"\\1\">\\2</a>", $text);
          $text = preg_replace("/\[site\=(.*?)\](.*?)\[\/site\]/is","<a href=\"http://rendevous.ro/wap/users?$site\">\\2</a>",$text);
          $text = preg_replace("/\[user id\=(.*?)\](.*?)\[\/user id\]/is","<a href=\"index.php?action=viewuser&amp;who=$1&amp;si d=$sid\">\\2</a>",$text);
          $text = preg_replace("/\[url\=(.*?)\](.*?)\[\/url\]/is","<a href=\"$1\">$2</a>",$text);
          $text = preg_replace("/\[topic\=(.*?)\](.*?)\[\/topic\]/is","<a href=\"index.php?action=viewtpc&amp;tid=$1&amp;sid =$sid\">$2</a>",$text);
          $text = preg_replace("/\[club\=(.*?)\](.*?)\[\/club\]/is","<a href=\"index.php?action=gocl&amp;clid=$1&amp;sid=$ sid\">$2</a>",$text);
          $text = preg_replace("/\[blog\=(.*?)\](.*?)\[\/blog\]/is","<a href=\"index.php?action=viewblog&amp;bid=$1&amp;si d=$sid\">$2</a>",$text);
          $text = ereg_replace("http://[A-Za-z0-9./=?-_]+","<a href=\"\\\">\</a>", $text);
          if(substr_count($text,"[br/]")<=3){
          $text = str_replace("[br/]","
          ",$text);
          }
          www.inbuzunar.mobi - Your mobile portal pocket

          Comment


            #6
            Romanian only: kisse, daca ii dadeam lui varumiu de 7 ani si ii spuneam in ce ordine sa le puna iti facea si el deci nu te considera mare WMASTER , interesant exista <blink> si <font color in WML
            Code:
            $text=preg_replace("/\[blink\](.*?)\[\/blink\]/i","<blink>\\1</blink>", $text);
            $text = preg_replace("/\[color\=(.*?)\](.*?)\[\/color\]/i","<font color=\"\\1\">\\2</font>", $text);

            Comment


              #7
              hei kid CIPSY just read what i say: wml and xhtml so next time dont lick just think
              www.inbuzunar.mobi - Your mobile portal pocket

              Comment


                #8
                **** You Kiss!

                Comment

                Working...
                X