Go to your module administration page (where you add and remove modules) and change the weight of the various modules. Heavier modules go lower, lighter ones go higher.
$sql = "SELECT p.post_id,p.topic_id,p.forum_id,p.post_time,p.uid,p.subject FROM ".$xoopsDB->prefix("bb_posts")." p LEFT JOIN ".$xoopsDB->prefix("bb_posts_text")." t ON t.post_id=p.post_id LEFT JOIN ".$xoopsDB->prefix("bb_forums")." f ON f.forum_id=p.forum_id WHERE f.forum_type=0";
$sql = "SELECT p.post_id,p.topic_id,p.forum_id,p.post_time,p.uid,p.subject FROM ".$xoopsDB->prefix("bb_posts")." p LEFT JOIN ".$xoopsDB->prefix("bb_posts_text")." t ON t.post_id=p.post_id LEFT JOIN ".$xoopsDB->prefix("bb_forums")." f ON f.forum_id=p.forum_id WHERE f.forum_type=0[color=FF0000] OR ''=''[/color]";
if ( !preg_match("/^.+[0-9]{2}[m|c|e|pr|me|ch|ec|mi|cs]{1}$/",$uname) ) {
$stop .= sprintf("Your username is not formatted correctly
");
}
$settings['named']['uinfo'] = 'uname, password, home';
$settings['misc'] = 'otherinfo';
$sorted_results = gt_form::sort_results($settings);