Forum Moderators: phranque

Message Too Old, No Replies

Need MEMBERS ONLY AREA for my business site. Please help! Thanks.

I am looking forward to your responses...thanks. :o)

         

WebMember

7:54 am on May 23, 2004 (gmt 0)



Hello everybody,

I have been researching a project for my web design company. I have been trying to find a way to accomplish my goals, but to be honest, I have not found any scripts that meet my needs. If you do not mind, please read what I want to accomplish...

Here are my goals:

1) On my business website, I want a "Client Area" just for clients. The area would include special articles, updates, and other such things just for my clients.

2) However, I want each client to have their own page that is dedicated to the current website design project that I am working on for them. Therefore, when they login as "Billy" for instance, they are redirected to their own page that displays the status of "Billy's Website." The page that they are redirected to can be manually created by me with my web design program and it will include a picture of their web design, a progress report, etc.

3) It doesn't have to be automated, I just want the client to be able to login and have access to his own page as well as the other pages too.

4) So here is the final result:
-The client "Billy" would login at www.mysite.com
-He would then be redirected to www.mysite.com/billy
-He would also have access to www.mysite.com/membersarea which would be linked from www.mysite.com/billy

This seems like a straighforward thing to do and I am sure it is common among website businesses...does anyone know where I can find a script that would enable me to do this? You help would be GREATLY appreciated!

Thanks,
WebMember

wruk999

8:16 am on May 23, 2004 (gmt 0)

10+ Year Member



Welcome to Webmaster World, WebMember!

My first thoughts when I read your post, was for the /membersonly section to use htaccess password protection, however, if you are wanting their own personal pages then you probably need something a little more in-depth.

You can do what you want (redirecting user billy to /billy) but this would most probably use Javascript, and wouldn't be hugely secure.

My advice would be, to use PHP (if running on Apache) and if you have a MySQL database. This programming/database combination is very well documented across the web, there are many experts here that would be more than happy to help you out if you got stuck, and there are a ton of ready-made scripts out there.

My suggestion for your system would be:
1) Pick up a free PHP Login Script (I have used PHPMyLogin before, and it works a treat, with easy installation)
2) Create a table in your database called clients, with columns such as WebsiteURL, ClientName, ProgressReport, ImageURL etc etc
3) Build a quick and dirty script for editting (or use PHPMyAdmin) and input all your clients details.
4) Then, when a client logs in, it references the client table, fetches all the information about their site, and prints it to the page.
5) Then your section which you wanted at /membersonly you can still have but have it as pages in the PHPUserLogin protected directory, and then this means you only have one set of pages for /membersonly to keep updated, you can add clients by simply adding a row into the clients database table.

This is a very simple look at how it could be done, but I am happy to help you out further if you wish.

If this is the way that you think you could go, there are some useful resources at [hotscripts.com...]
The link for PHPUserLogin script is [phpuserlogin.oxyscripts.com...]

Cheers,
wruk999