function bbencode_strip

Support for IntegraMOD 140

Moderator: Integra Moderator

function bbencode_strip

PostAuthor: Skywalker » Tue Sep 05, 2006 10:56 am

i have multiple mods who needs the folowing code in bbcode.php
Code: Select all
 function bbencode_strip($message, $uid){       $message = strip_tags($message);       // url #2     $message = str_replace("[url]","", $message);     $message = str_replace("[/url]", "", $message);       // url /[url=([a-z0-9-.,?!%*_/]+)](.*?)[/url]/si     $message = preg_replace("/[url=([a-z0-9-.,?!%*_/]+)]/si", "", $message);     $message = str_replace("[/url]", "", $message);       $message = preg_replace("/[.*?]/si", '', $message);     $message = preg_replace('/[url]|[/url]/si', '', $message);     $message = str_replace('"', "'", $message);     return $message;  }  

i've added that code but the mods still not work, i use a heavely modded IM140 and also have advance bbcode box installed can someone help me how i can make this code work on IM140and/or adv bbcode box?
Last edited by Skywalker on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 5:25 pm
Cash on hand: 0.00

Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]