What To Do If You Need Only The Forum Feature


Subject: What To Do If You Need Only The Forum Feature
Hi again :mrgreen:

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?

Profile PM  
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: [Download] [Hide]
  1. define('CMS_PAGE_HOME', 'index.' . PHP_EXT); 

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

Profile PM  
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 :roll:

Profile PM  
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?

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 :wink:

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo

Generation Time: 0.1944s (PHP: 32% SQL: 68%)
SQL queries: 29 - Debug On - GZIP Enabled