I've written a mod for DragonFly that allows you to login to a DragonFly website using
OpenID.
This mod supports the following OpenID providers :-
A.O.L.
Blogger
Google
Live Journal
My OpenID
My Space
Word Press
Yahoo
(or at least I hope it does)
As I only have accounts myself at Google, MySpace and My OpenID those are the only ones I've been able to test it with so far. Yes, I could register on all those others but I was kinda hoping other people with accounts at those sites would like to help me out here
This mod replaces the following core files :-
header.php
footer.php
blocks/block-User_Info.php
blocks/block-User_Info_Small.php
includes/cmsinit.inc
includes/class/cpg_member.php
language/english/your_account.php
modules/Your_Account/index.php
modules/Your_Account/register.php
so please, please, please ensure you keep copies of these files before replacing them with mine, so you can put them back if it all goes horribly wrong.
This package add a modal style dialog login box using the jQuery javascript framework extension for DragonFly (included in the package).
In the User Info blocks the Nickname / Password fields are replaced by a Login button, which upon clicking pops up the modal style login box.
Provide your website Username / Password as normal to login as normal. Alternatively provide an OpenID Username / Email and select an OpenID provider from the list.
For registered users the OpenID Username / Email must be the Username / Email they're registered on the website with.
For non-registered users upon returning to your site they'll be taken straight to the new user registration form with their Name / Email filled in (assuming the OpenID provider has been authorised to return this information) and the
Password (and confirm Password) fields hidden (a random password will be generated which the user doesn't need to know because they're using an OpenID account to authenticate themselves). This hopefully streamlines the new user registration process and doesn't require them to make up and remember another username and another password for your site.
It uses a PHP OpenID library called LightOpenID
gitorious.org/lightopenid
I'd consider this extremely beta at the moment, it needs testing and, assuming it works, tidying up (adding language defines and perhaps re-working the login forms maybe).
Feedback much appreciated.
edit: download the package from my website :-
www.cmsdreams.co.uk/in...s&id=9
(saves me having to keep updating the attachment here)