formatUrl( $url, $title) * * IMPORTANT: Remember that when these regex are used, the output has not been fully parsed so you will get: * showuser={$data['member_id']} NOT showuser=1 so do not try and match numerics only! * * IN FORMAT REGEX * * This allows the registry to piece back together a URL based on the template regex * So, for example: "/user/(\d+?)/", 'matches' => array( array( 'showuser' => '$1' ) )tells IP.Board to populate 'showuser' with the result * of the parenthesis capture #1 */ $_SEOTEMPLATES = array( 'showuser' => array( 'app' => 'members', 'allowRedirect' => 1, 'out' => array( '#showuser=(.+?)(&|$)#i', 'user/$1/$2' ), 'in' => array( 'regex' => "#/user/(\d+)/?#i", 'matches' => array( array( 'showuser', '$1' ) ) ) ), 'members_status_friends'=> array( 'app' => 'members', 'allowRedirect' => 0, 'out' => array( '#app=members(?:&|&)module=profile(?:&|&)section=status(?:&|&)type=friends(&|$)#i', 'statuses/friends/$2' ), 'in' => array( 'regex' => "#/statuses/friends#i", 'matches' => array( array( 'app' , 'members' ), array( 'section', 'status' ), array( 'module' , 'profile' ), array( 'type' , 'friends' ) ) ) ), 'members_status_all' => array( 'app' => 'members', 'allowRedirect' => 0, 'out' => array( '#app=members(?:&|&)module=profile(?:&|&)section=status((?:&|&)type=all)?(&|$)#i', 'statuses/all/$2' ), 'in' => array( 'regex' => "#/statuses/all#i", 'matches' => array( array( 'app' , 'members' ), array( 'section', 'status' ), array( 'module' , 'profile' ) ) ) ), 'members_list' => array( 'app' => 'members', 'allowRedirect' => 0, 'out' => array( '#app=members((&|&)module=list)?#i', 'members/' ), 'in' => array( 'regex' => "#/members(/|$|\?)#i", 'matches' => array( array( 'app', 'members' ), array( 'module', 'list' ) ) ) ), );