Log in

View Full Version : cmps_index.php vs. index.php


adwade
09-03-2006, 05:08 PM
the latest release works 100% with VBAdvanced. you just specify the name of your orignnal index.php. i changed my vba cmps_index.php to index.php and the vbuletin index.php tp cmps_index.php

in the donate settings in the Admin c.p just specify the name you put for your vbuletin index file and it will work.

(Above taken from https://vborg.vbsupport.ru/showthread.php?t=122997&page=2)

Being new to vB and even newer to vBa, I don't have a feel for what index.php does, nor why there are different index.php's. Could someone explain to me WHY you would want to do this?(besides get Cyb's mod to work with vBa)

At present, (I think) my vBulletin still has an index.php and once I got vBa installed ok, I renamed it's cmps_index.php to index.php per the instructions.

The above concept of swapping the names of them intrigues me. Is it done for level of control reason?(i.e. to allowl vBa's cmps, to supercede vB's level of control?)

Any explanation(s) would me MOST appreciated. Thanxx!

Derekclarke
09-05-2006, 01:59 PM
Index.php is your home page. (The page that opens First)

when you install a portal such as VBA you would usually want this page to open first, and not the main Forum.

Hence why you would swap the names of the two files. cmps_index is just an identifyable name to link your pages. you could set it as anything, eg. football_index, as long as you set this in the settings in Admin Cp. it should work.

Hope that helps.

Derek

Ntfu2
09-05-2006, 04:40 PM
Your index.php page is what first loads when you visit a folder location ie: http://yoursite.com/forums the index page would be first to load.

If you have your site setup, so your forums is in a subfolder, such as yoursite.com/forums there wont be a need to rename that file. Simply upload vBaCMPS into your yoursite.com and rename that cmps_index.php to index.php and call it a day ;)