• Resolved mfam0627

    (@mfam0627)


    Hi, first of all I would like to thank you for this wonderful plugins. This is really something what I’m looking for. I’m not sure if someone has already submit this ticket but my concern here is I understand that you can protect the content from non-member or who do not logged in. Can I also protect the entire page itself not to show up when they didn’t logged in?

    For example, I have group page in the menu specifically for client called “Client Special Packages” title and I do not wish to display also all the page links (Package 1, 2, 3, etc.) under that menu unless my real client logged in. So for non-member, they should not be able to see the client links (or the entire dropdown menu) at all.

    Hope you can help. Thank you so much in advance for your support.

    https://www.ads-software.com/plugins/simple-membership/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, yes you can protect the whole content. Have you enable the protection feature found at the end of a page or post in edit mode? Please check the following documentation. Scroll to the page titled Applying Content Protection.

    Thread Starter mfam0627

    (@mfam0627)

    (posted twice, please refer to the next post)

    Thread Starter mfam0627

    (@mfam0627)

    Hi, thank you for your quick response and the documentation. Yes I did that. The content is protected indeed but the link is still showing on the navigation menu. For example, I put Package 1, 2, 3 as not protected and Package 4, 5, 6 as protected content. Only content are protected but the links of Package 4, 5, 6 are still there (although when you clicked the link it said you need to logged in to able to view it). So basically, it’s not just the content I want to protect it’s the entire link and content as it should look like it’s not existing when it’s not logged in as a member. Any idea? or perhaps some code to inject on php something like “if not member { do not show link }”.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, one of the plugin developers will reply back to your request.

    Regards

    Thread Starter mfam0627

    (@mfam0627)

    Thanks mbrsolution. I want to share my quick solution here but I prefer this functionality coming from your end on admin dashboard without injecting code if possible:

    <?php
    if (is_user_logged_in()){
    <display client links only>
    }
    else {
    <do not display client links>
    };
    ?>

    Hi,
    simple membership plugin only protects content. it doesn’t control the look and feel of your site. if you want to control menu then you will have to customize it.

    Thread Starter mfam0627

    (@mfam0627)

    Hi amijanina, thank you for getting in touch with me. I believe this is not about look and feel. Am not even talking about CSS or JS here where I can simply turn on using “display: block” and turn off to “display: none”. This is still a backend side. It’s about the security that only exclusive member able to see the links, just like the content. Even I turned it off, it will still display on the source code on the front end as this can be a loophole to security.

    I’ve been searching and testing other plugins like S2 Member Framework, and it works with them on not showing the link when member is not signed in. The reason I chose your plugins because it’s just “simpler” compared to them. Hope you can help whatever “customize” you’re mentioning. Thank you.

    Hi mfam0627,

    I used Nav Menu Roles Plugin to hide menu depending on user roles before I used membership plugin.

    I am testing membership now so I think I know what you meant the menu will appear but the login person must have the membership level to view it. I want to advise you why this membership is what I prefer:

    By displaying the menu, the visitors and members of lower level can see what they are missing out on the higher membership level. This may attract them to join or upgrade. So you can set up message to attract them to join or upgrade when they click on it. The option is there to have a msg.

    If you prefer to hide the menu, may be the nav menu roles can be used or like you said, your code already written.

    Thanks

    mfam0627,
    look and feel related feature doesn’t mean that its about css, js, html. as you know, a significant part of wp theme code is written in php. s2member works with menu doesn’t necessarily mean that it has to work with simple membership. our core design principle is to keep it really simple and easy. we try to implement features that 90% of the plugin users look for. menu integration is not something that we see very frequently being requested. if we see that and if it can be done not in some hacky way then we will consider adding it to core plugin. but for the time being, you can do it like the way Hotham did.

    Thanks,

    Thread Starter mfam0627

    (@mfam0627)

    Hi Hotham, thank you so much for suggesting this plugin. I think this is something I’m looking for and this really helps on my development.

    Furthermore, I got your point on the membership but I wanted so far is to have “exclusive” members whom I want to give the a special privilege membership only and they can’t simply register on our public website. You can say that they are our direct business partners which will be given a special packages or prices only. But you’re right sooner or later I will also need to implement a lower level membership to attract them to join or upgrade.

    With some helpful people like you, I think I’m going to start to like and be here more often on the WordPress community. ??

    Thread Starter mfam0627

    (@mfam0627)

    Hi amijanina, I understand that this is not something the feature designed on your end (for now) and I totally respect that. I think what Hotham suggested is good enough for me.

    Thank you for taking your time to read and reply to me. Hoping to see your plugin grows further. ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Display page menu only when logged in’ is closed to new replies.