first of all, why dont you just define the page as being in phpbb, to remove the hassle and the security problems you might encounter doing it that way.. usually this code on the very top: [code] define('IN_PHPBB', true); $phpbb_root_path = 'forum/'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'fetchposts.'.$phpEx); // // Start session management // $userdata = session_pagestart($user_ip, PAGE_INDEX); init_userprefs($userdata); // // End session management // [/code] that way, you dont have to manually do another query... here's the code to fetch the announcements, again you can define and customize it as you wish.. you can also output it in its own custom template, which declutters your code: [code]// // Fetch Posts from Announcements Forum // if(!isset($HTTP_GET_VARS['article'])) { $template->assign_block_vars('welcome_text', array()); $fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG['number_of_news'], $CFG['news_length']); for ($i = 0; $i < count($fetchposts); $i++) { if( $fetchposts[$i]['striped'] == 1 ) { $open_bracket = '[ '; $close_bracket = ' ]'; $read_full = $lang['Read_Full']; } else { $open_bracket = ''; $close_bracket = ''; $read_full = ''; } $template->assign_block_vars('fetchpost_row', array( 'TITLE' => $fetchposts[$i]['topic_title'], 'POSTER' => $fetchposts[$i]['username'], 'TIME' => $fetchposts[$i]['topic_time'], 'TEXT' => $fetchposts[$i]['post_text'], 'REPLIES' => $fetchposts[$i]['topic_replies'], 'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . '?t=' . $fetchposts[$i]['topic_id']), 'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?mode=reply&t=' . $fetchposts[$i]['topic_id']), 'U_READ_FULL' => append_sid('portal.' . $phpEx . '?article=' . $i), 'L_READ_FULL' => $read_full, 'OPEN' => $open_bracket, 'CLOSE' => $close_bracket) ); } } else { $fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG['number_of_news'], 0); $i = intval($HTTP_GET_VARS['article']); $template->assign_block_vars('fetchpost_row', array( 'TITLE' => $fetchposts[$i]['topic_title'], 'POSTER' => $fetchposts[$i]['username'], 'TIME' => $fetchposts[$i]['topic_time'], 'TEXT' => $fetchposts[$i]['post_text'], 'REPLIES' => $fetchposts[$i]['topic_replies'], 'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . '?t=' . $fetchposts[$i]['topic_id']), 'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?mode=reply&t=' . $fetchposts[$i]['topic_id']) ) ); } // // END: Fetch Announcements //[/code] original code by (c) smartor_xp@hotmail.com