Support Forums - Classified Ads Script Osclass
Osclass theme support => Stela Osclass Theme => Topic started by: Eduardo Tomaz on March 16, 2019, 08:42:02 PM
-
What is the url for the facebook connection plugin, the stela theme?
Valid OAuth redirect URIs?
appID = ok
secret = ok
for stela theme
-
It should be written in facebook login plugin
-
I have already done this, in the app configuration of facebook missing the url of return.
-
https://osclasspoint.com/blog/facebook-login-settings-b12
-
https://yoursite.com/fblauth-1/
This works for Facebook Login Plugin Version: 1.1.0 | By MB Themes | Plugins Site
https://yoursite.com/xxxxxx/ ?
for
Facebook Connect
Use Facebook to connect and log in your users accounts
Version:5.0.0 | By Osclass modified by MB Themes | Plugins Site
I have already opened all the files in the plugin folder to see if I discovered it, I searched the forums. When I click the login button the login is not done. If I use the CBK plugin I can log in, but I have to reload the page. So it does not work for the end user.
Before resorting to this help I have tried several options.
If anything I said is meaningless, it's because I'm using a translator.
-
https://www.pirassununga.com.br
-
https://osclasspoint.com/osclass-plugins/social-and-authentication/facebook-login-free-osclass-plugin_i74
-
I put another plugin, but the page does not close and the login status does not update itself. What is the solution ? Please update the Stela theme code for it to use Facebook Login Free Osclass Plugin as default.
thanks
-
You must have target="_top" attribute on login link
-
I do not understand, it may be more specific.
-
@Eduardo
http://www.htmlcodes.ws/html-tags/a_target-_top.cfm
https://stackoverflow.com/questions/16230959/what-does-top-in-the-hyperlink-target-do
https://stackoverflow.com/questions/18470097/difference-between-self-top-and-parent-in-the-anchor-tag-target-attribute/29969970
-
Please help me
<?php if(function_exists('facebook_login')) { echo facebook_login(); } ?> (Facebook Login Version:1.1.0 | By MB Themes)
I want to put this in the file inc.auth.php and that after login the page close.
A line of your code and everything will be solved. I chose MB-themes for the quality of the products, I already bought several others. Plugins ready to be used with theme.
thanks
-
@Eduardo
<?php
if(function_exists('facebook_login')) {
echo '<a target="_top" href="' . htmlspecialchars(facebook_login_link()) . '" class="fl-button"><img src="' . osc_base_url() . 'oc-content/plugins/facebook_login/img/fb_login.png" alt="' . osc_esc_html(__('Facebook login', 'facebook_login')) . '"/>' . __('Log in with Facebook', 'facebook_login') . '</a>';
}
?>
-
perfect, thanks