Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
OpenID Authentication Details »»
OpenID Authentication
Version: 1.00, by wnorris wnorris is offline
Developer Last Online: Jan 2016 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-10-2006 Last Update: Never Installs: 13
Uses Plugins Template Edits
 
No support by the author.

I've finished a first draft of an add-on to support OpenID Authentication. This requires no code changes and only one template change. The caveat however, is that it does require two third party libraries to handle the OpenID and Yadis protocols. I've only tested it on 3.5.4, but I'm pretty sure it should work in 3.6 (RC1) as well.

Right now, this add-on allows existing users to populate a custom profile field with their OpenID URL, and then use that for subsequent logins. This does NOT allow new users to register with their OpenID... they will still need to create an initial password and such as normal. I'd like to change that in a future release.

If you're not familiar with OpenID, check out http://openid.net/

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-10-2007, 05:28 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is very interesting, but it'll be really awesome once you've made it so that people can REGISTER with their OpenID That's really the whole point of OpenID in the first place
Reply With Quote
  #13  
Old 06-19-2007, 05:34 AM
ShatterStudios ShatterStudios is offline
 
Join Date: Nov 2006
Location: Kansas
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any developments? I'd love to integrate OpenID with my board, regardless of whether file uploads would be involved.
Reply With Quote
  #14  
Old 06-19-2007, 03:51 PM
wnorris wnorris is offline
 
Join Date: Feb 2004
Location: San Francisco, CA
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

unfortunately no, there are no new developments on this plugin. I no longer manage the vB community I had, so it would be difficult for me to maintain this anyway. If anyone else is interested in taking over the project, I would be more than happy to pass the torch off so that development can continue.
Reply With Quote
  #15  
Old 10-03-2007, 11:31 PM
ZeroHour's Avatar
ZeroHour ZeroHour is offline
 
Join Date: Sep 2007
Location: Scotland
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by szpak@coachingp View Post
I installed this on 3.6.5. There were a couple of glitches:
  • the forum url and home url ($vbulletin->options['homeurl']) have to be the same for the proper redirect URL to be constructed for the Identity Provider
  • the profilefield table doesn't have a title field, so the code which tries to discover the profilefieldid of the OpenID field in the user profile doesn't work - I worked around that by hardcoding the profilefieldid (there must be a way to discover that!)

Now works great with iNames!

- Mark
I am still having problems. Putting a break; into the code does not seem to work (or well stop the php engine) and changes dont seem to be reflected.
Bit of a vBulletin n00b for now so go easy
Reply With Quote
  #16  
Old 01-09-2008, 08:12 AM
tcviper tcviper is offline
 
Join Date: Jun 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update on this plugin? Would be really cool to see it work with version 2.0 and 1.0 of OpenID. And maybe allow sign ups aswell?
Reply With Quote
  #17  
Old 01-09-2008, 02:44 PM
szpak@coachingp szpak@coachingp is offline
 
Join Date: Feb 2007
Location: Halifax, NS
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it's the supporting JanRain php OpenID libraries that make it work with OpenID 1.1 and 2.0.

I've written a plugin that allows registration using OpenID/iNames. It that makes use of wnorris' OpenID plugin. Should I post that here, or to a new thread?
Reply With Quote
  #18  
Old 01-09-2008, 04:46 PM
tcviper tcviper is offline
 
Join Date: Jun 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just post it please, so with yours we can let them login and register on vbulletin right?
Reply With Quote
  #19  
Old 01-18-2008, 09:53 AM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to open to continue the development for this since Yahoo has just accepted OpenID.
Reply With Quote
  #20  
Old 01-20-2008, 06:55 AM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I decided last night to implement OpenID myself, as the author of this mod hasn't been online in 9 months. Unfortunately I didn't notice Mark's (szpak) post above, otherwise I'd have talked to Mark first!

I took a slightlly different approach, but it's still all plugins, a couple of template edits, and one file upload. I'm actually using a small, self contain class for the OpenID consumer stuff, rather than the rather bloated JanRain ones. Although there's a lot to be said for using the mainstream JanRain code, I wanted to see if I could build something small and self contained.

Mark - did you find a way of deriving the timezone offset from the country/city code? MySQL does support xoneinfo, but Imost hosted vB's either aren't going to have access to those tables, and they probably aren't installed properly anyway.

-- hugh
Reply With Quote
  #21  
Old 01-21-2008, 07:04 PM
szpak@coachingp szpak@coachingp is offline
 
Join Date: Feb 2007
Location: Halifax, NS
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is class.openid.php the one-file OpenID consumer you're using? I've used that in the past for another project (it supported both URL-based OpenIDs and iNames). Are you implementing registration as well as login using OpenID?

I didn't do anything with timezone handling - just made the minimum number of plugin hooks in the registration code so you could either do a brand-new registration using your OpenID, or else if you already have an account then associate that with an OpenID (and confirm validity of that OpenID in both cases). Otherwise I used wnorris' code for logging in, with one small change.

- Mark
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06105 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete