PamBlizzard
11-12-2004, 09:49 PM
I'm trying the instructions for adding CMPS content to other forum pages, provided at http://www.vbadvanced.com/membersarea.php?do=viewmanual&productid=4&pageid=6
where it says:
For the next step, you will want to search your file for the phrase "print_output" (without the quotes). In our example here, you would find the following code:
eval('print_output("' . fetch_template('FORUMHOME') . '");'); "
However, my index.php does not contain that code at all. In fact, it's a very short file. and looks like this:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0.0
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 18:45, Sun Nov 7th 2004
// ||
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
// ============================================
// No Further Editing Necessary!
// ============================================
require_once('./global.php');
print_portal_output($home);
?>
The renamed index_old.php DOES have the code that I am told to search for and edit, but it really is my OLD index file from the first portal version before I upgraded to CMPS.
Any thoughts on what I might be doing wrong, or what the right file is?
THANKS! :)
where it says:
For the next step, you will want to search your file for the phrase "print_output" (without the quotes). In our example here, you would find the following code:
eval('print_output("' . fetch_template('FORUMHOME') . '");'); "
However, my index.php does not contain that code at all. In fact, it's a very short file. and looks like this:
<?php
// ++=========================================================================++
// || vBadvanced CMPS v1.0.0
// || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved
// || This file may not be redistributed in whole or significant part.
// || http://vbadvanced.com
// || Downloaded 18:45, Sun Nov 7th 2004
// ||
// ++ ========================================================================++
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'adv_index');
define('VBA_PORTAL', true);
// ============================================
// No Further Editing Necessary!
// ============================================
require_once('./global.php');
print_portal_output($home);
?>
The renamed index_old.php DOES have the code that I am told to search for and edit, but it really is my OLD index file from the first portal version before I upgraded to CMPS.
Any thoughts on what I might be doing wrong, or what the right file is?
THANKS! :)