Home »
FUDforum »
How To »
FUD_OPT_1, FUD_OPT_2 and more
FUD_OPT_1, FUD_OPT_2 and more [message #19742] |
Sun, 29 August 2004 02:17 |
Abraxa
Messages: 72 Registered: August 2004 Location: Germany
Karma:
|
Member |
|
|
Heya =)
I'm trying to make the awesomeness that is called the FUDForum the central backend of a webpage. That's why I changed index.tmpl/index.t into forum.tmpl/forum.t so I could have a new index.tmpl/index.t which would be the front page of the entire webpage.
In addition, I added a new message parameter to users.inc.t:
case 'fi':
$_GET['t'] = 'forum';
break;
The problem I'm facing now is that when I open index.php in the FUDForum root directory using http://whateverhost/index.php?fi=fi, it still shows the index page and not the forum's index.
Apparently
/* we need to parse S & rid right away since they are used during user init */
if ($o2 & 32768 && !empty($_SERVER['PATH_INFO'])) {
causes the switch() in init_user() to be bypassed since it shows that ($o2 & 32768) equals 0 and so the page defaults to 'index' later on (also in init_user()).
That phantoma leads me to asking if anyone has an idea about what meanings the bit fields in FUD_OPT_1 and FUD_OPT_2 have and
if anyone got an idea of how to accomplish my goal even without this knowledge?
Best wishes,
-Soeren
[Updated on: Sun, 29 August 2004 02:20] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Nov 28 23:48:19 GMT 2024
Total time taken to generate the page: 0.04339 seconds