> feature in newreply.php. you can continue making quote in quote by bbcodes but when you want to get quote from a post, all of last quotes in that post dont come in this post an only last answer come in! ----------- please help me for distributing and updating this plugin and mail me at addmimistrator@gmail.com its bugs and your suggestions to keep this better~ thanks~imei~www.myimei.com */ /*change of this version is compatablity by multy quotes (no QinQ) this version detects posts that have several Q in same level;;) */ $plugins->add_hook("newreply_end", "imeiNoQinQ"); function imeiNoQinQ_info() { return array( "name" => "*<imei> No Quote in Quote!", "description" => "This plugin clears last quotes in newreply for better view, and makes posts small in DB,but dont disable this feature and you can use quote in quote tags manually!", "website" => "http://www.myimei.com", "author" => "imei", "authorsite" => "http://www.myimei.com", "version" => "1.1.0", ); } function imeiNoQinQ_activate() { } function imeiNoQinQ_deactivate() { } function imeiNoQinQ() { global $pid,$message; $pattern=array( "/\[quote(=[^\]]*)?\](.*?)\[quote(=[^\]]*)?\](.*?)\[\/quote\](.*?)\[\/quote\]/is" ); $replacement=array( "[Quote\\1]\\2\\5[/Quote]" ); if($pid){ for ($i=0; preg_match($pattern[$i],$message) ;$i %=( $i+1) ){ $message=preg_replace($pattern,$replacement,$message); } } }