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

  • Author
  • #72261
     rakeshkalra1983
    Participant

    Hi

    I want users to only login and register using there facebook and disable regular login and register from regular using username/password fields. How can I do it?

    #72264
     sharmstr
    Moderator

    I suppose you can hide the credential forms and the registration form using css

    COPY CODE
    
    .kleo-pop-title-wrap, #login_form, .widget_bp_core_login_widget .gap-20, .widget_bp_core_login_widget .hr-title, #bp-login-widget-form, #register-page, .registration .hr-full {
        display: none;
    }
    
    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

    #72304
     rakeshkalra1983
    Participant

    Yes, I can hide things using css, but I am looking for some stronger option where I actually disable regular login/register. Can I know how to really disable regular login/register using username password field.

    #72309
     sharmstr
    Moderator

    Then ask on the Buddypress forums since its there code you’ll have to change.

    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

    #72310
     sharmstr
    Moderator

    Or copy /kleo/register.php and /kleo/page-parts/general-popup.php to your child theme and remove the functions and fields.

    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 5 posts - 1 through 5 (of 5 total)

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

Log in with your credentials

Forgot your details?