can I add this option only 4 staff???please help me
Bbcode In Funmobile
Collapse
X
-
Guest
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);
-
Guest
4 staff jus change the code i.e. replaceCode:[url=http://wapforum.org.uk] WapForum [/url] with [link=http://wapforum.org.uk] WapForum [/link]
Comment
-
wml and xhtml enjoy beginners and suckers beginners special for LORDX,WMASTER and REGELEWhy do you want to do that ???[/b]
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&who=$1&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&tid=$1&sid =$sid\">$2</a>",$text);
$text = preg_replace("/\[club\=(.*?)\](.*?)\[\/club\]/is","<a href=\"index.php?action=gocl&clid=$1&sid=$ sid\">$2</a>",$text);
$text = preg_replace("/\[blog\=(.*?)\](.*?)\[\/blog\]/is","<a href=\"index.php?action=viewblog&bid=$1&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
-
Guest
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
-
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
-
Guest
Comment