https://www.icyphoenix.com/viewtopic.php?f=35&t=5622
-----------------------------------
Structor
Thu 26 Mar, 2009 10:38

Setting Forum.php The Homepage
-----------------------------------
Hello
I want to set forum.php as the homepage. How could i do that?
Thank you!


-----------------------------------
Mighty Gorgon
Thu 26 Mar, 2009 12:36

Re: Setting Forum.php The Homepage
-----------------------------------
Only the link in header and menu block or even in breadcrumbs?

Are you using the portal or not?


-----------------------------------
Structor
Fri 27 Mar, 2009 00:09

Re: Setting Forum.php The Homepage
-----------------------------------
No I am not usig the portal, the main page has to be the forum page. When I go on www.doizecisti.ro I want to enter directly on the forum.php page, not index.php
This is what my users demand :)

Sorry, not "my" users, the users from the site I administrate :)


-----------------------------------
TheSteffen
Fri 27 Mar, 2009 10:26

Re: Setting Forum.php The Homepage
-----------------------------------
Try this: [b]index[/b] should be [b]forum[/b]

[quote user="Mighty Gorgon" post="31242"]Or you can edit constants.php:

[codeblock]define('PORTAL_MG', 'index.' . $phpEx);[/codeblock]

So the link will point where you like.[/quote]


-----------------------------------
Structor
Fri 27 Mar, 2009 23:01

Re: Setting Forum.php The Homepage
-----------------------------------
I made that modification, but is still going to portal page when I enter www.doizecisti.ro in browser


-----------------------------------
novice programmer
Sun 29 Mar, 2009 15:36

Re: Setting Forum.php The Homepage
-----------------------------------
[quote user="TheSteffen" post="37676"]Try this: [b]index[/b] should be [b]forum[/b]

[quote user="Mighty Gorgon" post="31242"]Or you can edit constants.php:

[codeblock]define('PORTAL_MG', 'index.' . $phpEx);[/codeblock]

So the link will point where you like.[/quote][/quote]

OMG!

did you set the define('PORTAL_MG', 'index.' . $phpEx); this way:

[code syntax=php]define('PORTAL_MG', 'forum.' . $phpEx);[/code]

just copy and paste :shock:

EDIT:
I see what happens. the portal link changed, but no more.

Set after the includes commands this one:

redirect('PORTAL_MG' . 'forum.' . $phpEx);

That will redirect users when loading the page.


-----------------------------------
Structor
Sun 29 Mar, 2009 16:57

Re: Setting Forum.php The Homepage
-----------------------------------
With all due respect, I don't know where to insert that line.  :oops:


