This topic has 4 replies, 2 voices, and was last updated 12 years by Abe.

  • Author
  • #11027
     oscar34
    Participant

    Hi SweetDate WP theme is great but I wish the layout was like your HTML version.
    Anyway, what I m trying to achieve is this: Just like on your HTML version of your theme’s user profile page,
    http://seventhqueen.com/demo/SweetDate/DefaultHeader/Wide/profile.html#my-photos
    I want that non-members can only view the user’s first name and one avatar photo only, but members can view first name and surname and profile photo and all rest photos and all info about the user. So how can I do that with PMPro plugin? Or do I need to use S2Member plugin? Or any other ways? Please any ideas any help?
    Thanks.

    #11137
     Abe
    Keymaster

    Hi, I tried in this topic to give some instructions to get closer to that design:
    https://archived.seventhqueen.com/forums/topic/how-to-get-the-wordpress-profile-page-to-look-like-the-html-one-you-offer

    Whichever plugin you are using you will have to change file templates and add conditions based on user lever. Depending on the plugin the function to check for a user level will be different. For PMPRO the function to check for a specific level is:

    COPY CODE
    
    /* If members are levels 1 or 2 */
    <?php if ( pmpro_hasMembershipLevel(array(1,2))) { ?>
    /*put here code for those levels*/
    <?php } ?>
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #11139
     oscar34
    Participant

    Thanx Abe I will do that now right away. You re very helpful thanx.

    #11143
     oscar34
    Participant

    Hi Abe, Can you also reply to my last posts below too please when you have time, thanx.

    – I tried S2 Member, but when I tried to login using your theme’s ajax popup login window, it stucks stays as its like its not logging in, but when I close the popup window I see that I actually logged in. Basically login window doesnt direct to any page, even though on S2Memeber settings I made the login redirect page as homepage.
    Abe btw can you have a quick look at these messages please, maybe it ll take your seconds to solve it, but it takes my days to solve, thnx mate:

    https://archived.seventhqueen.com/forums/topic/profile-photos

    https://archived.seventhqueen.com/forums/topic/non-members-can-only-view-the-users-name-and-one-avatar-photo-only-but

    #11224
     Abe
    Keymaster

    About the AJAX issue I think I already responded and said that its a known issue with S2 Member. Try their forum.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?