BuddyDev

Search

[Resolved] Want to customize white label login template

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6857

    I need this code at the top of the template, so that it looks like the register page.

    <?php do_action( ‘wordpress_social_login’ ); ?>

    ix3gaming.com/login
    ix3gaming.com/register

    This plugin loaded it into the register page, but not the login page.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #6860

    Hi Chris,
    Please copy bp-branded-login/blogin/login.php to your theme/blogin/login.php and put this line

    
    <?php do_action( 'wordpress_social_login' );?>
    
    

    Where you want the buttons to appear. The buttons will appear(though yopu may need to do a little css).

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6866

    I’m not exactly sure what to do, sorry. Do I copy the whole bp-branded folder or just the php file to my theme?

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6867

    Ok, I figured out that my theme doesn’t have a blogin template or whatever it all is. I’m not too sure what to do, but I’m tinkering around.

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6868

    I put it in the plugin’s template for now lol. If there is a way to keep it from being overlapped then that would be awesome 😀

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #6869

    Hi Chris,
    I am glad you have modified it in the plugin.
    Here is what I was suggesting earlier for having a future proof copy

    
    copy bp-branded-login/blogin/login.php to yourtheme/blogin/login.php
    
    

    That way, the plugin will load it from your theme/child theme and your changes will always remain there.

    Hope that clarifies.

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6874

    Ya, my theme doesn’t have a blogin/login.php. The only login.php file it has is in the bbpress folder. I don’t understand how it all works enough to get this to work lol.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #6875

    Hi Chris,
    You can copy it from our plugin to your theme.

  • Participant
    Level: Enlightened
    Posts: 69
    Christopher Niedzwiecki on #6876

    Do I just put the login.php in my theme? I tried that and it didn’t work. Does it have to be in a certain folder?

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #6879

    Hi Chris,
    I am sorry but I am not sure how to explain. I have been trying to do so.

    You will need to first create a directory “blogin” in your current active theme and then you will need to copy from the bp-branded-login/blogin/login.php to yourtheme/blogin directory.

The topic ‘ [Resolved] Want to customize white label login template’ is closed to new replies.

This topic is: resolved