This topic has 11 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #84528
     buarque
    Participant

    Hi there, I m a little bit lost…
    I want to create a restricted MEMBER area, after Facebook login, on the home page.
    Can anyone please show me how to do it…
    Thanks,
    Daniel.

    #84590
     sharmstr
    Moderator

    Use the “content by user type” shortcode and set it to logged in. Then put whatever you want in it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #84673
     buarque
    Participant
    This reply has been set as private.
    #84681
     sharmstr
    Moderator

    Its in Visual Composer. Click on the + icon in a row, then click on “Content by user type”.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #84694
     buarque
    Participant

    Hi,
    Sorry, maybe I did t explain properly. I know that, of course. But, what I mean to say is after setting the user type content. I understand I have to go My shortcodes. And then, map it. But I don t know if I have to modify the functions.php.
    Thanks

    #84698
     sharmstr
    Moderator

    Now I’m confused 🙂

    Your first question was asking how to put a section on the home page that only logged in users can see, right? If so, I dont understand your last question about “my shortcodes” and functions.php.

    If you have a shortcode that you want to use, click on the + icon within the Content By User Type block and add a text block. You can add your shortcode to that. Or you can use one of the shortcodes built into VC.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #84711
     buarque
    Participant

    Hi,

    Sorry, I didn´t explain.
    This is the homepage:
    http://daniel.trabajosdeclase.es/
    The idea is to create a restricted membership area, from facebook login, and another area; completely public, without login.

    And thanks for the great support.

    #84727
     sharmstr
    Moderator

    The content by user type only accepts logged in or guest. So, “logged in via facebook” has no relevance here. They are either logged in or not.

    I feel like you keep explaining the same thing and I keep answering the same thing 🙂 So, how about you tell me what you want logged in users to see (what should be hidden from guests).

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #84742
     buarque
    Participant

    Sorry for this mess. On the home page, every user could click on three different options (map, search, directory…etc.) that are open to everyone. But there also should be another area, restricted to members, only after faceook login (friends, groups, members, topics..etc.). An intranet for members only.

    Thanks…

    #84746
     sharmstr
    Moderator

    So, still not exactly sure what you want. So, lets go through some possible options when you say “click on three different options”

    1 – Menus. You can hide menu items from logged out users using: https://wordpress.org/plugins/menu-items-visibility-control/

    2 – Content on the home page: Use the Content By User type shortcode and put everything you want hidden from guest in there. See attachment.

    3 – Same as above, but instead of using the shortcode in Visual Composer, you can use the raw content by user type shortcode, which is kleo_restrict, in a text block. Here is an example that will show a button to people who are logged in.

    COPY CODE
    
    [kleo_restrict][kleo_button title="Only Logged In Users Will See This" href="http://www.yoursite.com/yourlink" style="see-through" size="lg" icon="0"][/kleo_restrict]
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    Attachments:
    You must be logged in to view attached files.
    #84844
     buarque
    Participant
    This reply has been set as private.
    #85053
     sharmstr
    Moderator

    You can use Peters Login Redirect plugin to redirect users to their profile after logging in. Make sure you set Theme Options > Misc > Login Redirect to Default WordPress. In peters settings, you can use http://www.yoursite.com/members/%5Bvariable%5Dusername%5B/variable%5D

    You’ll need a plugin to restrict buddypress pages to logged in users. There are several out there. You can use Paid Membership Pro, but it might be more than you need. There are simpilier plugins. I havent tried this one, but it looks like it would work well for you: https://wordpress.org/plugins/buddypress-members-only/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 12 posts - 1 through 12 (of 12 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?