Icy Phoenix

     
 

What To Do If You Need Only The Forum Feature

What To Do If You Need Only The Forum Feature

Article
Reply with quote    Download Post  
Post 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?



 
Sarakin - View user's profile Send private message  
Sarakin [ Sat 25 Jul, 2015 15:56 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


What To Do If You Need Only The Forum Feature

Comments
Reply with quote    Download Post  
Post 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); 




 
Informpro - View user's profile Send private message  
Informpro [ Sun 26 Jul, 2015 13:47 ]
Reply with quote    Download Post  
Post 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



 
Sarakin - View user's profile Send private message  
Sarakin [ Sun 26 Jul, 2015 19:41 ]
Reply with quote    Download Post  
Post 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?



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Wed 29 Jul, 2015 18:45 ]
Reply with quote    Download Post  
Post 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  



 
Sarakin - View user's profile Send private message  
Sarakin [ Wed 29 Jul, 2015 20:46 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron