i got the same problem but i dont know how to fix i just recently switched to punbb can you help me do whe he did .
  How do i get the user system of the forum intergrated with my site.
   
What you see here is my index page before i went to punbb since i just got it recently.
               

<?php
include("login.class.php");
include("mydb.class.php");
include("files/css.css");
echo ("<body topmargin=\"20\" leftmargin=\"20\" bottommargin=\"20\" rightmargin=\"20\" text=\"798A9B\">");
$border = "0";
$fontsize = "2";
if ($login->logged()){
  $id = $_SESSION["uid"];
  $fp = file("forum/db/users.dat");
  $userinfo = explode("<~>", $fp[$id]);
};
?>

<?php

function title($name, $side){
echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"303438\" align=\"$side\"><font size=\"2\">$name</font></td>
</tr>
</table>");
}; //end function title

function cont($name){
echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">$name</font></td>
</tr>
</table><br>");
}; //end function title
?>

<!-- BANNER CODE -->
  <center><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
 WIDTH="830" HEIGHT="84" id="flashsenic" ALIGN="">
    <PARAM NAME=movie VALUE="http://flashsenic.com/flashsenic.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="http://flashsenic.com/flashsenic.swf" quality=high bgcolor=#000000  WIDTH="830" HEIGHT="84" ALIGN=""
 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT></center>
<!-- /BANNER CODE -->

<table border="<?=$border?>" cellspacing="0" cellpadding="0" width="830" align="center">
<tr>
   <td width="100%" height="28" background="files/flashsenicheadertwo830x27.png" align="center"><font size="<?=$fontsize?>">


<?php include('/home/flash/public_html/flash.php');?>

 </font></td>
</tr>
</table>


<!-- BREAK BANNER FROM TABLES -->
<center><img src="files/flashsenicmainbody.png"></center>
<!-- /BREAK BANNER FROM TABLES -->

<table border="<?=$border?>" cellspacing="0" cellpadding="0" width="830" align="center">
<tr>
   <td width="100%" background="files/flashsenicmainbody.png">

<!-- IINITIALIZING CODE FOR INSIDE THE TABLE -->

<table border="0" cellspacing="0" cellpadding="4" width="95%" align="center">
<tr>
   <td width="200" valign="top">
   <!-- LEFT BLOCK TABLE -->

    <!-- CREATING LOGIN FORM -->
   <?php
   if (!$login->logged()){
   title(">> Quick Login", "left");
   echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">Username: ");$login->username();echo ("<br>Password: "); $login->password(); echo ("<br>"); $login->submit(); $login->verify(); echo("<center>[
   <a href=\"index.php?action=reg\">Register?</a> ]</center></font></td>
</tr>
</table><br>");
   };
  ?>
   <!-- /CREATING LOGIN FORM -->


       <!-- CREATING USER PANEL -->
   <?php
   if ($login->logged()){
   title(">> Welcome $_SESSION[user]", "left");
   echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">  <a href=\"forum/index.php\">View</a> |<a href=\"forum/index.php\">Edit Porfile</a> <br> <a href=\"portal/submit.php\">Submit Flash </a><br> <a href=\"portal/movie.php\">View Submission(s) </a><br> 
 <a href=\"portal/respond.php\">Respond</a> <br> <a href=\"forum/index.php\">BBS</a> <br><hr> Average Portal Score : <b> Commin soon</b> <br>Rank:<b>Commin Soon</b> <br> BBS Post(s): <b> </b></font></td>
</tr>
</table><br>");
   };
  ?>
   <!-- /CREATING USER PANEL -->

   <?=title(">> Hot Portal Pics", "left");
   echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">Hot Portal Picks</font></td>
</tr>
</table><br>");
   
?>

  <?=title(">> Top Affiliates", "left");
   echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">Top Afiliates</font></td>
