954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

phpBB thread archive

I found this script to convert my phpbb threads and so forth to htm as an archiver.

I can see the forums , then you click and can see the topics, then you click and it becomes a blank page where the posts are suppose to be.

Any guesses?

location of archive www.religiousforums.com/parkweb/archiver/

here is the code:

[PHP] <?php
//####################################################################################
//### phpBB2 HTML Archiver
//## Script created by http://ScriptWiz.com##
//### Copyright info MUST stay on the bottom of all scripts ####
//#### Visit http://www.ScriptWiz.com/phpbb-html-archiver.html for full release and instructions ####
//####################################################################################
//configure archiver
$title = "Religious Forums Chat and Debate;";
$domain = "http://www.religiousforums.com";
$bburl = "http://www.religiousforums.com/parkweb/";
$path = "/parkweb/archiver/"; //this is path from the root folder like /archive/
//no need to change anything below this line
$asked = substr($_SERVER['REQUEST_URI'],strlen($path));

//-----------------------------------------------------------------
function GetForumsByCategory($cid)
{
global $domain,$path;
$level = 2;
$res = mysql_query("select forum_id,forum_name,forum_desc from ".FORUMS_TABLE." where cat_id=$cid and auth_view=0 order by forum_order");
$started = false;
$indent = str_repeat("\t",$level);
while ($row = mysql_fetch_row($res))
{
if (!$started)
{
$started = true;
echo $indent."\n";
}
echo $indent."\t{$row[1]}$level>
{$row[2]}\n";
}
if ($started)
echo $indent."\n";
}
//-----------------------------------------------------------------
function ExtractExtension($filename)
{
return strtolower(substr($filename,strrpos($filename,'.')+1));
}
//-----------------------------------------------------------------
function PrepareName($s)
{
$abc = "1234567890abcdefghijklmnopqrstuvwxyz_";
$s = strtolower($s);
$r = "";
for($i=0;$iScriptWiz.com phpbb HTML Archiver - Created by ScriptWiz.com and released by Skinz.org

rex_b
Junior Poster in Training
56 posts since Feb 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You