How can one user account have access to another part of the website?

They have: 2 posts

Joined: Dec 2009

I have a website that has two databases because that is what my hosting account provides. One database has got Classified Ads installed on it. The other has got Jokes and Dating installed on it. That makes it three(3) sections of the website. When a user signs up at one section of the website, he/she doesn't have access to other sections of the website.

I want to make it possible for someone to sign up at one section and still be able to access the other two(2) sections of the website. It appears, apparently, that these there sections are not connected at all.

I have MySql, phpMyAdmin.

I will be very grateful for your response as this has turned out to be a very stressing thing.

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

I can do whatever you program it to do, one database or 50. You need to give more specifics of what you are wanting. Do you want to program it? Looking for a CMS or something with that capability? Looking for a canned script?

There are really big differences in recommendations based on what you have and what you want, the more you post, the better others can help.

-Greg

They have: 2 posts

Joined: Dec 2009

Well, I had tried to summarize everything above. I used free open source scripts for free classified ads, jokes and dating. Installed classified ads in one database. Then installed jokes and dating in another database. I want to make it possible for a user to sign up once to use the entire website. These three things appear to be three(3) separate entities. I need help on that. You sign up once and you access the three.

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

Most likely doable, just have to look though the code for each of them to see what they use for authenticating user and merge them. Most likely not for the beginner programmer.

one method would be one universal login/admin area, that both the canned scripts authenticate with, depending on things like "permissions" that may be difficult a lot of programming.

Another method would be choose one of the systems, let that be the main "login" section, and modify it's signup /accout editor section to not only make an account for one system, but also behind the scenes create / edit the accout settings for the other. Also whatever item it sets to log you in though one site (ie session cookie), also have it do the login for the other section as well.

A big thing to consider is that if you upgrade the packages you have in place, you will need to manually put in the changes, as automated may overwrite you custom system.

If I get time later, I might look into what it would take specifically for the ones you are using.

-Greg

stokes1900's picture

They have: 55 posts

Joined: Oct 2010

you should do this using any one cms. like joomla, wordpress.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.