Topic-icon Easysocial request module shows double social buttions

Active Subscriptions:

None
Easysocial request module shows double social buttions
Please see on the frontpage, there the es module is opened with double social buttons?!

Here is really a login credentials formular needed where its possible to add the website in private and not public for all!
gesunden-point-org
The topic has been locked.
Support Specialist
9 years 4 months ago #49771 by mel

Easysocial request module shows double social buttions
Please see on the frontpage, there the es module is opened with double social buttons?!

Please make sure you're using the latest version of EasySocial. EasySocial makes calls to JFBConnect to add the social buttons, but is not specifying a parameter correctly if all of those buttons are showing. I think you should be able to update the following - in /administrator/components/com_easysocial/includes/oauth/clients/facebook/consumer.php around line 714:
$params = array('buttonSize' => 'icon_text_button');

foreach ($providers as $provider) {
   $buttons .= $provider->loginButton($params);
}

You can try to replace that with
foreach ($providers as $provider) {
   $params = array('buttonSize' => 'icon_text_button', 'providers'=> $provider->name);
   $buttons .= $provider->loginButton($params);
}

Let me know if that doesn't work.

Here is really a login credentials formular needed where its possible to add the website in private and not public for all!
gesunden-point-org

I have no idea what that means, but if you want to send us private information that no one else can see, use the little envelope icon under mine or Alex's name to send a private message.

-Melissa
The topic has been locked.