Descripción
Si solo necesitas un botón de inicio de sesión de facebook en tu wp-login.php para iniciar sesión/registrar usuarios, este es tu plugin. Un plugin ligero que no hinchará su sitio con funciones innecesarias. Preparado para desarrolladores y fácil de extender.
To add facebook button on a page use shortcode [fbl_login_button redirect="" hide_if_logged="" size="large" type="continue_with" show_face="true"]
More info about the button on https://developers.facebook.com/docs/facebook-login/web/login-button
Si necesitaa añadir un inicio de sesión de Facebook en tu plantilla o vincular una cuenta de Facebook a un perfil existente, usa el siguiente código:
`<?php do_action('facebook_login_button');?>```
Si quieres mostrar un botón de desconexión para eliminar la conexión de Facebook de un perfil de usuario y avatar utiliza esto:
`<?php do_action('facebook_disconnect_button');?>```
If you want to change the redirect url after used is logged in wp-login.php you can pass ?redirect_to= in the url or use the following filter:
`add_filter('flp/redirect_url', function($url){ return site_url('another-url')});``
Confirguración
Once you install the plugin, you need to configure it. Please follow this guide . That guide is for the premium version so be aware that the only shortcode available is [fbl_login_button redirect="" hide_if_logged=""]
Premium Version
Check the new premium version available in (https://timersys.com/plugins/facebook-login-pro/)
- Powerful Login / Registration AJAX sidebar widget,
- Also available with a shortcode and php template function
- Compatible con WooCommerce
- Páginas de pago de Easy Digital Downloads
- Compatible with BuddyPress
- Login widget in Popups
- Soporte Premium
Idiomas disponibles
- Español
- Inglés
- Búlgaro
- Vietnamita
- Italiano
- Checo
- Portuguese
- Danish
- Russian
- Ukrainian
Colabora con traducciones en Transifex
https://www.transifex.com/timersys/facebook-login/dashboard/
GitHub
Please contribute on https://github.com/timersys/facebook-login
Instalación
- Install plugin zip using
/wp-admin/plugin-install.php
directory - Activa el plugin desde el menú ‘Plugins’ de WordPress
- Ve a Ajustes -> Facebook Login y añade tu facebook app ID
- Coloca
<?php do_action('facebook_login_button');?>
en tus plantillas si lo necesitas en otro lugar además de wp-login.php.
FAQ
-
¿Está planeando añadir más funciones?
-
No, en realidad. El plugin es una base para cualquiera que necesite un inicio de sesión con facebook
Reseñas
Colaboradores y desarrolladores
«Login for WordPress» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
ColaboradoresTraduce «Login for WordPress» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.2.3.5
- Updated api version
1.2.3.4
- Fixed missing loading gif
1.2.3.3
- Fix issue with new FB update that broke user registration
1.2.3.2
- tagging new release for svn
1.2.3.1
- Branding changes to comply with WP guideliness
1.2.3
- New languages
- Better error handling
- data-size filter for facebook button
1.2.2
- More shortcodes attributes and filters to change button style
1.2.1
- Added ability to change scopes
- Added request for new button, so if email is not provided app will ass permission again
1.2
- New facebook login button
- Fixed issues with hooks on disable registration
- New facebook api used
- Better compatibility with jetpack
- New languages
- Filters to disable email notifications
- Fixed locale of button
1.1.6
- Fixed user notifications not sending
1.1.5
- Fixed bug with redirection
- Added new languages
- Better error handling on fb response
1.1.4
- Fixed permissions to view facebook settings page
- Fixed typo preventing app_secret to work fine
- Added new filter to let users change response based on login/registration
1.1.3
- Added secret key field in settings to make queries more secure and fix issue that some users were having
- Fixed textdomain to make plugin translatable with other plugins
- Updated language files
1.1.2
- Replaced deprecated function in WP 4.5
1.1.1
- Fully support for russian usernames and Bp valid usernames
- Now scripts are added with button ( fb init bug fix )
- Added shortcode for button
1.1
- Added Chrome iOS workaround
- Improved username generation
- Added connect / disconnect button on user profile
- Fixed bug with avatars in groups
- Code improvement and minor bugfixes
1.0.10
- Custom Avatars in bp are working now along with facebook ones
- Notifications when a new user register
- If FB is not defined or private tracking is enabled now shows error
- Fixed undefined notice on activation
1.0.9
- Fixed bug that avatars cannot be disabled in BP
- If registration is disabled in General -> Settings users won’t be able to register
1.0.8
- Facebook Avatars now are working in Buddypress
1.0.7.2
- Fixed important bug with fb users login into wrong account
1.0.7.1
- Removed iconv as was causing problem in some servers
1.0.7
- Added redirect feature to template button
- Now username is generated only on registration
1.0.6
- Fixed bug when users deny to provide email with facebook
- Fb username is now more friendly
- Minor bugfixes and code improvement
1.0.5
- Changed the way users login to a more secure one ( Thanks Zoli! )
- Added fallback in case a Fb user change their email so they can still login to their account
1.0.4.1
- Minor css and js fixes
- Updated docs in readme
1.0.4
- Now user are checked by email, so existing users can still log with facebook
- Now errors are showing instead of showing eternal spin wheel
1.0.3
- Fixed undefined error when notices are on
- Added button to registration screen
1.0.2
- Fixed bug with avatars
- Added scopes in case api version of fb > 2.3 – thanks to sdether
- redirect fix
- Added some more filters
1.0.1
- Added facebook_login_button hook
1.0.0
- First version