Tips and Tricks HQ Support Portal › Forums › WP eMember › Display all membership levels of the user in his profile?
- This topic has 15 replies, 8 voices, and was last updated 1 year, 3 months ago by admin.
-
AuthorPosts
-
February 17, 2013 at 4:32 am #8590loravoMember
Hi,
is it possible to display all member user levels in his profile?
I’m setting up a store where users buy membership levels with a video assigned to each level. I would like a user to see all videos he has access to (paid or granted for free) in his profile. So I think it would be displaying all his access levels at once I guess.
Neither purchase history, nor this short code [wp_eMember_user_details user_info=”user_membership_level_name”] would display what I need.
The first one displays only purchased levels (but what if they were granted to them from admin menu?), the last one displays only main membership level.
I have also read this article http://www.tipsandtricks-hq.com/wordpress-membership/how-to-use-multiple-membership-levels-per-user-291 explaining how member levels work, but is there any way I can show my user his list of membership levels (videos he has access to) in his profile?
Thank you!
February 17, 2013 at 4:42 am #53908loravoMemberI found the short code here
Now, is it somehow possible to create a linkable list of owned videos?
Thank you!
February 17, 2013 at 11:13 pm #53909adminKeymasterI am not sure what you mean by “owned videos”. Your members own videos?
February 18, 2013 at 3:47 am #53910loravoMemberMy members buy membership levels with videos assigned to them (Membership level A gives access to view Video A). This is not PPV set up. From the user side, he buys access to a video, and this access may be unlimited or for some videos limited (access for a week or a month). Hope this gives you enough info.
February 19, 2013 at 5:47 am #53911adminKeymasterI see what you mean. No, the plugin doesn’t know who has what videos. It know which member belongs to which membership but it doesn’t know what content you have given to each membership level. Why don’t you make a page that lists all the content available to a membership level. Then you can use a per membership level “After Login Redirection” to send the users to the correct page.
February 19, 2013 at 5:23 pm #53912loravoMemberThank you for your reply. I think I found a solution.
I created a page (called something like “All videos you have access to”) where I publish a list of links to all videos I have for sale (let’s say 20). Using the short codes, I am able to tell each link to be displayed to corresponding membership level only, so that if there are 20 links and the person owns 3 videos (belongs to 3 membership groups), he will see not 20, but only those 3 links that are open for him to see. A person from free membership group with no purchased videos will not see any links at all. A link to this “All videos you have access to” page is published on user profile page.
Each video is published on a separate page and those links lead to those individual video pages. Each video page is globally open to be viewed by only one corresponding membership group.
Using same short codes, I also can display those links in a text/html widget called Your videos.
The page looks crowded with code and not that easy to look at when you edit the page, but works good enough for me since I don’t have that big of a list of videos for sale.
Hope this could help anyone else with similar needs in future.
February 3, 2014 at 10:39 pm #53913clearscopedesignParticipantWhen displaying secondary membership levels, there are no spaces between each item.
Using this shortcode:
[wp_eMember_user_details user_info="user_additional_membership_level_names"]
It displays like this: Spanish,Finnish,German
Doesn’t look very good. Is it possible to have spaces in between the items so that it is grammatically correct?
Thanks!
February 4, 2014 at 12:22 am #53914adminKeymasterYep, we will add a space after the comma.
April 3, 2014 at 10:41 pm #53915mbaseSpectatorThis sounds very close to something that I would like to do. But the big question is, using this method above, how many multiple membership levels can one particular member belong to? I know that there are unlimited membership levels, unlimited members, and the possibility of each member having more than one membership level. What I cannot find is this. Is there a limit to how many membership levels one member can belong to?
April 3, 2014 at 11:04 pm #53916wzpModeratorWell, if you insist on knowing, the absolute maximum theoretical limit possible is 4,294,967,295. Is that enough for you?
April 4, 2014 at 1:48 am #53917mbaseSpectatorOK, so just one short of 2^32. Thanks for that info. Hmm, I guess I need to search for a plugin that will give me more levels then – LOL!
January 27, 2020 at 3:07 pm #53918Hi. I’m using the shortcode to display the Transaction ID in a member’s account/dashboard when they log in.
But it seems that when viewing it on mobile, it’s not displaying at all. Any ideas on how to resolve that?
Thank you,
January 28, 2020 at 2:05 am #53919adminKeymasterIs there a cached page being served on the mobile device? What do you see where the info is meant to be displayed? Do you have other details that you are showing on the same page (and those are showing fine)?
September 4, 2023 at 12:24 pm #84946megan@thesacredgardener.caParticipantThere still doesn’t seem to be a space after the comma – could it be done as a list so we have more control of display using css?
September 5, 2023 at 6:12 pm #84947wzpModeratorAre you referring to the user_info array, discussed above? That is raw data returned from a PHP array. It’s your responsibility to format the data.
-
AuthorPosts
- You must be logged in to reply to this topic.