Advertisement:

Author Topic: Bridge for forum software  (Read 1856 times)

webbuster

  • Newbie
  • *
  • Posts: 32
Bridge for forum software
« on: July 31, 2011, 04:51:35 pm »
Is it possible to bridge osclass with forum software like phpbb or SMF so the users that sign up can use their password as universal to get into the forum.

Example: when a new user registers on the main site which is running osclass, they can access both the forum and the listings website with the same login info. Please let me know if this makes any sense to anyone.

Thanks!

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Bridge for forum software
« Reply #1 on: August 01, 2011, 12:09:11 pm »
Hi webbuster,

Yes it makes sense and it's possible. It depends on the other software you choose and if they have hooks or not.

It should be something like this :

OSClass' user management <-- custom code --> phpBB/SMF's user management

OSClass has enough hooks to control both, OSClass and other software user management. I don't know if the other way could be possible.
Let me explain, you have to software call them OSClass and softX, they can not share user's table, so here is the problem
You register in OSClass -> you are not register in softX

Then you make a plugin (custom code), osclass has some hooks (user_registerd, user_login,...)
You registered in OSClass -> your plugin modify softX databse -> you ARE registered in softX


You registered in softX -> you are not registered in OSClass
Then you should :
A.- create a plugin (if they have a plugin system)
B.- modify core files (updates of softX will be difficult if not impossible)

This also happen at modifying your information (for example, if you change your email in one of the two softwares).

The best solution is to have both plugins, so it doesn't mind if your user registered/modify their data/log in in any of the softwares

GazOutEast

  • Newbie
  • *
  • Posts: 13
Re: Bridge for forum software
« Reply #2 on: August 09, 2011, 06:57:40 pm »
there is already an SMF-->WordPress bridge that could be used as a starting point, bit it's not a lightweight intallation or implementation, and requires that they both use the same database.