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

  • Author
  • #50584
     fizzbell
    Participant

    Hi there! i just need to have a user sign up for the a program (use ACTIVE) – receive an email with a login link. (which i have set up) However the email they get takes them to a page, they login – but only see the attached page ( email.jpg).

    http://estradafit.com

    So there’s no way to see the video courses they have signed up for. It should take them to a page where they can access the first Day of their Fitness course (using WP-courseware) – see attached (active.jpg)

    I guess i’m just not sure of how PMPRO and wp-courseware are supposed to work together! (not worried about buddypress as the forum is only a minor part of site and would just be for registered members to discuss the fitness videos). I can see the attached page (member.jpg) but even from there they need to click somewhere to access the level (in this case ACTIVE) that they signed up for! Basically just need a page that a user arrives at after paying for a level that has the content (wp-courseware classes) on the page.

    Im am using:
    https://wordpress.org/plugins/paid-memberships-pro-for-wp-courseware/

    Also this one:
    http://www.paidmembershipspro.com/add-ons/plugins-on-github/pmpro-user-pages/

    Cheers and thanks for your time!
    JI

    Attachments:
    You must be logged in to view attached files.
    #51053
     Laura
    Moderator

    Hello, so, you want to redirect them to the course they purchased?
    Like if i’m an user and buy the course nº1, i get the course nº1 level then i’m redirected to the course nº1 page?
    Let me know if i understood 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #51072
     fizzbell
    Participant
    This reply has been set as private.
    #51453
     Laura
    Moderator

    Hello, what do you think about this solution:
    When an user sign up and buy a membership (course) he will have the course nº1 membership, and we will make course nº1 page restricted and only course nº1 level can view it. So you can make a homepage with all course links, and once they get redirected to the homepage and click course 2, they wont see it as they are course nº1 level.
    This is the easy way

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #52298
     fizzbell
    Participant

    i think i may have replied via email instead of using this forum last week – but YES this solution would be fantastic – thanks again for your time! JI

    #52566
     Laura
    Moderator

    Hello, please give me some time to create this so i can share it with you and other users 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #52568
     fizzbell
    Participant

    Ok fantastic – thank you again!

    #52569
     Laura
    Moderator

    Hello, i see you have levels created, so this wil be easier.
    For who doesnt know, in Memberships > Create a new level, then in Pages / Post / Events or any other kind of custom post type, and select the level that has access.

    As i see, you already have a course plugin that restricts based on PMPRO level, so this is not needed for you.
    So what is really left? the course list in homepage? Let me know 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #52588
     fizzbell
    Participant

    Yes so what we need now is when a user signs up for a course – they have some kind of landing / home page where they can see the course units they signed up for like below.

    http://estradafit.com/module-1/active-program-week-1-day-1/

    Try sign up for the ACTIVE PROGRAM as a user – then click on the email you receive you will see you cannot access the ACTIVE PROGRAM!

    Cheers and thanks!
    JI

    #52678
     Laura
    Moderator

    Hello, please try this inside of functions.php of child theme

    COPY CODE
    
    /*
    	This code will redirect users from the default PMPro confirmation page to a specific page depending on their level.
    	Set the confirmation_pages array. Array keys should be membership level ids and the values are the page ids. So array(1=>2) will redirect membership level with id = 1 to the page with id = 2.
    */
    function my_pmpro_confirmation_redirect()
    {
    	$confirmation_pages = array(1 => 2);	//change this use your membership level ids and page ids
    	
    	global $pmpro_pages;
    	
    	if(is_page($pmpro_pages['confirmation']))
    	{
    		foreach($confirmation_pages as $clevel => $cpage)
    		{
    			if(pmpro_hasMembershipLevel($clevel))
    			{				
    				wp_redirect(get_permalink($cpage));
    				exit;
    			}
    		}
    	}
    }
    add_action("wp", "my_pmpro_confirmation_redirect");
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

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

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?