yngens Posted May 12, 2014 Report Posted May 12, 2014 We recently started to use Blesta for our support and billing purposes, but our forums are built on Drupal and need our Blesta users to be bale to automatically login to the Drupal website and ready to offer $100 bounty for getting this done. The Shared Login Plugin (http://www.blesta.com/forums/index.php?/topic/1508-shared-login-plugin) might be helpful in addressing this request, however that plugin works one one direction: External Application to Blesta. And we need just the opposite - our clients get first registered on Blesta, so we need programmatically create a respective user on Drupal for each newly registered or created Blesta user. Anyone? Quote
PauloV Posted May 12, 2014 Report Posted May 12, 2014 We recently started to use Blesta for our support and billing purposes, but our forums are built on Drupal and need our Blesta users to be bale to automatically login to the Drupal website and ready to offer $100 bounty for getting this done. The Shared Login Plugin (http://www.blesta.com/forums/index.php?/topic/1508-shared-login-plugin) might be helpful in addressing this request, however that plugin works one one direction: External Application to Blesta. And we need just the opposite - our clients get first registered on Blesta, so we need programmatically create a respective user on Drupal for each newly registered or created Blesta user. Anyone? Are you using the default Forum core from Drupal? or you are using outher Drupal Module for the Fórum? Quote
yngens Posted May 12, 2014 Author Report Posted May 12, 2014 (edited) Are you using the default Forum core from Drupal? or you are using outher Drupal Module for the Fórum? Default core forum module. But it really doesn't matter as users in Drupal are stored in one single place regardless of what kind of modules you use. BTW, We are on Drupal 6 website. And if you'd like to try to implement this, then please read some materials on creating users programmatically: https://www.google.com/search?q=drupal+add+user+programmatically For example, there are some discussions on https://drupal.org/node/239063 In short I believe whenever Blesta creates a client user, it can programmatically create a respective Drupal user with the same username (e-mail address) and password. We can enable this module https://drupal.org/project/logintoboggan to make it possible to login with e-mail addresses. Edited May 12, 2014 by yngens Quote
Blesta Addons Posted May 12, 2014 Report Posted May 12, 2014 you need just creating users programmaticcally , or create theme and authentificating to drupal when they are in blesta ? i'm asking because this a 2 defferent thing . i belevie PauloV can do that in my old memories , i think it was a methode/module in drupal allow users log-in in durpal based in other database user/pass , so drupal check username/password in blesta database and not in thier users table . PauloV 1 Quote
yngens Posted May 12, 2014 Author Report Posted May 12, 2014 you need just creating users programmaticcally , or create theme and authentificating to drupal when they are in blesta ? i'm asking because this a 2 defferent thing . i belevie PauloV can do that in my old memories , i think it was a methode/module in drupal allow users log-in in durpal based in other database user/pass , so drupal check username/password in blesta database and not in thier users table . Need to create users and authenticating, no any theme related actions. There is an excellent Drupal module for this purpose https://drupal.org/project/cas, but I don't know what should be done on Blesta part. There is also comparison table of various single sign on modules on https://groups.drupal.org/node/182004 OR core OpenID module's API could be used: https://api.drupal.org/api/drupal/modules%21openid%21openid.module/7 Some relevant discussions: http://drupal.stackexchange.com/questions/72312/drupal-7-login-with-external-database, http://yetanotherprogrammingblog.com/node/14, https://drupal.org/node/151515 Quote
PauloV Posted May 12, 2014 Report Posted May 12, 2014 Default core forum module. But it really doesn't matter as users in Drupal are stored in one single place regardless of what kind of modules you use. BTW, We are on Drupal 6 website. And if you'd like to try to implement this, then please read some materials on creating users programmatically: https://www.google.com/search?q=drupal+add+user+programmatically For example, there are some discussions on https://drupal.org/node/239063 In short I believe whenever Blesta creates a client user, it can programmatically create a respective Drupal user with the same username (e-mail address) and password. We can enable this module https://drupal.org/project/logintoboggan to make it possible to login with e-mail addresses. If you whant we can do it, we just need you to tell us your Dropal domain/sub-domain where you have installed, after that we will do the code and send to you by PM the instructions to install for you to trie it Quote
yngens Posted May 12, 2014 Author Report Posted May 12, 2014 If you whant we can do it, we just need you to tell us your Dropal domain/sub-domain where you have installed, after that we will do the code and send to you by PM the instructions to install for you to trie it Paulo, I've just send you a PM with the details. Thanks! Quote
Exhz Hosting Posted May 12, 2014 Report Posted May 12, 2014 PauloV is brilliant! I would recommend to anyone! Paul and PauloV 2 Quote
yngens Posted May 12, 2014 Author Report Posted May 12, 2014 Its done I have send you a PM Great! I will try this tonight in about 8 hours from now. And if everything works, the bounty is yours. Thanks! Quote
yngens Posted May 24, 2014 Author Report Posted May 24, 2014 This bounty has been taken by PauloV. We decided to drop Drupal integration and went with another forum script. Thank you very much Paulo! Quote
Blesta Addons Posted May 24, 2014 Report Posted May 24, 2014 This bounty has been taken by PauloV. We decided to drop Drupal integration and went with another forum script. Thank you very much Paulo! A forum plugin for blesta will be the best of the best : ) Quote
PauloV Posted May 27, 2014 Report Posted May 27, 2014 Just to update this post, this as been done If you find any problems, bugs, or whant any modification, please tell me Regards, PV interfasys 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.