Anyone using this mod?

http://www.phpbbfetchall.com/docs/userguide/

I am trying to get this to work but I am stuck. What I wan't to do is just have some new topics show up on my web site, now when I run the examples they do work BUT I cannot get it to work from my web sites index page.

So how do I call that test.php scrip from my actual web site? here is the exaple below, now if I open this up as a test.php it works but now I am guessing I need to do somthing else not sure how...

<?php
$phpbb_root_path = '../../../';
define ('IN_PHPBB', true);
include_once ($phpbb_root_path . 'extension.inc');
include_once ($phpbb_root_path . 'common.' . $phpEx);
include_once ($phpbb_root_path . 'includes/bbcode.' . $phpEx);
include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/common.' . $phpEx);
include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/posts.' . $phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
$news = phpbb_fetch_posts();
phpbb_disconnect();
?>
<ul>
<?php for ($i = 0; $i < count($news); $i++) { ?>
<li><?php echo $news[$i]['topic_title']; ?></li>
<?php } ?>
</ul>


Thanks for any help!