Hi, the module is not working for us.

When we click one of the login providers (Linkedin or Twitter in our case) it seems like it's constantly trying to connect but nothing happens. When we click the back button of the navigator, a big list of "There was an error processing your request." shows.

You can see it live in http://www.sumamarketing.com/user

It's quite strange, because we have this module (same version) working perfectly in other site. Maybe it could be some incompatibility with other module, but I can´t think what module could be (and we have like 30 modules installed, so trying one by one could take a lot of time). If it helps, I could copy here our list of installed modules.

Any suggestions, please?

Comments

duozersk’s picture

Assigned: Unassigned » duozersk
Category: bug » support
Priority: Major » Normal

xiwino,

Well, it just worked for me :) via Twitter.
http://www.sumamarketing.com/usuario/andrew-berezovsky

Thanks
AndyB

delvalle’s picture

Andy, thanks for the quick response. I was going to post now that we already managed to solved it.

The problem was that the hybridauth library wasn't installed in this site. Sorry for bothering you with my stupid mistakes ;)

By the way, I have detected a different problem. The login icons of the block provided by this module doesn't show when the "cache for blocks" option is activated. Do I have to open a different issue for this problem, reopen this issue (http://drupal.org/node/1915630) or what?

Thanks again!

duozersk’s picture

xiwino,

Thanks for the note about block caching - it looks like this issue is related to #1998918: Social services icons disappear (block cache).

Thanks
AndyB

delvalle’s picture

Status: Active » Closed (works as designed)

One last thing (this is not a bug or a feature request, only a particular thing that I want for my site).

I'm trying to show in the user's profile only a list of the URLs of the identities (not a table with the name of the identification provider and the URL).

I guess it should be easy, but I'm not a programmer and I dont know PHP. I did some trial and error without any luck. If I'm correct, I should change the part that implements hook_user_view (starts at line 359 of hybridauth.module), but I don´t know exactly how. One of my last trials was the following (with this code, it doesn`t show anything in the profile and the providers' names are still in the code, although I don't need them):

function hybridauth_user_view($account, $view_mode, $langcode) {
  $identities = _hybridauth_identity_load_by_uid($account->uid);
  $providers = hybridauth_providers_list();

  $rows = array();
  $data_array = array();
  foreach ($identities as $identity) {
    $data = unserialize($identity['data']);
    $data_array[] = $data;
    $rows[] = array(
      $providers[$data['provider']],
      l($data['profileURL'], $data['profileURL'], array('attributes' => array('target' => '_blank'), 'external' => TRUE)),
    );
  }

  $account->content['hybridauth_identities'] = array(
	'#theme' => 'item_list',
	'#type' => 'ul',
    '#items' => $rows,
  );
}
duozersk’s picture

xiwino,

Open a new "support request" issue please, maybe someone will help you with that (meaning this issue is closed and will stay closed).

PS. And I'm strongly against hacking contributed modules code - you have already hacked the icon pack (the proper way is to define your own icon pack, see module's README.txt), which is not good, and now you are trying to play games with module's PHP code - I won't help you with this.

Thanks
AndyB

delvalle’s picture

OK, sorry for continuing in this issue. I've thought about it and I don´t really need this new hack, so I won't add more clutter opening a new issue for that.

Thanks for all your quick responses ;)