phpbb link conversion
#2
Untested, but should work.

viewforum.php:
<?php
define("IN_MYBB", 1);
require_once "./global.php";
$fid = '1';
if(isset($mybb->input['f']))
{
	$fid = intval($mybb->input['f']);
}
header("Location: ".$mybb->settings['bburl']."/forumdisplay.php?fid=".$fid);

viewtopic.php:
<?php
define("IN_MYBB", 1);
require_once "./global.php";
$tid = '1';
if(isset($mybb->input['t']))
{
	$tid = intval($mybb->input['t']);
}
header("Location: ".$mybb->settings['bburl']."/showthread.php?tid=".$tid);
[Need Smilies? Get Me Smileys!


Messages In This Thread
phpbb link conversion - by talisman - 2006-12-05, 06:23 PM
RE: phpbb link conversion - by Christian - 2006-12-06, 12:24 AM
RE: phpbb link conversion - by talisman - 2006-12-06, 01:02 AM
RE: phpbb link conversion - by Christian - 2006-12-06, 01:12 AM
RE: phpbb link conversion - by talisman - 2006-12-06, 01:23 AM
RE: phpbb link conversion - by talisman - 2006-12-11, 09:40 PM
RE: phpbb link conversion - by Chris W. B. - 2006-12-11, 09:46 PM
RE: phpbb link conversion - by Martin M. - 2006-12-11, 09:50 PM
RE: phpbb link conversion - by talisman - 2006-12-11, 10:16 PM
RE: phpbb link conversion - by labrocca - 2006-12-11, 11:11 PM
RE: phpbb link conversion - by Christian - 2006-12-12, 10:06 PM
RE: phpbb link conversion - by talisman - 2006-12-12, 10:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)