PDA

View Full Version : Multiple CMPS


l Faith l
10-29-2004, 10:49 PM
Is it possible to run multiple vbAdvanced CMPS on a domain and connect to the same vbuletin forum?

Brian
10-29-2004, 11:33 PM
Why exactly would you need to run multiple one's? Could you not just create different pages with it?

Our Sponsors
 

l Faith l
10-30-2004, 03:32 PM
I'm planning to use the portal for running a multi-site network. So, one vbadvanced for one site, and the other vbadvanced for another site. Is that possible?

Brian
10-30-2004, 03:36 PM
All sharing the same forum I assume?

Yes, you can have multiple instances. First you would want to create a new page(s) and be sure to note what you use for the 'Page Identifier' option. Then you would want to copy the cmps_index.php file and re-name it, or put it in a different folder, then at the top of that file, right below this code:

define('VBA_PORTAL', true);

You would want to add this:

define('VBA_PAGE', 'page_identifier_here');

Replace page_identifier_here with whatever you used as the 'Page Identifier' option when you added the page. That file will then pull the info and settings from the page you specified.

Our Sponsors
 

tomshawk
10-30-2004, 04:49 PM
You say, You can put it in a different folder.

If you do, dont you have to change the

require_once('./global.php');

line to compensate

Brian
10-30-2004, 06:02 PM
No, you shouldn't have to change anything as long as the full path is set in your chdir line.