Log in

View Full Version : 2 Sites


thechick3n
10-03-2007, 12:44 AM
Hey,

So I got a question.

I have a main site say x.com which has no forums just the website with all its content.

The forums are under y.com.

I have a login form for y.com on x.com, now how I make it so when you visit x.com logged it it will show the vbulletin welcome stuff like

Welcome, Xx.
You last visited: Today at 12:37 AM
Private Messages: Unread 0, Total 2.
I'm totally blanking on this.

Thanks

armatik
10-03-2007, 01:52 AM
Ideally you wouldn't want to do that as it's a security risk but.. in the <form> tag on your login form, make sure you put, in the action="" attribute, the FULL address of the site. I'm not completely sure if this will work, but give it a shot.

Dismounted
10-03-2007, 05:45 AM
It's not a security risk, provided that it is coded correctly.

thechick3n
10-03-2007, 08:22 PM
This really hasn't helped my question at all.

I already have the login form and its working fine. I just want to change it to the vbulletin stuff when someone is logged in.

Dismounted
10-04-2007, 05:02 AM
Assuming they're both on the same server and can access each other's files, just include global.php.