Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12
  1. #1
    Regular Coder
    Join Date
    Mar 2009
    Posts
    108
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Concept Question: User Specific Content in User Area

    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!

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,519
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    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?

  • #3
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    And will there be a requirement that the content be editable by the client?

  • #4
    Regular Coder
    Join Date
    Mar 2009
    Posts
    108
    Thanks
    13
    Thanked 0 Times in 0 Posts
    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.

  • #5
    Regular Coder
    Join Date
    Mar 2009
    Posts
    108
    Thanks
    13
    Thanked 0 Times in 0 Posts
    I don't see any need for the client to be able to edit anything.

    Thanks!

  • #6
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Couldn't you add a feed for each client on the dashboard? That way you don't have to lose the WordPress interface.

  • #7
    Regular Coder
    Join Date
    Mar 2009
    Posts
    108
    Thanks
    13
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Apostropartheid View Post
    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.

  • #8
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    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?

  • #9
    Regular Coder
    Join Date
    Mar 2009
    Posts
    108
    Thanks
    13
    Thanked 0 Times in 0 Posts
    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.

  • #10
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #11
    New Coder
    Join Date
    Apr 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Possible WP Client section solution

    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 http://wordpress.org/support/topic/217141

    Hope that helps!

    J

  • #12
    New Coder
    Join Date
    Apr 2008
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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-crea...page-templates


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •