Osclass forums
Support forums => Plugins => Topic started by: Ilse 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(); } ?>
-
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.