PDA


View Full Version : Please help me with this..


boris4ka
01-22-2006, 01:14 PM
My forum is located at forum.mysite.com. My home page is www.mysite.com. I want to include the modules on my homepage so people can see whos online on the forum from the homepage of my site, be able to login, ect. I have no idea how to do that. vbadvanced came with no instructions on it, and Ive searched this site and found nothing. I know cmps_index or w/e creates all those things, but how do I put each one separately on my home page. I would copy and paste the source, but It's dynamic so I cant. Help.

da prez
01-22-2006, 01:31 PM
you have to do the following :

rename your current index.php to something else, try forum.php
then rename your cmps_index.php to just index.php

you will have to go through and fix links etc, but that way your cmps is now your homepage,
and everything else will fall into place.

boris4ka
01-22-2006, 02:16 PM
No, but cmps_index and index are in forum.site.com. I want just some of the things from cmps_index on www.site.com. i dont want cmps to be my forum homepage.

Brian
01-23-2006, 03:03 AM
Can you post a link to your site so we can get a better idea of what you're trying to do?

boris4ka
01-23-2006, 04:57 PM
www.compgeeknetwork.com

Brian
01-23-2006, 07:40 PM
Your best bet is probably going to be to install the CMPS, then disable some modules and possibly change the 'adv_portal' template to make it look more like your current design.

boris4ka
01-23-2006, 08:27 PM
Sorry but you're not getting the question I think, I want to place a separate module on my home page. I want it to display the forum's online members, lets say. I don't want it as a part of cmps_index.php. I want just the script to put on my home page that will show these forum stats. Now I am thinking, maybe I should just copy the source from the cmps_index when its displaying the info, then modify the source and put it on my home page. But idk..

Brian
01-24-2006, 04:58 PM
Yup, I understand exactly what you're asking. The modules are dynamic (at least most of them), so getting that info on your current page wouldn't be as easy as just copying the source code from the CMPS. You would need to do things the other way around and modify the CMPS to look like your current page.

boris4ka
01-24-2006, 08:04 PM
Now its more clearer,but what do you mean copy source code? The page is dynamic, so when I open the cmps index and view source, it doesn't show the php for it, but it shows the generated text.
Just to make it clearer:
http://forum.compgeeknetwork.com/cmps_index.php < modules from there
http://www.compgeeknetwork.com < how can I put them here?

Brian
01-25-2006, 05:55 PM
Now I am thinking, maybe I should just copy the source from the cmps_index when its displaying the info, then modify the source and put it on my home page. But idk..
That's why I was referring to the source code. You mentioned copying it over to your current index file, and I was trying to let you know that would not work.

< how can I put them here?
You can't. You would need to alter the CMPS to look more like the page you've created, not the other way around.

boris4ka
01-25-2006, 07:34 PM
Oh! Now I get it, thanks. I'm gona see what I can do.