logo

Member
Member
Offline Offline
Posts: 2
Developer Help!

Hello everyone! I'm Jon.
I'm making a network of websites.
I've been browsing around for a CMS, and after coming across eoCMS and trying out the demo, this one really impressed me. (:
The point is, I want users to be able to sign up, and have access to the forums, be able to post and such, but since there is going to be different websites I want them to be able to login to all the websites but only have to sign up once.
For example, say there's 2 websites in the network so far. A user goes and signs up on one of the websites, I want the user to be able to access both websites with their same account that they registered, but they only have to register once.
I know to do this, I would have to use the same MySQL Database, but a problem that I think will occur is the content. If I were to post content on one website, and only for that website, it would show up on both websites.

Can someone help me with this?
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Developer Help!

You dont need to use the same MySQL database, you can modify the register.php function and include a connection to another database and insert the user there as well, you would also need to modify the login function and set multiple cookies for the other sites. We have been thinking that adding multiple sites feature would be great, but for now you will need to modify quite a lot of code

Please do not PM me requesting support or anything, use the forums, thats what they are here for
Member
Member
Offline Offline
Posts: 2
Re: Developer Help!

Ahhh okay. Thanks. (:
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Developer Help!

If you need any help with it just post here, because we want to do the same thing with the mods site Wink

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 909
Re: Developer Help!

hmm.. patch coming.. seperate userdb connection (to the same db in a single install forum) to a different (parent install) user db..


Jump to:


0.1 seconds Queries: 13