Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Protecting "member-profile" for different membership levels
- This topic has 5 replies, 2 voices, and was last updated 9 years, 8 months ago by admin.
-
AuthorPosts
-
February 24, 2015 at 6:23 am #12261wploveSpectator
I am developing two membership directories (using eMember Profile Extended) on my site-one directory of “Community” members that is visible only to “Community” members and another directory of “Therapist” members that is public. All well and good so far. A problem I’m running into, however, is that I’ve protected the “/member-profile” page so that only “Community” members can access it. I want to open up public access to the profiles of the “Therapist” profiles without letting go of the protection of the “Community” profiles. Is there a way to make “Therapist” member profiles public while keeping “Community” profiles protected?
Member Profile extended looks like it could almost provide the capability of creating two different Profile pages (each with its own unique protections) except that I can only specify one Profile Page URL in its settings.
I’m using Form Builder 2.0.
I am using Profile Extended 2.0 to create the two unique Member directories.
I am running WP eMember 8.8.8.
Thank you for your help.
February 24, 2015 at 11:31 pm #68736adminKeymasterCreate two pages then add the summary list shortcode (one for Therapist type and one for Community type). Then protect the member listing pages accordingly.
You can have as many different listing pages as you want. The details page can stay the same for all of them.
February 25, 2015 at 4:53 am #68737wploveSpectatorJust to be clear on this-to make this work I would need to broaden access to the “Details” page to include all memberships, correct? (Right now I have the “Details” page restricted to “Community” membership access only.)
February 25, 2015 at 10:47 pm #68738adminKeymasterYes, thats right.
March 1, 2015 at 12:21 am #68739wploveSpectatorA follow up on this:
I’m using Member Profile Extended to control what information is shown on the “Details” page.
What I would like is to have certain data fields (like “Phone Number” and “Email”) to display on the detail pages for “Therapists” (a public directory) and have those same data fields hidden for the detail pages for “Community” (a more private directory).
Is there a way to do that?
I’m thinking that there might be a bit of code for the Details page that controls the field display like this:
“If Membership level = ‘Therapist’ Then display profile fields x,y, and z. If Membership level = ‘Community’ then display profile fields a,b,c. If Membership level is ‘Therapist’ AND ‘Community’ then display profile fields x,y,z,a,b,c.”
Is this doable within the existing eMember framework?
March 1, 2015 at 11:41 pm #68740adminKeymasterYeah, you should be able to customize the addon to something like that. The following file renders the detailed page shortcode content:
emember-profile-extended/views/detailed_profile.php
-
AuthorPosts
- You must be logged in to reply to this topic.