I would like to know how to do 2 things with the provider list:

1. How do you remove certain providers from the list? I honestly don't expect anyone to access my site using ClaimID, ClickPass, Verisign, etc.

2. How do you reorder the providers? If I want to make AOL a small icon and Twitter a large icon, how do I go about it?

Comments

Rob_Feature’s picture

Category: task » support

Yup, my question as well...

Rob_Feature’s picture

I see why this isn't super simple: The providers are all displayed by default in the javascript library...so the module would have to alter/remove them from the list. I was going to write a patch but I know, basically, zero .js.

andriy_gerasika’s picture

"1. How do you remove certain providers from the list? I honestly don't expect anyone to access my site using ClaimID, ClickPass, Verisign, etc."

You should edit ./sites/all/libraries/openid-selector/js/openid-en.js and remove ClaimID, ClickPass, VeriSign lines
After this, follow instructions in section "TROUBLESHOOTING" in ./sites/all/libraries/openid-selector/README.txt

kust’s picture

>After this, follow instructions in section "TROUBLESHOOTING" in ./sites/all/libraries/openid-selector/README.txt

This is a solution for spiritually strong men. I'm a newbee in web-programming, and I don't know yet how to run generate-sprite.js separately from everything else and how to install ImageMagic from rpm packages in windows

andriy_gerasika’s picture

you do not need to install ImageMagick from RPM packages on Windows -- there is EXE (or MSI) download on ImageMagick home page.

generate-sprite.js can be run from regular command line or any other file manager

andriy_gerasika’s picture

Status: Active » Postponed

v1.7+ of this module will have the ability to modify provider list using GUI (for now, you must do it manually)

ETA: after v1.6 will be released -- watch #1025024: don't make tons of tiny modules for v1.6 release progress

jonlhouse’s picture

Thanks for the module! I'm developing a site that is using it presently and I have one or two quick questions if you don't mind.

1) I saw that you'll be rolling the separate module into an admin menu which is great (v 1.6) and you'll implement the provider list modifications in v 1.7. Do you plan on porting those changes for D7 with those releases? Also do you have an rough ETA on those releases? If its going to be more than a month or so I'll plan on manually editing the logins I don't want now.

2) Alright, so there's a user-login-block and a user-login page and I get the difference between them. I noticed that the user-login .js is pretty close to the demo openid login while the user-login-block looks more like a icon cut out (which is fine). My question is whether the login-block is just the openid-selector JS with different settings or are you changing the display in php in your module?

Thanks!

andriy_gerasika’s picture

re #1:
it will take >1 month, I am ill at the moment, and not able to devote much time to openid-selector at the moment.
You should really edit openid-selector library JS file and regenerate sprite image manually, it will take <0.5 hour

re #2:
it is the Javascript setting openid.all_small, check ./sites/all/modules/openid_selector/openid_selector.js

openid.all_small = Drupal.settings.openid_selector.form_id == 'user-login-form';
jonlhouse’s picture

Thanks for the feedback... hope you get better.

vacilando’s picture

Version: 6.x-1.5 » 6.x-1.x-dev

+1 for a GUI selection of providers!

joel_guesclin’s picture

Component: Documentation » User interface
Category: support » feature

I hope I'm not out of order in changing the category to "feature request" and the component to "user interface" which seems more appropriate. And I would love to know if there is any timeline for this happening in D6?
Thanks for a great module, JG

int_ua’s picture

I've reordered the providers in /sites/all/libraries/openid-selector/js/openid-en.js but generate-sprite.sh doesn't update the sprite.
Drupal 7.15, OpenID Selector 7.x-1.x-dev, Ubuntu 12.04 with imagemagick installed.

int_ua’s picture

msvensson82’s picture

I hacked it by setting the classes of the buttons (i.e. .yahoo etc.) to "display:none !important" =p