Facebook registration and login?

Discussion in 'ClassiCraft WordPress Theme' started by dinocarrozzo, Feb 7, 2015.

Thread Status:
Not open for further replies.
  1. dinocarrozzo

    dinocarrozzo New Member

    Joined:
    Feb 3, 2015
    Messages:
    12
    Likes Received:
    0
    there is the possibility to register and login trough facebook?
     
  2. spottedvarennes

    spottedvarennes Member

    Joined:
    Jan 26, 2015
    Messages:
    79
    Likes Received:
    0
    Yes, I use the facebook ALL plugin, just place the shortcode in the User_auth.php /Library/Control/User_auth.php, in the Login form
     
  3. dinocarrozzo

    dinocarrozzo New Member

    Joined:
    Feb 3, 2015
    Messages:
    12
    Likes Received:
    0
    where i take the shortcode?
     
  4. spottedvarennes

    spottedvarennes Member

    Joined:
    Jan 26, 2015
    Messages:
    79
    Likes Received:
    0
    https://wordpress.org/plugins/facebookall/installation/
    Shortcode for FacebookAll Login: [facebookall_login]
    Shortcode for FacebookAll Sharing: [facebookall_share]
    Shortcode for FacebookAll Fanbox: [facebookall_fanbox]
    Shortcode for FacebookAll Facepile: [facebookall_facepile]
    Shortcode for FacebookAll Comments: [facebookall_comments]
     
  5. spottedvarennes

    spottedvarennes Member

    Joined:
    Jan 26, 2015
    Messages:
    79
    Likes Received:
    0
    IN php you have to do this echo do_shortcode('[facebookall_login'])
     
  6. dinocarrozzo

    dinocarrozzo New Member

    Joined:
    Feb 3, 2015
    Messages:
    12
    Likes Received:
    0
    thankyou. last thing: where in the php file i've to put che code?
     
  7. spottedvarennes

    spottedvarennes Member

    Joined:
    Jan 26, 2015
    Messages:
    79
    Likes Received:
    0
    In cc_login_form function, replace echo do_shortcode('')
    Code:
    <form id="loginform" action="<?php bloginfo( 'url' ) ?>/wp-login.php" method="post">
                <h1 class="form_tag"><?php echo SIGN_IN; ?></h1>
                 
                    <?php echo do_shortcode('[facebookall_login]');?>
                 
             
                <div class="label">
     
  8. spottedvarennes

    spottedvarennes Member

    Joined:
    Jan 26, 2015
    Messages:
    79
    Likes Received:
    0
    You might want to place the short code between Div

    <div class="label">
    <label for="facebook">Facebook</label>
    </div>
    <div class="row">
    short code here
    </div>
     
  9. dinocarrozzo

    dinocarrozzo New Member

    Joined:
    Feb 3, 2015
    Messages:
    12
    Likes Received:
    0
  10. spottedvarennes

    spottedvarennes Member

    Joined:
    Jan 26, 2015
    Messages:
    79
    Likes Received:
    0
    thats the wrong function, its cc_login_form()
     
  11. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello !

    Unfortunately ! this is not possible to use facebook login registration with help of plugin .
    Code manipulation will creates other issues.

    Thanks & Regards
    Pramod
     
  12. dinocarrozzo

    dinocarrozzo New Member

    Joined:
    Feb 3, 2015
    Messages:
    12
    Likes Received:
    0
    it's all ok! everything work! thanks all
     
Thread Status:
Not open for further replies.

Share This Page