Firefox PHP

Module: External Authentication

Posted by Joe Curia 
Re: Module: External Authentication
March 03, 2009 12:08PM
Great!!! The sooner the better. But, keep me posted if/when you (or anyone else) get things started.
Module: External Authentication v5.2.1.03
March 04, 2009 04:37AM
I have released version 5.2.1.03 of this module with the following changes:
- Bugfix: Missing quotes in language file.

- Enhancement: Support added for the user_delete hook.

- Enhancement: Added support for embedded links in the login, logout, and register link suppression code.

- Enhancement: Details added so some log events.

- Enhancement: Added support for the common and start_output hooks.

- Enhancement: Added support for a plugin to register a new CSS version.

- Enhancement: Added support for complete removing the user links (login, logout, registration) from the Simple Rounded template.

- Bugfix: Disabling user actions (login, logout, registration) from Phorum was not implemented properly.

- Enhancement: Added support for plugins to supply a unique file name and a unique string from that file which will be used to attempt to find the server path for the external application.

- Enhancement: Added support for an author field in the plugin info.php file so that plugin developers can be acknowledged on the External Authentication settings page.

- Enhancement: Added support for a user id synchronization table. This table allows the Phorum user id and the external application's user id to be different yet linked and frees a plugin developer from depending on the username for authenticating between applications.

- Enhancement: The Elgg plugin will now automatically update the Phorum database whenever an Elgg user is created or updated.

- Bugfix: Elgg mod now properly uses the assigned Phorum path.

- Enhancement: Added the ability for the admin to automatically add each Elgg user to a Phorum group named "Elgg Users."


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Drupal 6.x Plugin for the External Authentication Module
March 04, 2009 04:45AM
This plugin will allow external authentication from Drupal 6.x to Phorum. It will also allow Phorum to be embedded as a Drupal page when used with an integration enabled template.

For installation and configuration, please read the Drupal Plugin Guide or the included README.

Finally, this is relatively new plugin so please test thouroughly before implementing in a production environment.

Changelog:
R4
- Bugfix: In certain cases the Drupal user module would not be loaded when necessary. Thanks go to Phorum user Sergej for pointing out this bug.
R3
- Bugfix: Users that logged out of Drupal were not properly logged out of Phorum if the Phorum was not embedded into Drupal. Thanks go to Phorum user gnuwings for pointing out this bug and helping to debug it.
R2
- Enhancement: Added support for the path prefix from the Drupal Locale module. Thanks go to Phorum user Sergej for pointing out the need for this and all of the other help in testing the Drupal plugin.
- Enhancement: Added the ability to synchronize Drupal languages with Phorum languages.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald




Edited 3 time(s). Last edit at 11/01/2009 07:06PM by Joe Curia.


Attachments:
open | download - drupal_6_x_external_authentication_plugin_R4.zip (26.2 KB)
Re: Module: External Authentication v5.2.1.03
March 04, 2009 08:33AM
Joe i saw your pluggin for elgg, its looks nice. but i am looking for the reverse pluggin. that is my home site is for a forum and i want to give a community for my forum members and i am planning to use elgg for that.. can you help me in creating a pluggin like that, so that when a new user registers at forum he will be also added to elgg, and the forum member can browse elgg without need to login again.
i am a new comer to the world of php. so i need your help.
Thank you
Re: Module: External Authentication v5.2.1.03
March 04, 2009 06:21PM
chumma,

What you are asking is possible, but is not really in the scope of this module. In fact, what you are asking for is really an Elgg plugin that would interact with Phorum and not a Phorum module that would interact with Elgg. That said, I may be able to dust off my Elgg programmer hat from writing the Elgg plugin for this module and create such a plugin for Elgg. However, this will not happen anytime soon. In fact, I would need to spend some time relearing the inner workings of Elgg even to point you in the right direction. All I can say is, if you want to do this yourself, you can look through my module for some pointers, but if you want this made for you, you will have to wait. I probably won't be able to do this until late summer/fall at the earliest.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: External Authentication v5.2.1.03
March 06, 2009 01:46PM
Thanks joe for your reply. I am not a prograamer. i begin to know php only for last one month. so i am not sure whether i can do it, even if you help. So i think i can wait for it. I also think thill will be very useful for phorum also.
How to transfer users to drupal
March 10, 2009 12:20PM
Hi,

I would like to transfer existing Phorum users accounts to Drupal. What should I do?

I'm sorry I should post it in this thread [www.phorum.org]

wojtek



Edited 1 time(s). Last edit at 03/10/2009 12:21PM by mysza.
Re: How to transfer users to drupal
March 10, 2009 01:22PM
Quote
mysza
I would like to transfer existing Phorum users accounts to Drupal. What should I do?

Right now, the only way to do this is to have those users register to Drupal, with this module and the Drupal plugin installed, there will be additional fields on the Drupal registration page asking for Phorum username (if different from the Drupal one they are registering) and Phorum password (again if different from the Drupal one).

I may look into some sort of import feature, but please don't hold your breath. this is going to be a busy two weeks for me so I may not get to this very soon.

That said, you *MIGHT* be able to get away with importing the username, password, and email from the Phorum database to the Drupal database. I have not explored this idea at all, so please proceed with caution and test on an individual basis first. And as always, backup, backup, backup.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: How to transfer users to drupal
March 11, 2009 03:16PM
Quote
Joe Curia
Quote
mysza
I would like to transfer existing Phorum users accounts to Drupal. What should I do?
That said, you *MIGHT* be able to get away with importing the username, password, and email from the Phorum database to the Drupal database. I have not explored this idea at all, so please proceed with caution and test on an individual basis first. And as always, backup, backup, backup.

Yes, but I can't find how the Drupal users are connected with Phorum users, only by UserName?
Re: How to transfer users to drupal
March 11, 2009 05:22PM
With the Drupal plugin, users are synchronized by user_id's linked in a separate table with phorum_user_id, drupal_user_id, unique_id. If you enable the synchronization form, logged-in Drupal users that visit your Phorum will be asked to provide a username (if different from their Phorum username) and a password (again if different from their Phorum password) or give the option to indicate that they do not have a Phorum account.

If their username does not exist in Phorum, an account is created with that username and linked. If their username exists in Phorum and the supplied or Drupal password is the same, the accounts are linked. If their username exists in Phorum and the passwords are different they will be alerted.

If you do not enable the synchronization form the links will be created automatically without the user being prompted. If the username does not exist in Phorum, an account is created with that username and a link is made. If their username exists in Phorum and the Drupal password is the same, the accounts are linked. If their username exists in Phorum and the passwords are different a new Phorum user is created with their username followed by their Drupal user_id (eg. JohnSmith_23).


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Sorry, only registered users may post in this forum.

Click here to login