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.

Separate content from different users

September 05, 2012 4:21am

Subscribe [1]
  • #1 / Sep 05, 2012 4:21am

    binocle

    68 posts

    Hi,

    I have an odd request.

    I have to build a website where around 20 users will post text entries and pictures. It is in the context of a school contest between several classes, and so the different users should not be able to see what the others do until a given date.

    I don’t build sites often, and I certainly never messed with multiples users and permissions etc.

    So far, I attempted to play with conditionals, segments and author_id to display entries, and it seems to work for channel entries, but I am stuck with the pictures.

    What is the best way to give a single upload destination to each user? So each user could upload, browse and use only his own pictures ?

    I saw different add-ons that could do that, but before buying another plugin, I would like to have your input, and your thoughts on the easiest method.

    Thanks in advance for your help and your time.

  • #2 / Sep 06, 2012 4:34pm

    Dan Decker

    7338 posts

    Hi binocle,

    Thanks for your question!

    You can use ExpressionEngine’s SafeCracker to allow members to make and edit albums and entries.

    How many photos would you expect each member to have? There may be some add-on options to help too.

    Cheers,

  • #3 / Sep 06, 2012 4:59pm

    binocle

    68 posts

    Hi Dan,

    Thanks for your answer.

    I didn’t look at SafeCracker, I didn’t see the need for a SAEF and I hate to have to style forms 😉
    But if you say it can handle different uploads folders and separate the pictures, preventing one user to see the other’s, I’ll take a more serious look at it.

    I really have no idea on the number of pictures. It could be one-two or several hundreds depending on the students projects and motivation.

    I saw “Upload Rights” and “Subdir Upload” as add-ons that could suit my needs. Any thought on it or other suggestions?

  • #4 / Sep 06, 2012 5:30pm

    binocle

    68 posts

    Channel Image also seems a valid candidate, but I would have to be sure that one user can only see his own entries, like with the “regular” entries.

  • #5 / Sep 07, 2012 4:08pm

    Dan Decker

    7338 posts

    Channel Image also seems a valid candidate, but I would have to be sure that one user can only see his own entries, like with the “regular” entries.

    Channel images is a robust field type, but it is still just a field type. That means that as a part of an entry, it is bound by the same permissions as a “regular entry” because it is just a regular entry.

    SafeCracker is really a good solution if you need really simple access permissions and don’t want to have a lot of folks in the Control Panel.

    ~

  • #6 / Sep 07, 2012 4:40pm

    binocle

    68 posts

    Yeah, but precisely, I thought it would allow me the easy way to use the standard normal EE entry behavior, where user A can publish -and edit- his own entries, but cannot see user B’s entries? No?

    That, plus the multi upload, and I think it is worth a try for this project.
    If it just does that, let A publish images entries that nobody else can see, I don’t need more.

    I don’t really mind having the 20 users in the CP, with very limited access (publish/edit in one single channel), but perhaps I am not realizing something? Is it bad/dangerous practice?

    I know it is a bit irrational, but SafeCracker makes me nervous –yeah I really dislike forms, and setting up forms, and styling forms, my bad…– and I still would need an add-on to deal with the multi upload, wouldn’t I?

    Sorry for the bother, I realize I should perhaps have posted this generic question in Community Help, feel free to move it there if you think it is more appropriate.

  • #7 / Sep 10, 2012 3:08pm

    Dan Decker

    7338 posts

    I don’t really mind having the 20 users in the CP, with very limited access (publish/edit in one single channel), but perhaps I am not realizing something? Is it bad/dangerous practice?

    Indeed, you can set the member group to not allow members to see others posts, edit others posts etc.

    I feel your pain on styling forms. Not ever something to look forward too!

    I’ll move this along so others can chime in on the discussion, but I think you have a solid grasp of where you’re headed.

    Cheers!

     

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

ExpressionEngine News!

#eecms, #events, #releases