could you replace them and then give me the script how it should be? because i have tried doing that

it you could help me out that would be much aprechiated smile

ok now i need more help

i am now using

<?php
if (isset($_GET['page']) && isset($act) &&
file_exists('pages/'.$act.'/'.$_GET[page].'.php')) {
include 'pages/'.$act.'/'.$_GET[page].'.php';
}
elseif(file_exists("pages/".$act."/index.php") && !$_GET['page']) {
include("pages/".$act."/index.php");
}
elseif(!$act && !$_GET['page']) {
include("pages/news/index.php");
}
else {
include("pages/news/index.php");
}
?>

and the dyanamic links do not work, please help, thanks

Joel

worked Thanks!

<?php switch($act){ default: include('pages/news.php');
break; case "1": include('pages/affiliates.php');
} ?>

hey i have been using punbb and love it, but when i recently was working on my site i couldn't get index.php?act=affiliates to work, i know punbb is blocking it but could someone tell me how to fix it so i can

i have this included in my index.php page in my root

<?
define('PUN_ROOT', './forums/');
require PUN_ROOT.'include/common.php';

$punbb_path = $_SERVER['SCRIPT_FILENAME'];
$punbb_split = explode('/',$punbb_path);
$punbb_page = end($punbb_split);
$punbb_count = substr_count($punbb_path,'/')-2;
$punbb_path = str_repeat('../',$punbb_count).'./forum/';

define('PUN_ROOT', "$punbb_path");
define('PUN_TURN_OFF_MAINT', 1); // if forums go down the site will not

thanks