FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » FUD_OPT_1, FUD_OPT_2 and more
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
FUD_OPT_1, FUD_OPT_2 and more [message #19742] Sun, 29 August 2004 02:17 Go to next message
Abraxa is currently offline  Abraxa   United States
Messages: 72
Registered: August 2004
Location: Germany
Karma: 0
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

Re: FUD_OPT_1, FUD_OPT_2 and more [message #19747 is a reply to message #19742] Mon, 30 August 2004 12:31 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Look inside the GLOBALS_HELP file, this file will describe what the bit values of FUD_OPT variables are.

FUDforum Core Developer
Re: FUD_OPT_1, FUD_OPT_2 and more [message #19787 is a reply to message #19742] Thu, 02 September 2004 01:48 Go to previous message
Abraxa is currently offline  Abraxa   United States
Messages: 72
Registered: August 2004
Location: Germany
Karma: 0
Member
Thanks, man =)

Figured the problem out on my own and can continue my work as planned. You're awesome! =D

Much love,
-Soeren
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Show topics only in tree view
Next Topic: posts display
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 00:38:41 GMT 2024

Total time taken to generate the page: 0.01659 seconds