ISPConfig 2.x & Joomla!

Discussion in 'Developers' Forum' started by pjdevries, Nov 24, 2008.

  1. pjdevries

    pjdevries Member

    I want to attempt to create some kind of integration between ISPConfig and Joomla! and have a few questions:
    1. Initially I'll probably just read from the ISPConfig database. Can I do that by directly accessing the database or is it advisable to use the Remoting Framework no matter what?
    2. Can anyone advise on how to synchronize the ISPConfig and Joomla! login details, especially the password? It would be nice if one could use the same credentials in both applications and that a changed password in either application is automatically propagated to the other application.
    3. Will a Remoting Framework be available for ISPConfig 3.x as well and if so, will it be compatible with the ISPConfig 2.x framework?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) If yo want to read only things, then you can do it right from the database. But be aware that when your joomla system gets hacked, then the hacker might been able to gain root access when he is able to modify anything in the database directly. So make sure that you create a new database user that has only read access to the ispconfig database.

    2) I dont know how jommla stores its passwords. If joomla is able to authenticate agianst md5 hashes, it might be able to use the ispconfig passwords.

    3) There will be a remoting framework for ISPConfig 3 avilable later, but it will most likely not be compatible with ISPConfig 2.
  3. pjdevries

    pjdevries Member

    Thanks for your reply.

    1. Compatibility with an ISPConfig 3.x framework would have been a good reason to use the Remoting Framework anyway. Now I'll keep it simple and access the database directly. Thanks for the tip to create a read only user for the ISPConfig database by the way.
    2. There are various examples of alternative Joomla! authentication methodes. Perhaps I can use one of those to serve as a template for creating an authentication extension that uses the ISPConfig login credentials.

    One last question: is there some sort of database design available?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    1) It is highly recommended to use the remoting framework, otherwise your plugin can become incompatible if the ispconfig database table change.

  5. pjdevries

    pjdevries Member

    I thought as much, but your initial response, 'If yo want to read only things, then you can do it right from the database', made me decide otherwise. I'll have a look at it and seriously consider using the framework after all :)

    Thanks again.

Share This Page