fetch posts from phpbb database.