Postponed
Project:
OpenID Selector
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2011 at 18:09 UTC
Updated:
20 Nov 2012 at 10:10 UTC
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
Comment #1
Rob_Feature commentedYup, my question as well...
Comment #2
Rob_Feature commentedI 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.
Comment #3
andriy_gerasika commented"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
Comment #4
kust commented>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
Comment #5
andriy_gerasika commentedyou 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
Comment #6
andriy_gerasika commentedv1.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
Comment #7
jonlhouse commentedThanks 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!
Comment #8
andriy_gerasika commentedre #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
Comment #9
jonlhouse commentedThanks for the feedback... hope you get better.
Comment #10
vacilando commented+1 for a GUI selection of providers!
Comment #11
joel_guesclin commentedI 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
Comment #12
int_ua commentedI'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.
Comment #13
int_ua commentedLooks like this: http://code.google.com/p/openid-selector/issues/detail?id=38#c3
Comment #14
msvensson82 commentedI hacked it by setting the classes of the buttons (i.e. .yahoo etc.) to "display:none !important" =p