Hi,

My website is based on Ruby on Rails(RoR), but the forum of site is based on PHP(Drupal cms).Now we need the site to share with users,user of the site can log in the forum, user of forum also can log in the website. I do not know what to do. Who has good suggestions?

Thanks in advance!

Comments

dnewkerk’s picture

You can check one of the various forum bridge modules to get some ideas on how they do it. Search the modules on drupal.org for forum names like vBulletin, phpBB, etc and you should find a variety of them, most of which at the very least tie the users from both systems together. See the search field on the link I posted above.

jinlong’s picture

Thank you. The main problem is two different languages (Ruby & Php) . If they are both based on PHP, that is not so difficult.

gaydabura’s picture

look into database.
Both projects have 'users' tables - that's the way.
Or just look into module - feedmine - http://drupal.org/project/feedmine with this (http://drupal.org/node/743748) patch.
In my case i have Redmine on RoR and site on Drupal. My d-users can post issues into Redmine database via drupal-based site.
Just look in feedmine code. It's simple

mikesch’s picture

Try have a look on CAS. CAS is an user authentication system which is supported by Drupal and RoR (http://rubycas-client.rubyforge.org/). So you can easily setup a Single Sign On for both world.

Best, mikesch