ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How do I create client/member access pages?

July 11, 2007 2:25am

Subscribe [9]
  • #16 / Jul 14, 2007 11:49am

    Stephen Slater

    366 posts

    I’ve got a follow-up question that is closely related to this topic.  Is it possible to display a group’s title?

    There are these standard variables that are identical and I really don’t understand why.

    group_id
    member_group

    Both of these contain the ID number of the group.  It seems like “member_group” would contain the ‘title’ of the group in which the member belongs.

    Is there a way to extract and display the member’s group title?

  • #17 / Jul 14, 2007 2:40pm

    Daniel Walton

    553 posts

    Hmm, not that i’m aware of. You could put an exp:query tag inside an {if count == 1} conditional?

  • #18 / Jul 14, 2007 7:45pm

    qruxart

    20 posts

    Well with some trial and error I came up with this:

    I used butcher’s idea about creating a member in a “client” member group, clicking the “Include user in PUBLISH page multi-author list?” for that particular member, creating a new entry and selecting the particular member in the author list. Then instead of using “{logged_in_member_id} variable inside the author_id=”” weblog entries parameter”, I just used “username=“CURRENT_USER”” parameter in the weblog entries tag in the “client_access” template group I set up to show the clients files. This template group can only be accessed by those in the “client” member group. Now when a user/client/member logs in they only see entries that are authored by the respective user/client/member. This seems to work for me pretty well. Hope this might help someone in this thread.

  • #19 / Jul 15, 2007 8:03am

    Daniel Walton

    553 posts

    Now all you need to do is add a layer of abstraction onto the file names of the downloads, which Robin Sowells download lock module would do nicely 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases