vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 11-12-2004, 09:49 PM
PamBlizzard PamBlizzard is offline
Member
 
Join Date: Apr 2004
Posts: 31
Default Trying to edit index.php but doesn't seem to be right file

I'm trying the instructions for adding CMPS content to other forum pages, provided at http://www.vbadvanced.com/membersare...tid=4&pageid=6

where it says:
Quote:
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:

PHP 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 Code:
<?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!
  #2  
Old 11-13-2004, 08:53 AM
Artayick Artayick is offline
Spectrum G and D
 
Join Date: Feb 2004
Location: In a box in your alley
Posts: 115
Default Re: Trying to edit index.php but doesn't seem to be right file

you are to edit the index.php for your forums not the cmps index.php you will find your phrase to edit there
  #3  
Old 11-13-2004, 09:01 AM
PamBlizzard PamBlizzard is offline
Member
 
Join Date: Apr 2004
Posts: 31
Default Re: Trying to edit index.php but doesn't seem to be right file

Thanks for your reply
I posted the contents of my actual index.php above (not the cmps index.php) and the phrase does not exist in that file, as you can see.
  #4  
Old 11-13-2004, 09:16 AM
Artayick Artayick is offline
Spectrum G and D
 
Join Date: Feb 2004
Location: In a box in your alley
Posts: 115
Default Re: Trying to edit index.php but doesn't seem to be right file

that is rather odd.. My index.php for my forums is a rather large file. How is your site and forums set up.. like mine.. www.tkgn.com/index.php is my home page.. where forums.tkgn.com/index.php is my vb home page.. this is the file to edit.. if it still like that.. im lost too..
  #5  
Old 11-13-2004, 09:23 AM
PamBlizzard PamBlizzard is offline
Member
 
Join Date: Apr 2004
Posts: 31
Default Re: Trying to edit index.php but doesn't seem to be right file

Yes, isn't it? I had Brian do the upgrade from the HomePage to CMPS for me yesterday (and he was lightening fast, awesome!) So I guess he set it up a bit differently.

Like you, my root domain is my portal page the forum. I have no subdirectory for the forum itself, it's all in the root directory.

I don't know much about php but I suspect that "define('THIS_SCRIPT', 'adv_index');" is calling a page or template named adv_index, but I can't find one of those either!

I'm sure Brian will sort it all out for me...unless someone else has run up against the same thing.
  #6  
Old 11-13-2004, 09:59 AM
Artayick Artayick is offline
Spectrum G and D
 
Join Date: Feb 2004
Location: In a box in your alley
Posts: 115
Default Re: Trying to edit index.php but doesn't seem to be right file

if your foums and and home page are installed in the same dir.. he prolly renamed the forum index to something else.. cause that is the index code for the cmps page. Take a look at your url contact details in your vb admin and see if there is the path to the forums and what the file name is that it might have been changed to
  #7  
Old 11-13-2004, 10:19 AM
PamBlizzard PamBlizzard is offline
Member
 
Join Date: Apr 2004
Posts: 31
Default Re: Trying to edit index.php but doesn't seem to be right file

Good idea...yes, it says my domain, my root directory. Very strange!
  #8  
Old 11-13-2004, 10:29 AM
Artayick Artayick is offline
Spectrum G and D
 
Join Date: Feb 2004
Location: In a box in your alley
Posts: 115
Default Re: Trying to edit index.php but doesn't seem to be right file

can i get a link to your site real quick like... i have to see this... driving me nuts and its not even my site.. lol
  #9  
Old 11-13-2004, 10:36 AM
PamBlizzard PamBlizzard is offline
Member
 
Join Date: Apr 2004
Posts: 31
Default Re: Trying to edit index.php but doesn't seem to be right file

Sure! I have VB 3.0.0, no mods except for CMPS that was upgraded from HomePage yesterday.

http://www.JohnEdwardTalk.org
  #10  
Old 11-13-2004, 10:38 AM
Artayick Artayick is offline
Spectrum G and D
 
Join Date: Feb 2004
Location: In a box in your alley
Posts: 115
Default Re: Trying to edit index.php but doesn't seem to be right file

file you are needing to edit is forum.php that is the name of the file that he changed the index.php to. You can put your code in there to get your nav bar on the left side
  #11  
Old 11-13-2004, 10:41 AM
Artayick Artayick is offline
Spectrum G and D
 
Join Date: Feb 2004
Location: In a box in your alley
Posts: 115
Default Re: Trying to edit index.php but doesn't seem to be right file

also quick note.. in your vb settings you might want to check the path to your home page.. cause when going from the forum.. and clicking the link at the bottom takes you to the old site I believe.. http://www.johnedwardfriends.org/home.shtml is where that takes me..
  #12  
Old 11-13-2004, 10:41 AM
PamBlizzard PamBlizzard is offline
Member
 
Join Date: Apr 2004
Posts: 31
Default Re: Trying to edit index.php but doesn't seem to be right file

*Pam smacks her head* thank you SO much. I didn't think far enough back in the process.....thank you, thank you....
  #13  
Old 11-13-2004, 10:47 AM
Artayick Artayick is offline
Spectrum G and D
 
Join Date: Feb 2004
Location: In a box in your alley
Posts: 115
Default Re: Trying to edit index.php but doesn't seem to be right file

welcome glad to help out..
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with CMPS as index.php Polo Troubleshooting / "How do I..." Questions 9 11-06-2004 03:10 PM
Error with the index.php file after installing Zenan Troubleshooting / "How do I..." Questions 3 09-03-2004 01:14 PM
modules -peace- Troubleshooting / "How do I..." Questions 14 08-27-2004 03:36 PM
I receive an error that says "Invalid forum path specified! ..." Brian Frequently Asked Questions 0 06-16-2004 10:47 AM


All times are GMT -4. The time now is 06:26 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.