Add Plugin to Roundcube?
Hello,
How can I update the DB of roundcube ? Indeed I can add plugin, modify template but some plugin need to modify the DB... I don't see some info about that ? It's possible ? Especially since it is an open source software. So if anyone has a solution, I'm interested. I specify that this is the plugin automatic_adressook.
-
Hi @Geoffroy Le gohebel I believe the documentation here will be helpful: As well as the following threads: 0 -
Yes, of course the documentation. But there is nothing about modifying the database with sqlite. I can modify it by opening the .db file of a user and modifying it but we can not do it globally? 0 -
Hi @Geoffroy Le gohebel The SQLite format for Roundcube that we use is per user so it wouldn't be something you'd be able to manage globally. You might try looking at similar projects that were/have been done: sblaisot/automatic_addressbook - Roundcube Webmail Plugin Repository Roundcube Webmail Plugin Repository Thanks! 0 -
Yes indeed I had understood this I mis explained. Is it possible to apply a patch (added automatic_adressebook tables precisely) to all users (user.db in / home / xxx / etc /) or I have to take all the files by hand 0 -
Hello @Geoffroy Le gohebel, You could develop a custom bash script with a command that patches the SQLite file, and then have the script loop that command for every cPanel user. You may want to reach out to a developer or system administrator if you need help with this. We provide a list of sysadmin service providers at: System Administration Services | cPanel Forums Thank you. 0 -
Yes of course but where is located the defaut SQLite file who is responsible for the reconstruction of the databases If who is responsible for the reconstruction of the databases 0 -
Yes of course but where is located the defaut SQLite file who is responsible for the reconstruction of the databases If who is responsible for the reconstruction of the databases
Hi @Geoffroy Le gohebel, You can read about how the Roundcube SQLite databases are generated at: How to Rebuild the Roundcube Database - cPanel Knowledge Base - cPanel Documentation The easier approach is likely to build and manage your own custom Roundcube installation with the plugins and configuration options of your preference as a custom custom webmail application: Tutorial - Integrate Custom Webmail Applications - Developer Documentation - cPanel Documentation This would require you to maintain updates to Roundcube yourself, but would give you more flexibility in the plugins and default configuration. Other avenue to explore is to create a0
Please sign in to leave a comment.
Comments
7 comments