It's Friday - what a day to visit jfoobar!

Jfoobar Labs

At jfoobar labs you will find "stuff" that is either cool, useful or for learning purposes. We hope to create a pretty nice selection over time. Remember, we need it to be fun.

Phorum plugin

  • Name: phorum
  • Type: System Plugin
  • Compatible: Joomla! 1.5+
  • Last update: 2009-01-30
  • Copyright: moovum
  • License: GPL 2.0

With this Joomla! 1.5+ plug-in you can synchronize the users between Joomla! and the Phorum forum solution. This plug-in also does single sign-on authentication when a user logs in the Joomla! site.

The username, login and password are synchronized between Joomla! and Phorum. Yhe user is automatically created when it is added within Joomla! The user details are automatically changed when you (or your user) changes his information, when you delete a user from Joomla! the user also will get removed from Phorum. The user will be blocked from Phorum login if you block a user in Joomla!

This is a very simple plug-in that handles basic user management. You need a Phorum extension if you also want to synchronise user management from within Forum. This solution is (not yet) provided here.

Please read the detailed instructions before you start using the plug-in.

To use this plug-in you of course first need to install. Before activating the plug-in make sure you have configured the plug-in properly by entering the absolute path where you have installed Phorum. After configuring the plug-in, enable it and you're done...we could not make it more easy then this ;-)

Example of Phorum plug-in properties

There are 12 comments posted.

Re: Bug fix for the phorum plugin

# 1 - Posted by: Sean Phelan on 2009-01-28 05:01:25

Folks,

I tried out your phorum plugin and found a bug:

function __construct(&$subject, $config)

{

parent::__construct($subject, $config);

needs to have the global $PHORUM declared like:

function __construct(&$subject, $config)

{

global $PHORUM; #dbg

parent::__construct($subject, $config);

After changing that, the new user added to Joomla showed up in phorum with the same password.

Single sign-on doesn't work yet, but i'm not sure if it was supposed to.

Thanks!

Sean P

Re: Single sign on working OK

# 2 - Posted by: Sean Phelan on 2009-01-28 05:09:48

Scratch my previous comments about single sign-on ... it works just fine.

Good work so far!

# 3 - Posted by: Martin on 2009-02-24 11:48:03

Looks like a great idea. Do you think I can use it for 1 forum that is used by users of 2 or 3 separate Joomla!-sites?

# 4 - Posted by: Wilco Jansen on 2009-02-24 17:07:34

Yes, this is not problem at all. Please keep in mind that user synchorinsation is done in one of the three sites, that problem will not be solved.

# 5 - Posted by: Martin on 2009-02-24 19:23:45

Today I tried it on 2 Joomla! installations, one with a Community Builder registration process. It seems to work fine. I intend that users of both sites can use the forum together, but not that the user databases between the Joomla!-sites are synchronized - in other words they are two different and separate user groups. So, I think the plugin is a fine solution for my purpose.

Do you think it could come to a conflict if a user subscribes to both Joomla! sites and wants to register with the same username/email address on both sites that are linked to phorum?

# 6 - Posted by: Martin on 2009-02-25 18:34:06

One unique username with two different passwords on both Joomla! sites will confuse the login procedure for the user account who registered first, because the second registration overwrites the password in phorum's database.

The plugin works perfectly if you use it with one Joomla! site in combination with Phorum. :-)

# 7 - Posted by: Martin on 2009-02-25 18:38:44

btw. I like this kind of spam check. May I ask which comment component (plugin) do you use on this site?

# 8 - Posted by: Wilco Jansen on 2009-02-25 20:29:03

We use Phorum and the plugins and phorum module on www.moovum.com, was designed for that ans yes we're quite happy with how it works.

About the comments extension, this is something we have build ourselves...not sure, but we could work on a public release of it. Will discuss it with the team.

Thanks for passing by ;-)

# 9 - Posted by: Martin on 2009-03-03 14:17:42

Yes, this kind of security check seems to be much more simple for elderly people or people with disabilities, compared to all other captcha versions that I have seen so far.

Re: Bridge

# 10 - Posted by: Hans Braumueller on 2009-10-17 11:41:50

Hi,

thank you for your plugin. But before i synchronize the user management with your module and plugin, how can i integrate my running phorum site http://mailartforums.crosses.net/ on a Joomla site, for example on http://www.01pla.net

A tip or an url reference i would appreciate very much, i cannot find everything in google, except your work. The Wrapper solution from Joomla! I do not want use, because i want to take the template layout from the Joomla! site.

Thanks,

Hans

Doing Web since 1996

# 11 - Posted by: Wilco Jansen on 2009-10-17 18:13:25

Hi,

Synchronisation is automatically taken care of, either you log into Joomla and the user is synchonized by Joomla or the other way around. The bridge works bi-directional.

You can use the wrapper logic, but you then still have to create the phorum template to mimic the look and feel. We did not use the wrapper on http://www.moovum.com because of this, but the visitor has no clue he/she is in phorum or in Joomla. We have not tried the wrapper, but it should work transparently anyway.

Hope this answers your question.

Regards, Wilco

# 12 - Posted by: Wilco Jansen on 2009-10-17 18:13:26

Hi,

Synchronisation is automatically taken care of, either you log into Joomla and the user is synchonized by Joomla or the other way around. The bridge works bi-directional.

You can use the wrapper logic, but you then still have to create the phorum template to mimic the look and feel. We did not use the wrapper on http://www.moovum.com because of this, but the visitor has no clue he/she is in phorum or in Joomla. We have not tried the wrapper, but it should work transparently anyway.

Hope this answers your question.

Regards, Wilco

Help for creating beautiful comments.

Enter Your Details:
Enter Your Comments:
I'm finished with the form Your form will be checked and you'll get a preview.

JFoobar friends on Twitter

Follow JFoobar on twitter

Sponsored Links

Latest Comments

Aaron wrote:
2009-12-23 13:19:22 - Genius! Thanks, Wilco. I've been dying to take .
Posted in How to downlo .
Amy Stephen wrote:
2009-12-22 18:39:37 - Happy Birthday to one of Joomla!'s most noble - .
Posted in Mister Joomla .
Antonie de Wilde wrote:
2009-12-22 09:30:26 - Congrats Robin. Have a good day and watch out w .
Posted in Mister Joomla .
Robert wrote:
2009-12-22 08:51:02 - Happy Birthday Robin .
Posted in Mister Joomla .
Arno wrote:
2009-12-22 08:43:28 - Happy Birthday Robin, love your suit, you wife .
Posted in Mister Joomla .
Brian Teeman wrote:
2009-12-22 00:17:41 - Happy Birthday Robin, Welcome to the big four oh .
Posted in Mister Joomla .