Hi,
Update the module and the login buttons are no longer displayed.
Login.tpl
ClientRegister.tpl
Whmcs Client Area
Best regards.
Hi Bernardo,
I think I might have found the issue.
Please open this file in your WHMCS folder:
modules/addons/oneall_social_login/hooks.php
Then look for this code:
// Build Output
$output = array();
$output[] = '';
$output[] = "<!-- OneAll.com / Social Login " . $settings['version'] . " for WHMCS -->";
$output[] = '<script src="/modules/addons/oneall_social_login/assets/js/library.js"></script>';
$output[] = '<script type="text/javascript">var OneAll = new OneAll("' . $subdomain . '", ["' . implode('","', $providers) . '"], "'.$CONFIG['SystemURL'].'", "'.$custom_css.'");</script>';
And replace it by this:
// URL.
$base_url = ( ! empty ($CONFIG['SystemURL']) ? rtrim($CONFIG['SystemURL'],'/ ') : '');
// Build Output
$output = array();
$output[] = '';
$output[] = "<!-- OneAll.com / Social Login " . $settings['version'] . " for WHMCS -->";
$output[] = '<script src="'.$base_url.'/modules/addons/oneall_social_login/assets/js/library.js"></script>';
$output[] = '<script type="text/javascript">var OneAll = new OneAll("' . $subdomain . '", ["' . implode('","', $providers) . '"], "'.$CONFIG['SystemURL'].'", "'.$custom_css.'");</script>';
Please tell me if that fixes the issue and we will then release an official patch.
Please sign in to your OneAll account to ask a new question or to contribute to the discussions.
Please click on the link below to connect to the forum with your OneAll account.
Answers
After some more tests we have added the fix to the official plugin:
https://github.com/oneall/social-login-whmcs/commit/3951883a3e6481358ecebdabf3aa642d535c45be
Hi,
Thank you very much, if I can visualize the buttons in the registration area and to enter.
But I'm testing and when I click on the facebook icon or google redirects me to the main page and does not login, it will be a problem with the APIS
best regards.