Ultimate Facebook and CoursePress Pro

Hey there,

I've done some reading up on integration of Ultimate Facebook and CoursePress Pro - and I see that it is possible as per below:

https://premium.wpmudev.org/forums/topic/i-cant-use-fb-login-with-ultimate-fb-on-coursepress-pro-etc

I've followed these steps, but have following issues:

1) If I disable the custom login as Peter suggests here (last comment), this of course gives me the default WordPress login (but indeed it does add the Facebook Connect). This isn't really desirable from a UX perspective, so I'd rather keep the CoursePress Pro login form. Is there a solution for this?
2) I'd also like to use Facebook for users to signup/register. Is this possible? I feel I should point out that there is some complexity in my setup. I am using Gravity Forms for one signup form (Become an Instructor) and the standard CoursePress Pro shortcode for another signup instances (Student signup). Ideally I would add the functionality to signup with Facebook to both of these.

Many thanks!

  • Michael Bissett
    • Recruit

    Hey Darby,

    #1: We've got a feature request open for this over here:

    https://premium.wpmudev.org/forums/topic/ultimate-facebook-to-login-on-coursepress

    But if you're needing this real quick, you could try setting up a login page of your own, inserting this there:

    [cp_pages page="student_login"]
    
    [wdfb_connect]

    And then choosing your page from the "Login Page" dropdown, inside of:

    CoursePress Pro -> Settings -> General

    You can redirect your users to the home page, by going to:

    Facebook -> Facebook Settings -> Facebook Connect

    And setting it up like this:

    But know that this'll affect all users that log in via this method, that's how it works presently.

    #2: Out of the box, any users that sign up via the Facebook login button would be set up with whatever role you've got set as the "New User Default Role" in:

    Settings -> General

    But that would mean they've been assigned that role, it wouldn't make the user a student or an instructor, that'd require custom development.

    Kind Regards,
    Michael

  • Darby
    • Flash Drive

    Hi Michael,

    I've done as suggested - which does seem to enable FB Connect which appears to be working, thank you.

    However, I'm finding using the CoursePress Pro shortcode for the login form breaks the 'traditional' (non FB-Connect) login from working. Can you please take a look? I've enabled support access on my account.

    For testing, you can use the following credentials:

    User: instructor
    Pass: instructor123

    User: student
    Pass: student123

    Any ideas?

    Many thanks!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.