Sommerfeld
07-21-2001, 11:02 PM
It seems to me vbulletin has only static support.
(meaning you can not include the script on a different page / gateway)
Has anyone produced this hack yet for 2.01.? I have so far produced a hack for glossermans links 2.0, matts calendar and imagefolio for dynamic support. Djgateway.com/v3 you can view some scripts in action. <beta site>
The harder part about hacking this script seems to lack even the most basic global variables.
Such as: Full url paths. vbulletin only produces to the static local directories.
i.e.: "images/blah.jpg"
i.e.: "forum.php?foo=boo"
(IF) lets say I want include the script in a gateway i.e.:
<?
global $QUERY_STRING,$loc;
if ($inc=="forum"){
btable (yes,Forums,forums);
if($loc){$er=1;loc($loc);}
if(!$er){include("/home/sites/site46/web/v3/forums/index.php");}
etable ();
}
function loc($page){
include ("/home/sites/site46/web/v3/forums/".$page.$QUERY_STRING");
}
?>
Too enable this feature: I would have to pass my own variables to activate the process. Original urls that look like i.e.:
<a href="forumdisplay.php?s=foobar&forumid=foobar">
will have to change to:
$urlhack="http://djgateway.com/v3.index.php?";
<a href=\"".$urlhack."inc=forum&loc=forumdisplay.php&s=foobar&forumid=foobar\">
The problem? vbulletin is a bitch, does not even touch dynamic support.
My conclusion: vbulletin was created for stand alone use! ie: people who do not have dynamic layouts.
Any help producing this hack would be very nice. Thanks, :D -php developer
(meaning you can not include the script on a different page / gateway)
Has anyone produced this hack yet for 2.01.? I have so far produced a hack for glossermans links 2.0, matts calendar and imagefolio for dynamic support. Djgateway.com/v3 you can view some scripts in action. <beta site>
The harder part about hacking this script seems to lack even the most basic global variables.
Such as: Full url paths. vbulletin only produces to the static local directories.
i.e.: "images/blah.jpg"
i.e.: "forum.php?foo=boo"
(IF) lets say I want include the script in a gateway i.e.:
<?
global $QUERY_STRING,$loc;
if ($inc=="forum"){
btable (yes,Forums,forums);
if($loc){$er=1;loc($loc);}
if(!$er){include("/home/sites/site46/web/v3/forums/index.php");}
etable ();
}
function loc($page){
include ("/home/sites/site46/web/v3/forums/".$page.$QUERY_STRING");
}
?>
Too enable this feature: I would have to pass my own variables to activate the process. Original urls that look like i.e.:
<a href="forumdisplay.php?s=foobar&forumid=foobar">
will have to change to:
$urlhack="http://djgateway.com/v3.index.php?";
<a href=\"".$urlhack."inc=forum&loc=forumdisplay.php&s=foobar&forumid=foobar\">
The problem? vbulletin is a bitch, does not even touch dynamic support.
My conclusion: vbulletin was created for stand alone use! ie: people who do not have dynamic layouts.
Any help producing this hack would be very nice. Thanks, :D -php developer