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.

Building a site with member profiles - best practices?

July 25, 2010 11:57am

Subscribe [4]
  • #1 / Jul 25, 2010 11:57am

    I’m in the process of creating a site for home improvement contractors to list their contact information and examples of their work. The super admin is the only person who will be able to add members to the site and place them in a member group, so this is not a concern.

    My question is how best to allow the members to edit their profile information. The custom member fields offer only textarea, text input and select options, but I need richer options like those available within the Fieldframe framework (file upload, WYSIWYG, etc.). Is there any way to add Fieldframe options to the custom member fields? If not, is there an easy way to give a member the ability to publish and edit a single entry through a SAEF?

    This is the first time I’ve built a site like this and I’m not seeing a ton of similar discussion on the forums. Any guidance would be greatly appreciated!

  • #2 / Jul 26, 2010 5:14pm

    Boyink!

    5011 posts

    I think what you’ll find however is that you’ll end up with a combination profile and weblog/channel entry per contractor.  Profiles can’t have Fieldframe,etc - only the native custom fields.

    But - if your SuperAdmin can add a profile and then also create a new weblog/channel entry, and assign the new profile as the author, then you could setup the Contractor member group such that they can only edit their own entries.  Not publish, not delete, can’t see anyone else’s.  This gets you into the weblog/channel module for that content where the world is your oyster.

    Depending on the site requirements you could just allow the Contractors into a limited view of the EE control panel for working with their content.

  • #3 / Jul 26, 2010 5:42pm

    Boyink,

    Thanks so much for the reply. You’re exactly right about what I’m going to have to do regarding the hybrid profile info/entry data. However, I’m trying very hard to avoid having the super admin create an entry for the contractor to edit because there are likely to be hundreds of these contractors on the site and it’s extra work for my client. Not 100 percent sure but I think I’ve got it figured out.

    Using the Solspace User module, I’ve created a front-end profile edit form where they can change email/password etc. Then using this little workaround I’ve created two separate SAEFs—one for publishing and one for editing an existing entry. On the profile page template where they can edit username/password and such, I have a channel entries tag that looks for existing entries by that user. If no results are found, it links them to the publish SAEF. If a result is found, it links them to the edit SAEF that has the information they’ve already entered pre-populated.

    This should keep them limited to publishing and editing a single entry. The only weakness to this I’ve been able to think of so far is that the contractor could type the URL of the publish SAEF in and create multiple entries, but this seems like an unlikely scenario. I’m interested to hear your or anyone else’s thoughts on this, especially in regards to keeping them out of the publish SAEF once they’ve created an entry.

  • #4 / Jul 26, 2010 7:18pm

    Boyink!

    5011 posts

    Nope - sounds like you’re honing in on a solution.  Nothing more to add here..😉

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

ExpressionEngine News!

#eecms, #events, #releases