[Beta] phpBB OpenID ver 1.0.1

Post your MODs, receive and provide feedback!
Topics in this forum are not for MOD support, they are for giving the author feedback.
Forum rules
The topics in this forum are not for general MOD support, they are for giving the MOD author some feedback, ideas and bug reports.
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

[Beta] phpBB OpenID ver 1.0.1

Post by MasterZ »

MOD title: phpBB OpenID
MOD description: Integrates OpenID authentication and account creation to any phpBB3 forum.
MOD version: 1.0.1 [RC]
phpBB version: 3.0.6

Development stage: Beta

MOD Format: MOD

MOD download: [url=http://zenorsoft.com/community/viewtopic.php?f=30&t=841]ZenorSoft - phpBB OpenID Download[/url]
Official Support: [url=http://zenorsoft.com/community/viewforum.php?f=30]ZenorSoft - phpBB OpenID[/url]

Demo: [url=http://zenorsoft.com/community/]ZenorSoft.com[/url] [url=http://forum.oidportal.com]OpenID Portal Forums[/url]

Credits:
MasterZ [Project Manager]
Obsidian [Contributor]
Last edited by MasterZ on 28 Feb 2010, 14:18, edited 8 times in total.
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Beta] phpBB OpenID ver 0.1.0

Post by Obsidian »

Will be keeping an eye on this, as it is an interesting idea. :)
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.1.0

Post by MasterZ »

Feel free to use it now. Even though it is in Beta stage everything works as is. I just need to add some extra features to it now.
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.1.0

Post by MasterZ »

Updates for the next version

The next version of phpBB OpenID should be released by Friday, but we already have some exciting changes ready. These changes are already added to my OpenID test forum http://forum.oidportal.com and will soon be added to our main forum http://www.zenorsoft.com.

Please test these forums out and let me know what bugs you find.

New Features
  • OpenID stored in its own table (not users table)
  • Each user can have multiple OpenID URL's and login with any of them
  • Removed case sensitive name checks (so if you registered with http://oidportal.com/jonz you can login with http://oidportal.com/JonZ)
  • User Control Panel Page added to view your UserID's and add new ones
  • Instant Registration, if Simple Registration sent from your provider then you are registered and logged in without seeing a forum signup form (configurable)

Need to add
  • Create conversion script from Simple OpenID to phpBB OpenID (this mod)
  • Add OpenID to ACP user manager to allow admins to add/remove OpenID URLs
  • Remove URL from UCP
  • Login to ACP using OpenID
  • User can change email address without needing to enter password in UCP
  • Check for unique email address
  • Support SubSilver theme
  • ACP delete user also deletes the user's OpenIDs
  • Allow Black/White lists (maybe)

  • Let me know what you guys think of the new changes and if you have any ideas to add.
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.1.0

Post by MasterZ »

I got a lot more work done on this. By the end of the week I'm hoping to release the next version and submit it to the mod database.

Completed
  • Add OpenID to ACP user manager to allow admins to add/remove OpenID URLs
  • Delete OpenID URL inside UCP
  • Check for unique email address - During any process requiring an email
  • ACP delete user also deletes the user's OpenIDs

Change of Plan
  • INSTEAD OF - User can change email address without needing to enter password in UCP - WE ARE DOING THIS - Updating email from Simple Registration during every login instead.
  • NO LONGER PLANNING: Allow Black/White lists

Still to do
  • Create MODX install file - IN PROGRESS
  • Create conversion script from Simple OpenID to phpBB OpenID (this mod)
  • Login to ACP using OpenID
  • Support SubSilver theme
  • Move all language output to a lang file
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Beta] phpBB OpenID ver 0.1.0

Post by Obsidian »

I also hope you're removing the dependency on session_start(). :)
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.1.0

Post by MasterZ »

Obsidian wrote:I also hope you're removing the dependency on session_start(). :)


I tried... but it just will not work without it.

It is only used during the initial signin though. In order to remove it I would have to go through the open_id libs and make them work with phpBB's session system, which I haven't figured out yet either. :D

Those of you who have openid accounts, could you please help me test the MOD?

Test Forum http://forum.oidportal.com - Check out the UCP page UCP -> Profiles -> Manage OpenID
Ticket Tracker http://zenorsoft.com/phpBB3/tracker.php?p=3

Thanks for the help :)
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.2.0

Post by MasterZ »

Version 0.2.0 is released.. it has a lot of edits though, I'm going to work on reducing those by using a single language file.

Any advice beyond that, please feel free to give it :)
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.2.1

Post by MasterZ »

I made some minor modifications to make installation require less edits.

Please feel free to recommend ways I can make this better :)
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Beta] phpBB OpenID ver 0.2.1

Post by Obsidian »

MasterZ wrote:I made some minor modifications to make installation require less edits.

Please feel free to recommend ways I can make this better :)


I'll take a look in the SVN. :)

EDIT: I do believe, according to the MODX packaging guidelines, that you're supposed to name the XML file FILE: [ install.xml ]
User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: [Beta] phpBB OpenID ver 0.2.1

Post by Obsidian »

For the constants.php edit, you should be adding the table constant to the end of the file, where it says this line:

Code: Select all

// Additional tables


That comment is there specifically for the MOD authors, so we know where to add our own table constants, for organization. ;)

There is a folder with the wrong name in SVN -- FILE: [ includes/opendid ]?
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.2.2

Post by MasterZ »

Thank you for the feedback Obsidian. All changes made for version 0.2.2 and 0.2.2 Released.
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.2.2

Post by MasterZ »

I found out where $_SESSION is being used in the openid libs. Luckily they are using OOP so I think that if I can make the correct changes in these 4 methods then it should work fine and be a transparent change.

Although I don't know that for sure, and I don't know how to use phpBB's session. Can someone else check out the code and let me know if it is as easy as I think it is? Will a change in only these 4 methods work through the whole system?

The file they are located in is: /root/includes/openid/AuthYadis/Manager.php

I have been checking phpBB's wiki, but I can't find anything about how to add session variables.

Any advice you guys can give would be awesome.

Thanks,
- Jon
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.2.3

Post by MasterZ »

I was completely STUPID with 0.2.2 and never tested it after making (what I thought were) minor changes! Well, needless to say it broke the entire MOD.

Version 0.2.3 has been 100% tested. I even came up with a [url=http://zenorsoft.com/phpBB3/viewtopic.php?f=30&t=851]testing checklist[/url] which will help make sure that I test every part of the MOD and hopefully never do something this stupid again. :roll:

I also cleaned up the code a lot in this version (thanks to Obsidian! :rootbeer: ) and added a version number that displays in the UCP. Let me know what you think. One step closer to submitting this to the MOD DB :cookie:
User avatar
MasterZ
Member
Member
Posts: 87
Joined: 07 Jul 2007, 23:46
Real name: Jon
Location: Colorado Springs, CO
Contact:

Re: [Beta] phpBB OpenID ver 0.2.4

Post by MasterZ »

I have several polls up asking what features people want to see in this MOD. Please take just a couple minutes to go vote. We need to know what is important to you to decide what features to add.

http://zenorsoft.com/phpBB3/viewforum.php?f=30
Post Reply