What To Do If You Need Only The Forum Feature »  Show posts from    to     

Icy Phoenix


Old Customizations - What To Do If You Need Only The Forum Feature



Sarakin [ Sat 25 Jul, 2015 15:56 ]
Post subject: What To Do If You Need Only The Forum Feature
Hi again

Well, the thing is that we only need the forum feature, and if I don't remember badly, it's not that simple than renaming forum.php into index.php (is what we intend, to work only with the forum as index.php), but some change had to be made to some variable in a config file. The point is that I don't remember any of that. Could anyone help with this simple thing, please?


Informpro [ Sun 26 Jul, 2015 13:47 ]
Post subject: Re: What To Do If You Need Only The Forum Feature
MG might want to correct me, but what I'd do is edit includes/constants.php

and change:
Code: [Hide]
  1. define('CMS_PAGE_HOME', 'index.' . PHP_EXT); 

to:
Code: [Hide]
  1. define('CMS_PAGE_HOME', 'forum.' . PHP_EXT); 


Sarakin [ Sun 26 Jul, 2015 19:41 ]
Post subject: Re: What To Do If You Need Only The Forum Feature
Ok, thanks for your time, but that's not what I intended. What we want is the forum working as "index.php", but I'm not completely sure if a simple renaming will work without causing any other trouble


Mighty Gorgon [ Wed 29 Jul, 2015 18:45 ]
Post subject: Re: What To Do If You Need Only The Forum Feature
There are several methods depending on what you want to achieve... I would not advice to rename/remove forum.php even for indexing purpose.

Anyway, should you want to do that, you can change CMS_PAGE_FORUM to index.php and rename forum.php into index.php.

You could then rename index.php to portal.php or something like that, by also changing the related constant...

May I ask which is the reason for doing that?


Sarakin [ Wed 29 Jul, 2015 20:46 ]
Post subject: Re: What To Do If You Need Only The Forum Feature
Mighty Gorgon wrote: [View Post]
May I ask which is the reason for doing that?

Because we're not a new website and we have a lot of links with "index.php?whatever" and we don't want them to become broken




Powered by Icy Phoenix