Wel here is sumthing nice u could use and if u have more please do post them here
This one if u use it it will take the member directly to the inbox
this when u use it u can update ur profile
this will make ur text bold
this will make ur text italic
this will make ur text underline
this will make ur text big
this will make ur text small
here u give url to members
here u give img to members
here u can quote to members post have to fix (NOT TESTED)
here u make ur text coloured
here u send link to topic
here u send link to forum
here u send link to club
here u send link to blog
here u can send the user phone model out
hope u all have more to give
This one if u use it it will take the member directly to the inbox
Code:
$unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE unread='1' AND touid='".$uid."'")); $pmtotl=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE touid='".$uid."'")); $unrd="[".$unreadinbox[0]."l".$pmtotl[0]."]"; $text = preg_replace("/\[inbox]/is","<a href=\"inbox.php?action=main&sid=$sid\">Inbox $unrd</a>",$text);
Code:
$text = preg_replace("/\[updatepro]/is","<a href=\"index.php?action=uset&sid=$sid\">Update Profie</a>",$text);
Code:
$text = preg_replace("/\[b\](.*?)\[\/b\]/i","<b>\\1</b>", $text);
Code:
$text = preg_replace("/\[i\](.*?)\[\/i\]/i","<i>\\1</i>", $text);
Code:
$text = preg_replace("/\[u\](.*?)\[\/u\]/i","<u>\\1</u>", $text);
Code:
$text = preg_replace("/\[big\](.*?)\[\/big\]/i","<big>\\1</big>", $text);
Code:
$text = preg_replace("/\[small\](.*?)\[\/small\]/i","<small>\\1</small>", $text);
Code:
$text = preg_replace("/\[url\=(.*?)\](.*?)\[\/url\]/is","<a href=\"$1\">$2</a>",$text);
Code:
$text = preg_replace("/\[img\=(.*?)\]/is","<img src=\"$1\">",$text);
Code:
$text = preg_replace("/\[quote\=(.*?)\](.*?)\[\/quote\]/is","<a href=\"index.php?action=post&tid=$tid\">$2</a>",$text);
Code:
$text = preg_replace("/\[clr\=(.*?)\](.*?)\[\/clr\]/is","<font color=\"$1\">$2</font>",$text);
Code:
$text = preg_replace("/\[topic\=(.*?)\](.*?)\[\/topic\]/is","<a href=\"index.php?action=viewtpc&tid=$1&sid=$sid\">$2</a>",$text);
Code:
$text = preg_replace("/\[forum\=(.*?)\](.*?)\[\/forum\]/is","<a href=\"index.php?action=viewfrm&tid=$1&sid=$sid\">$2</a>",$text);
Code:
$text = preg_replace("/\[club\=(.*?)\](.*?)\[\/club\]/is","<a href=\"index.php?action=gocl&clid=$1&sid=$sid\">$2</a>",$text);
Code:
$text = preg_replace("/\[blog\=(.*?)\](.*?)\[\/blog\]/is","<a href=\"index.php?action=viewblog&bid=$1&sid=$sid\">$2</a>",$text);
Code:
$bro=("$REMOTE_ADDR"); $usr = explode("/",$_SERVER['HTTP_USER_AGENT']); $phone = ("$usr[0]"); $text = str_replace("[phone]","$phone",$text);
Comment