Advertisement:

Author Topic: WHERE DO I PUT THE FUKIN LOGIN CODE WITH FACEBOOK  (Read 138 times)

Ilse

  • Newbie
  • *
  • Posts: 15
WHERE DO I PUT THE FUKIN LOGIN CODE WITH FACEBOOK
« on: May 22, 2019, 08:24:22 pm »
I HAVE DONE EVERYTHING I DONT KNOW EVEN WHERE TO ENTER TU PUT THAT CODE, I JUST DID MY PAGE WITH CPANEL PHPADMIN,

AND I NEVER DO CODES SO WHERE THE FFUCK I PUT THIS I HAVE BEEN TRYING FOR 2 DAYS

I  MEAN I NEED THE STEPS

 PLUGIN SETUP
To show login/register button, put following code anywhere you want to show button (user-register.php, user-login.php)::
<?php if(function_exists('facebook_login')) { echo facebook_login(); } ?>
To get raw login link (https://...), put following code anywhere you need it:
<?php if(function_exists('facebook_login_link')) { echo facebook_login_link(); } ?>


WEBmods

  • Hero Member
  • *****
  • Posts: 936
  • github.com/webmods-croatia/love-osclass/ | patrick
Re: WHERE DO I PUT THE FUKIN LOGIN CODE WITH FACEBOOK
« Reply #1 on: May 22, 2019, 11:22:43 pm »
File manager. oc-content/themes/theme_name/user-login.php.

Add <?php if(function_exists('facebook_login')) { echo facebook_login(); } ?> where you want the button to appear.

Regards.