<div dir="ltr"><div><div><div>Hi!<br><br></div>I've been trying for a while to get Roundcube-converse-js-xmpp-plugin [1] to work with my kolab setup. <br><br></div>Since it is not a very recently updated plugin there are some kinks to say the least. I've followed some [2] instructions [3] to no avail.<br><br></div>I run Ubuntu 14.04 and kolab version 3.1.9-3 from the kolab repos. When the 'converse' plugin is enabled I cannot click on anything in Kolab, not even the Logout-button. The script generated from the plugin looks like this:<br><br><div id="conversejs"></div><br><script type="text/javascript"><br><br><br>    define("jquery", [], function() { return jQuery; });<br>    require.config({ baseUrl: "plugins/converse/devel/converse.js" });<br>    require(["converse"], function (converse) {<br>        var args = {"prebind":false,"expose_rid_and_sid":true,"bosh_service_url":"\/http-bind","debug":true};<br>        args.i18n = locales["en"];<br>        rcmail_converse_init(converse, args);<br>    });<br><br>    define("jquery", [], function() { return jQuery; });<br>    require.config({ baseUrl: "plugins/converse/devel/converse.js" });<br>    require(["converse"], function (converse) {<br>        var args = {"prebind":false,"expose_rid_and_sid":true,"bosh_service_url":"\/http-bind","debug":true};<br>        args.i18n = locales["en"];<br>        rcmail_converse_init(converse, args);<br>    });<br>$(document).ready(function(){ <br>rcmail.init();<br>$("input.colors").miniColors({colorValues: rcmail.env.mscolors})<br>rcmail.set_quota({"used":0,"total":1048576,"percent":0,"free":100,"type":"text","folder":"INBOX","title":"0 B \/ 1,0 GB (0%)"});<br>});<br></script><br><div><div><br></div><div>And it fails on the first line 'define("jquery ...' with 'ReferenceError: define is not defined' and since I don't speak JavaScript I'm unsure what to do.<br><br></div><div>I've downloaded the latest version of converse.js [4] and configured it to my liking and that works from the same server.<br></div><div><br></div><div>Any ideas on what might be wrong? I know that it was designed for an older version of Kolab, but perhaps someone has positive experiences with the converse.js-plugin. I'm in a bit of a rush also. I need to demo this for our municipality by next friday, or the choice might be Office365... :/ <br><br></div><div>Kindest regards,<br></div><div>Mathias<br></div><div><br>[1] <a href="https://github.com/priyadi/roundcube-converse.js-xmpp-plugin">https://github.com/priyadi/roundcube-converse.js-xmpp-plugin</a><br>[2] <a href="https://kolab.org/blog/andreas-cordes/2014/04/12/xmpp-now-integrated-kolab-and-working">https://kolab.org/blog/andreas-cordes/2014/04/12/xmpp-now-integrated-kolab-and-working</a><br>[3] <a href="http://permalink.gmane.org/gmane.comp.kde.kolab.devel/12092">http://permalink.gmane.org/gmane.comp.kde.kolab.devel/12092</a><br>[4] <a href="https://github.com/jcbrand/converse.js">https://github.com/jcbrand/converse.js</a><br></div></div></div>