Status: offline

Tutlan

Forum User
Newbie
Registered: 03/06/03
Posts: 9
I'm making another site that will run as a subdomain of my main site. Id like them to have seperate databases for everything but the user info. Is there a way to have them use the same user tables out of 1 database so they can sign up for 1 and be logged into either site that they visit?

tokyoahead

Anonymous
The only thing I can think of right now is changin the line 89

$_TABLES['users'] = $_DB_table_prefix . 'users';

in /system/lib-database.php to

$_TABLES['users'] = 'common_users';

for both installations before installing. Then both systems would use the same table for users. However, all comments, usersettings etc would be different on both sides.

The problem would be that a user can hide a block on one page that does not exist or that he wants to see in another...

I think it might be better to write a remote login for GL such as blogger etc.

No guarantee here that nothing breaks.

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
You need to share more than just the 'users' table. See this discussion.

bye, Dirk