PDA


View Full Version : How do I make my first page/forumhome page


sunnycher
07-24-2005, 09:31 PM
Look like a normal site, but with my modules?
and then they click a link to get to the actual FORUM?

Does this make sense?
Like, I want my site, www.littlegreenphotographers.com/community
to look like it does except not with the forum on it? but maybe with
the latest 10 postings?

Hope this is the right place to ask!

TIA!
Cher

ConqSoft
07-24-2005, 09:34 PM
http://www.vbadvanced.com/forum/showthread.php?t=25

sunnycher
07-24-2005, 09:35 PM
http://www.vbadvanced.com/forum/showthread.php?t=25

Thank you :)

sunnycher
07-24-2005, 09:44 PM
another question, if this doesn't turn out the way I want it, can I just rename the files back and it'll fix it back to the way it is now?

TIA!

ConqSoft
07-24-2005, 09:47 PM
Yeah, just rename the forum index back to index.php and edit the option in the AdminCP to switch it back.

sunnycher
07-24-2005, 09:51 PM
The default index being under my forum root? like community is my forum name in my URL, that is my forum root, I change the index.php under it, correct?

sunnycher
07-24-2005, 10:13 PM
Ok, that didn't work at all.
I renamed my index.php under my community/ root to forums.php
then I renamed my cmps_index.php that is under my main root, index.php
then did the changes in the admin cp

and came up with a page can not be found.

ConqSoft
07-24-2005, 10:14 PM
The cmps_index.php that you renamed needs to be in your community directory, to replace the forum index that you renamed.

sunnycher
07-24-2005, 10:17 PM
so that is where it should be in the first place?

sunnycher
07-24-2005, 10:20 PM
it gives me this

Warning: chdir(): No such file or directory (errno 2) in /home/content/c/h/e/cher123/html/community/index.php on line 21

ConqSoft
07-24-2005, 10:21 PM
No, it's wherever you want it to be. :)

I run my CMPS as index.php in the root of my site (www.fireblades.org/) and my forums as http://www.fireblades.org/

I prefer having CMPS as my "main" site, for content management, etc.

sunnycher
07-24-2005, 10:24 PM
Yours is how I want mine LOL
how can I make it where, when I type in www.littlegreenphotographers.com that the forumhomepage comes up? like your site, then I can link to the forums?

ConqSoft
07-24-2005, 10:26 PM
If you want the forum to be in your root, then you've got a bit more work. Do you want your FORUM to show up in the root of your site, or do you want CMPS to show?

sunnycher
07-24-2005, 10:28 PM
I want it to look like this,
www.littlegreenphotographers.com/community/index.php
BUT, I want it to look like that when I type in www.littlegreenphotographers.com
Then I can add a link for the forum in my menu bar, right? Like yours?

ConqSoft
07-24-2005, 10:33 PM
Yes, you will want to move everything up one level to get it to look like that.

But mine isn't like that. Mine is just like yours is now, other than your CMPS index would be at http://www.littlegreenphotographers.com/ and your forum would remain at http://www.littlegreenphotographers.com/community/ (where mine is in "forums", but it's the same thing.)

sunnycher
07-24-2005, 10:33 PM
I had to change it back, the error was still coming up.
I'm assuming (you'd think I'd know this by now) that my CMPS is my portal?

All I know is I'd like for my main page to be my like it is now, without the FORUM in it, I want members to click on a forum link to go to actual forums.

ConqSoft
07-24-2005, 10:42 PM
If I go to:

http://www.littlegreenphotographers.com/

I see some pictures and text.

If you want that to go away, and be replaced with CMPS, you will need to delete or rename the index.html that is currently in your root directory, and rename cmps_index.php that is in your root directory to index.php. That will then make http://www.littlegreenphotographers.com/ your CMPS.

Then, yes, you can have a link on it that takes you to http://www.littlegreenphotographers.com/community for your forum.

ConqSoft
07-24-2005, 10:47 PM
Of course, you need to get the chdir() line in your cmps index.php correct first. :)

For help with that: http://www.vbadvanced.com/forum/showthread.php?t=1343

sunnycher
07-24-2005, 10:47 PM
I deleted my index.html
renamed my cmps_index.php to index.php
this is what I get
Warning: chdir(): No such file or directory (errno 2) in /home/content/c/h/e/cher123/html/index.php on line 21

Warning: main(./global.php): failed to open stream: No such file or directory in /home/content/c/h/e/cher123/html/index.php on line 33

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/content/c/h/e/cher123/html/index.php on line 33

sunnycher
07-24-2005, 10:48 PM
LOL!! Where do I correct it?

ConqSoft
07-24-2005, 10:48 PM
Yeah, I saw. See my other reply.

sunnycher
07-24-2005, 10:48 PM
nevermind, didn't see the link at first LOL
Thanks for your patience :)

ConqSoft
07-24-2005, 10:51 PM
Edit the index.php in the root of your site and you'll see the chdir() line.

Change it to:

chdir('/home/content/c/h/e/cher123/html/community');