View Full Version : Home vs. Forum
apotheka
11-24-2004, 11:49 PM
I currently have a redirect on the site above that forwards to http://69.93.241.221. How can I setup vadvanced cmps to load on http://69.93.241.221 and then show the vbulletin itself in the forum directory (http://69.93.241.221/forum)??
:confused:
Currently, vbadvanced cmps is setup in the root/forum directory..which isn't practical.
The forum files which I have modified should be the ones in my root/public_html directory. Eventually, this site will move to a virtual server.
Please help!
This is probably a simple problem...but I'm new to this bulletin board stuff.
Thank you!!
Artayick
11-25-2004, 01:16 AM
ok if you are going to use the same dir that is fine.. but you are going to have to rename the forum index.php to something like forum.php and make sure you set your paths and names correct in the admin cp.
If you wish to put the portal out in the root that is fine too.. you just need to put the index page out in root dirs and make sure your chdir and paths are correct and it will work just fine..
just to show you might set up is
www.tkgn.com for the portal
and
forums.tkgn.com for the vb runs smooth
Artayick
11-25-2004, 01:20 AM
quick note.. I see that you have taken the vba and vb copy rights off... you will want to put them back up unless you payed the fee to remove the licences.
Brian
11-25-2004, 10:46 AM
quick note.. I see that you have taken the vba and vb copy rights off... you will want to put them back up unless you payed the fee to remove the licences.
Thanks for looking out. He does own a branding free license for the CMPS though. :)
To set up the CMPS in your root directory, simply move the file to that directory and be sure that you have your chdir() line in the file set properly.
apotheka
11-25-2004, 01:39 PM
I moved the index.php file to my root directory. But now I get this error message:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/columbia/public_html/index.php on line 25
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/columbia/public_html/index.php on line 25
The website address is: http://69.93.241.221/
I have even done what the manual had suggested with the info.php file for the server info but that didn't work.
The file is here: http://69.93.241.221/info.php
I feel that I'm really close to getting this to work, but it doesn't seem work out.
Any thoughts?? :confused:
Please reply or PM me, I would like to get this single function to work on Thanksgiving day! :p
Brian
11-25-2004, 01:43 PM
What do you have set for your chdir line?
apotheka
11-25-2004, 02:30 PM
What do you have set for your chdir line?
I have the following:
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
// chdir('./home/columbia/public_html/forums');
// ============================================
// No Further Editing Necessary!
// ============================================
Artayick
11-25-2004, 06:31 PM
in your php info is this the full path?
Artayick
11-25-2004, 06:34 PM
also is there really a "." before your path or is that a typo? if it is.. might want to take that out..
apotheka
11-25-2004, 06:49 PM
<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0 RC2 ||
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved ||
// || This file may not be redistributed in whole or significant part. ||
// || http://vbadvanced.com ||
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
// ============================================
// Enter the full path to your forum here
// Example: /home/vbadvanced/public_html/forum
// ============================================
// chdir('/home/columbia/public_html/forum');
// ============================================
// No Further Editing Necessary!
// ============================================
require_once('./global.php');
print_portal_output($home);
?>
The above is what I have..I took out the period as suggested..still doesn't work.
Question, do I need BOTH the original vbulletin index.php file AND the vbadvanced's index.php file?
When I visit, http://69.93.241.221/
This is the error from the page:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/columbia/public_html/index.php on line 25
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/columbia/public_html/index.php on line 25
I have the server info here: http://69.93.241.221/info.php
:confused:
apotheka
11-25-2004, 09:49 PM
I'm starting to think it might be easier to pay the installation fee?? I have everything but the home/forum function working.
Anyone interested in helping? Can I still pay the $14.99 fee for installation?
So close, but yet so far....
Artayick
11-25-2004, 10:48 PM
if you want a little help pm me a temp admin set up and I will take a look for you.. I will take a look for free if I can't quick fix it I say pay..
Brian
11-26-2004, 01:14 PM
You need to remove the // marks from infront of the chdir line (those lines comment it out, so it's like the command isn't even there).
As for the need for both index.php files, that depends on what you're doing with the script. If you're not going to use your forum's index.php file then it's not necessary to have it.
apotheka
11-26-2004, 08:43 PM
That worked!! Such a simple solution!
The only problem now is that the vba isn't formatted correctly and some of the images are missing. Do I have a setting setup incorrectly??
Some of the buttons aren't displaying. The forum looks good though.
http://69.93.241.221/?
Brian
11-26-2004, 08:50 PM
Step 1 - Admin CP Modifications
Go to your Style Manager under "Styles & Templates" in your Admin CP. Choose to modify All Style Options. On this page, you will see a section for "Image Paths". Here you must change the path for each image directory (Title Image, Button Images Folder, Miscellaneous Images Folder, etc) to the full path (ex - /forum/images or http://yoursite.com/forum/images).
You must do this for each of your styles, otherwise your images will not show up!
apotheka
11-26-2004, 10:05 PM
Awesome!! Finally!! It works!
Awesome support here. Thanks guys!!!
:)
I'm still learnin the ropes....
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.