</tr>
</table><br>");
   
   ?>


   <?=title(">> Rate Us", "left");
   $_TABLECOLOR = "303438";
        echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">"); include"poll.mod"; echo("</font></td>
</tr>
</table><br>");
   ?>


   <!-- /LEFT BLOCK TABLE -->
   </td>

   <td width="430" valign="top">
    <!-- MIDDLE BLOCK TABLE -->
   <?
    if (isset($_GET["action"])){
     if ($_GET["action"] == "reg"){
     echo ("<form method=\"post\" action=\"\">");
     }; //end if action = reg
   }; //end isset action
   ?>

   <?=title(">> Flash Senic News <<", "center");

   if (isset($_GET["action"])){
     if ($_GET["action"] == "reg"){

    cont("
    <input type=\"text\" name=\"q\"> : Username<br>
    <input type=\"password\" name=\"w\"> : Password<br>
    <input type=\"text\" name=\"e\"> : E-mail Addy<br>
    <input type=\"text\" name=\"r\"> : Name<br>
    <input type=\"text\" name=\"t\"> : Country<br>
    <input type=\"text\" name=\"y\"> : Website<br>
    <input type=\"text\" name=\"u\"> : Avatar<br>
    <input type=\"text\" name=\"i\"> : Signature<br>
    <input type=\"submit\" name=\"a\" value=\"Register!\"></form>");
    
    if (isset($_POST["a"])){
    $mydb->mydb("forum/db", "users.dat");
    
    $fp = file("forum/db/users.dat");
    for ($i = 0; $i < count($fp); $i++){
    $key = explode("<~>", $fp[$i]);
    $taken = "0";
    if ($_POST["q"] == "$key[0]"){
      $taken = "1";
    };

    if ($taken != "1"){
      $test = $mydb->addRecord(array($_POST["q"], $_POST["w"], $_POST["e"], "3", $_POST["r"], $_POST["t"], $_POST["y"], $_POST["u"], "0", $_POST["i"]));
      header ("Location: http://www.flashsenic.com/index.php?msg=1");
      exit();
    };
    
    }; //end $i
    };

     }; //end if action = reg
   }; //end isset action
   

    if (isset($_GET["action"])){
     if ($_GET["action"] == "members"){
     $mydb->showTables("forum/db", "users.dat", array("0", "4", "5", "8"), "303438", "383E45");
     }; //end if action = reg
   }; //end isset action

if (isset($_GET['msg'])) {
    echo '<div align="center"><font size="2">Thankyou for registering for FS. Please login using your username and password.</font></div>';
}
     echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">
<?php include('/home/flash/public_html/news/news.php');?><font></td>
</tr>
</table><br>");
   ?>




   <!-- /MIDDLE BLOCK TABLE -->
   </td>
   <td width="200" valign="top">
      <!-- RIGHT BLOCK TABLE -->

   <?=title("Top 100 Point Leaders <<", "right");
      echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">100 Point Leaders</font></td>
</tr>
</table><br>");
   
?>


<?=title("Latest Submissions <<", "right");
     echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">Latest Submissions</font></td>
</tr>
</table><br>");
   
?>


<?=title("Latest Forum Posts <<", "right");
   echo ("<table border=\"0\" cellspacing=\"1\" bgcolor=\"000000\" cellpadding=\"0\" width=\"100%\" align=\"center\">
<tr>
   <td width=\"100%\" bgcolor=\"383E45\"><font size=\"2\">Latest Forum Post</font></td>
</tr>
</table><br>");
   
?>




<!-- /RIGHT BLOCK TABLE -->
   </td>
</tr>
</table>

<!-- /IINITIALIZING CODE FOR INSIDE THE TABLE -->

   </td>
</tr>
</table>
<!-- INITIALIZING TOOTER -->
<center><img src="files/flashsenicbottom830x46.png"></center><center><a href='http://flashsenic.com'>Flashsenic.com</a> © 2004 - All Rights Reserved | <a href='http://flashsenic.com/contactus.php'>Contact Us</a></body></center>

<!-- /INITIALIZING TOOTER -->

2

(3 replies, posted in PunBB 1.2 troubleshooting)

Frank H wrote:

have you read through the topic that is sticky in the top of this forum?

No i havent sorry . sad

I keep getting
 
Bad HTTP_REFERER. You were referred to this page from an unauthorized source. Please go back and try again. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL.

even when i change to the correct URL some one please help me .