Support forums > Plugins

WHERE DO I PUT THE FUKIN LOGIN CODE WITH FACEBOOK

(1/1)

Ilse:
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:
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.

Navigation

[0] Message Index

Go to full version