...

View Full Version : Concept Question: User Specific Content in User Area



CSSQuest
09-28-2009, 04:32 PM
Hey Guys,

I'm working on a site for our design company. We're still in concept stage and when this possible feature came up I wasn't sure how I'd even start to go about implementing it.

The Feature: Its been requested that I build a 'Client Login' area. Once logged in we'd like each client to be directed to a page that we can add content to that other clients cannot reach. I've seen where you can create one area that all people logged in can see, and I've also seen the profile pages that are specific to each user, but haven't been involved with any builds of user-specific pages.

As a side note I use the wordpress backend as CMS so if there are any functions that would help let me know.

Would this involve setting up a new database? Would I be creating pages by hand specifically for each client? How can I ensure they don't get accessed by other clients?

Thanks in advance!

mlseim
09-28-2009, 06:53 PM
With WP, you already have the part where a user must log-in, so you can use
that as the key to accessing their own pages.

Now, you'll need to create a new table for your client pages (that will keep it
separate from WP), but still use the client's username as the login.

Here's the part we are not sure of yet ... what do you mean by adding content?
Will it be paragraphs of text? Files? photos? what exactly is content?

There are most likely a variety of methods to use, but not enough information to know.

And what version of WP are you running?

Apostropartheid
09-28-2009, 07:06 PM
And will there be a requirement that the content be editable by the client?

CSSQuest
09-28-2009, 07:09 PM
Thanks for the response!

We haven't started the build-out process yet but I'll be using 2.8.4 - although now that I'm dealing with multi users maybe I should consider WPMu?

Once a client logs in we want to give them a landing page that has a few things on it - namely the ability to download files we add to the page for them. We're a design company so we're trying to find a way to give clients the ability to download proofs of their posters, banners, business cards etc all online. The files can get too large to send in email and yousendit can be a pain.

What this means is I want to be able to add a link to a .pdf on Client A's page without having it viewable by Client B. And I'd like to be able to add a link to Client B's page without Client A seeing it. We don't need any other user-specific pages, I can reuse contact/about us pages etc easily.

I can create a new table via myPHPadmin I think - but how do I get the usernames and passwords to cross over and work on the new table? I'm still pretty new to the database stuff. Now is as good a time as any to learn though.

Thanks again, I really appreciate your help.

CSSQuest
09-28-2009, 07:10 PM
I don't see any need for the client to be able to edit anything.

Thanks!

Apostropartheid
09-28-2009, 07:25 PM
Couldn't you add a feed for each client on the dashboard? That way you don't have to lose the WordPress interface.

CSSQuest
09-28-2009, 07:41 PM
Couldn't you add a feed for each client on the dashboard? That way you don't have to lose the WordPress interface.

I'm not sure what you mean. I don't want users to ever have to use the dashboard. The login form would be part of a page I create - and would take them to another page I create.

I'm not sure how to create RSS Feeds other then the ones that are automatically created for your blog / individual posts.

How would a feed help the user?

Thanks in advance for your help.

Apostropartheid
09-28-2009, 07:44 PM
Then forgive me if I'm confused, but if you don't want them to use the WordPress stuff, why are you using WordPress at all? Or is it an entirely separate part? If it's a separate part, why would you want to use WP logins?

CSSQuest
09-28-2009, 08:00 PM
The wordpress setup is there to work as a content management system later on for the rest of the website. On the parts of the site that don't require client login it would be a great way of setting up a news section that can be added to with a simple login->add post. Plus the plugins allow us to do stuff I haven't figured out to do with pure code yet.

The Client Area is kind of an addition to the regular company site. We thought since we're using wordpress maybe there is a way to set it up so that we can make usernames and passwords for clients, pass them out, and let clients "log-in" from a certain page and give them access to their specific documents.

http://www.abduzeedo.com is a design blog I follow that uses something really similar to what I'm looking for. You sign-up, then you can log in. Once you log in you have a page made dynamically for you (in their case it contains links to posts on their site that you've bookmarked etc). They use drupal but I'm sure there is a similar way of handling it in Wordpress.

I'm sorry I haven't been able to articulate this idea clearer. I really appreciate your help.

Wayman
02-23-2010, 02:38 AM
CSSQuest, did you ever solve this problem? I've been trying to create a user area for WP also. Just a one page area, with basic user information that unique to every user.

Wordpress is great for 99% of the CMS, has a user login but then dumps viewers on to the WP backend. I need to keep the styling seamless and show user specific data.

jaffee
05-13-2010, 01:12 AM
Howdy folks - I've been searching around for a similar solution, and have turned up a couple methods that may work for you:

1) Peter's Login Redirect & Exclude Pages From Navigation WP plugins (two great tastes that taste great together)

Links - http://www.theblog.ca/wplogin-redirect and http://wordpress.org/extend/plugins/exclude-pages/

The login redirect plugin lets you send specific users or groups of users (e.g. contributors, authors, etc.) to a specific WP page on your site - AFAIK, the page can be anything you want. The Exclude Pages From Navigation plugin lets you prevent the page from appearing pretty much anywhere the WP_list_pages function is used. By installing these two plugins, you can basically create your client's page, hide it from the global site nav, then set it so that clients who log in with the username/password you've set up for them via your wp-admin page get redirected straight to their client-specific page.

The only issue I've found with this method is that the page is still accessible to anyone who knows/guesses the page's URL - it's only non-public because the URL is not known. If you're using the SEO plugin, you'll probably want to turn it off for these pages, so they don't get indexed.

2) Do what this guy says :D http://wordpress.org/support/topic/217141

Hope that helps!

J

jaffee
05-13-2010, 03:18 AM
UPDATE:

I found a way to fix the main issue with method #1 (i.e. the fact that anyone with the url can view the page)

http://www.wprecipes.com/how-to-create-and-use-wordpress-page-templates



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum