Compactor/ECML Plugin patches.: Revision

Some have you may of noticed that when the Compactor or ECML custom markup plugin are enabled that most of the plugins don't work properly. This isn't anything to do with Compactor or ECML but rather the individual plugins page handler functions not working correctly. Below you will find patches for all the plugins I have installed. If you have one that isn't working please let me know and I'll update this list Status in mod/status/start.php replace the whole status_page_handler function with

Status

In mod/status/start.php replace the whole status_page_handler function with


function status_page_handler($page) { // The first component of a status URL is the username if (isset($page[0])) { set_input('username',$page[0]); } // The second part dictates what we're doing if (isset($page[1])) { switch($page[1]) { case "read": set_input('statuspost',$page[2]); @include(dirname(__FILE__) . "/read.php"); return true; break; case "friends": // TODO: add friends status page here break; } // If the URL is just 'status/username', or just 'status/', load the standard status index } else { @include(dirname(__FILE__) . "/index.php"); return true; } return false; }