Firefox PHP

Mambo/Phorum User Authentication

Posted by webdr 
Mambo/Phorum User Authentication
February 17, 2007 02:14PM
I have a specific hack of Mambo's user registration to register users with a usertype of phorum. Is there a way to validate the mambo.mos_users usertype field to limit postings to embedded phorum?
Re: Mambo/Phorum User Authentication
February 17, 2007 05:54PM
That would need some group synchronization towards Phorum. Phorum should have a group defined from which the users can post in your forums. When synchronizing a user to Phorum, the group would have to be assigned to the user as well. There's one problem with this: I don't have group sync in the sync helper script at this moment. So for that part you'd have to write some custom code. I have planned to add this funtionality to the sync helper script, but I don't know when I will have time to get to that.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Mambo/Phorum User Authentication
February 18, 2007 12:28PM
I hacked in some code in connector.php and syncuser.php which evaluates whether the user is "phorum" in mos_users. I am also assigning admin as phorum user. Also evaluates whether usertype is still "phorum" if existing user in Phorum, setting active=0 if not.

Next up is modifying the login function in Mambo to recognize Phorum users to display custom message.

Progress...

I am surprised you have any time at all. ;-)
Re: Mambo/Phorum User Authentication
February 19, 2007 03:18AM
Time is a matter of choosing to sleep less.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.

Click here to login