![]() |
Using a different directory
Hi, I have installed the vBadvanced CMPS addon and pretty much have it working within the forums directory. However, I want to use the cmps_index page as the index page at the top level of the public directory.
I might have missed another post on a similar topic, but all searches have led to dead ends. Does anyone have some advice? |
Just update cmps_index.php file and all will be well (the path).
|
Thanks for the tip, but I might need further advice.
I saved the cmps_index.php file as index.php in the root directory. Then I commented out the chdir('forum'); command. This results in a page with broken images and links. Not sure what to do from here.... |
Well, after a bit of mucking around, I got this to work. It was a case of changing directories, connecting to global.php and then changing directories again.
Once that was working, some extra php was required to link up the style sheets. It's a tiny bit back and forth, but works really really well! If anyone is interested in the method, I can post the code here. |
...
Why so much extra work for a 1 line setting change in the cmps_index.php file? |
All times are GMT. The time now is 05:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|