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
Return to the default flat view Create a new topic Submit Reply
FUD_OPT_1, FUD_OPT_2 and more [message #19742] Sun, 29 August 2004 02:17 Go to previous message
Abraxa is currently offline  Abraxa   United States
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

[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Show topics only in tree view
Next Topic: posts display
Goto Forum:
  

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

Current Time: Sun Nov 24 22:55:46 GMT 2024

Total time taken to generate the page: 0.04990 seconds