PDA


View Full Version : Multiple portals on subdomains


Foxman
07-29-2005, 02:18 AM
Ok. I tried a few searches of various terms but I haven't been able to find anything that addressed the questions I have. If I have overlooked something, I apologse in advance.

First off, let me try and explain what I wish to achieve and then I will attempt to ask the question I have. I'm sure this idea is nothing new but here goes.

At present I am working on this idea for a friend who runs a fairly sizeable gaming guild. Currently the guild operates in one game although this will be expanded to include a second very shortly. This means that the website arrangement running now is unsuitable as are the forums.
I have proposed a change to a vBulletin and Portal driven site. This is what I envisage:

Essentially, we would break the guild into 3 seperate sites; the main 'Title' page people view when opening the domain and 2 sub-domains, one for each game.
The title page would really be nothing more than an image and 3 links. One link to the forum index and a link to each of the 'sub' sites. These sub sites would serve as a news and information page for that particular sector of the guild and link to their own subforums within the index. This would mean that members can interact freely between the 2 games but it would also maintain a degree of independance and seperation to ensure the games are not conflicting.
So what I thought of was running a portal on each of the subdomains that would be linked to the relevant subforums for news etc.

Make sense? I sure as hell hope so.

What it boils down to is this: Can I effectively run 2 seperate portals on seperate subdomains but have them linking to the same forum installation (but to different parts of it)? If I can, is it possible without much in the way of code hacking? Would it be possible for users to login to any section and remain logged in regardless of where they navigate? Also, would it be possible to create a different style/appearance for the 2 portals?
Alternatively, is there are an easier option that would encompass what I am suggesting that I have stupidly overlooked?

Any help, comments or suggestions regarding this would be greatly appreciated :)

Brian
07-29-2005, 12:12 PM
Shouldn't be much of a problem at all. Once you have the page installed, just create 2 new pages for those subdomains. Then make 2 copies of your cmps_index.php and copy them over into the folders for your subdomains. Then at the top of each, look for this code:
define('VBA_PORTAL', true);
And right below that add something like this:
define('VBA_PAGE', 'page_identifier_here');

Just replace page_identifier_here with whatever you use for the Page Identifier option when adding those pages and that will force that copy of the file to always pull the page specified there.

Foxman
07-30-2005, 02:23 AM
Thanks very much for the reply, I shall get cracking on this and see what damage I can do :)

icedewd
12-28-2005, 05:26 PM
I am curious if this is what i am looking for...
Here is my question / delima...

I have mutiple sites that "Redirect" to one domain name. I was wondering if there was a way for them all to "SHARE" the same database backend. I just want a different front page / portal for everyone and would like the same content on all sites.. Any ideas? I am not trying to get around the system just trying to give sorta custom feel to each site. In some cases... people find the site by going to www.poweradders.com and when they get there it is a Turbo site... If i could tailor the "PORTAL" to fit them that would be great.

www.turborides.com <-- main site.
www.boostedrides.com
www.turbochevy.com
www.poweradders.com

The sites are just different names with the same content. Didnt know if there was a way to just change the logo based on the URI?

Any help will be GREATLY appreciated...

Mike
http://www.turborides.com

Brian
12-30-2005, 05:16 PM
You should be able to use something similar to what I posted above, though I'm not sure if cookies would work properly since you're using different domain names... Although, you could set up your redirects so that each domain is redirected to a specific file or folder on your main domain name, which should allow everything to work properly.