PDA

View Full Version : Running 3 seperate cmps from different directories?


Emma
07-09-2004, 12:53 PM
I saw one other thread similiar to this, but it didn't exactly answer all my questions. I have 3 completely seperate sites running of my boards, I have cmps installed now for the main site which takes you into the boards, the other two sites I have seperate domain names for and they run from different sub-directories inside of the main site.

fanbolt.com- main site
everwoodonline.com - other site located at fanbolt.com/everwood
theoconline.com- other site located at fanbolt.com/theoc

So my question is, how can I get cmps to work in different sub-directories, with the page for these being index.php, and how do I get these sites to pull their news and information from a different forum than the one that the main site is set up for?

Thanks!
Emma

Brian
07-09-2004, 12:56 PM
Copy your cmps_index.php file (or index.php assuming you've renamed it) into those subfolders. Then open the file and look for:

define('VBA_PORTAL', true);

Right below that, Add:

define('VBA_PAGE', 'everwoodonline');

Now create a new page, setting the options for that page as you would like, and for the 'Page Identifier' option, use 'everwoodonline'.

Repeat for your other domain. :)

Our Sponsors
 

Emma
07-09-2004, 02:06 PM
this worked great except for one problem! :) All my image paths are broken. Where can I specify the path for the images?

Emma

Brian
07-09-2004, 02:35 PM
Did you update your styles to add the full URL to each image path as instructed in the readme file?

Our Sponsors
 

Emma
07-09-2004, 02:43 PM
Nevermind I just created a new style and did the full path there, works great! :)

Thanks!
Emma