ejabberd - Comments for "how to make groups and let new user to choose among them ?" https://www.ejabberd.im/node/3200 en thx , any chance to have a trick to refresh contact list ? https://www.ejabberd.im/node/3200#comment-53701 <p>thank you badlop!</p> <p>any chance to have a trick to refresh user's contact list when a new shared group user register ?</p> <p>Actually when a new user register, he see nobody and nobody see him until he disconnect / reconnect and other users do the same.</p> <p>I though about disco / reco everybody when new user register but I found it a bit ugly :/</p> <p>I know you have a lot of job but maybe you have an idea on how to do a little trick while waiting for a patch.</p> <p>Thx anyway for your time.</p> <p>kollo</p> Wed, 29 Oct 2008 17:34:41 +0000 kollo comment 53701 at https://www.ejabberd.im Check in Web Admin personal rosters: maybe Gajim adds contacts https://www.ejabberd.im/node/3200#comment-53659 <p>In Gajim 0.11.4, if you delete a group of the roster but you don't delete also the contacts inside it, Gajim will add the contacts to your personal roster!</p> <p>You can see that in the Web Admin -&gt; vhosts -&gt; your host -&gt; Users -&gt; your user -&gt; Roster. When you delete the 'virtual' group using Gajim, its members are added to the personal roster.</p> Thu, 16 Oct 2008 18:07:57 +0000 mfoss comment 53659 at https://www.ejabberd.im thx! another thing ebout deleted SRG https://www.ejabberd.im/node/3200#comment-53641 <p>hi badlop!</p> <p>Seems you're arround ;)</p> <p>thx for your answer, anyway I don't think I'm good enough in programming as you to make such mod without bugs ;)</p> <p>Another thing about SRG:<br /> As I saw on other posts, SRG are virtual groups that users should not be able to modify. I just deleted few SRG from my client (Gajim) and now SRG doesn't appear anymore on my client, even when disconnect / reconnect.<br /> It seems the roster (mod_roster ?) indicate my client that these groups no more exist ?!<br /> anyway contacts in deleted groups are now in General (default) group.</p> <p>Is there a bug or is there anything to forbidden SRG deletion from client ?<br /> I surelly missed some option :)</p> <p>Best Regards,<br /> Oliver</p> <p>PS: Anyway if I found a way to developp the "push group change" without bug I'll let you know.</p> <p>Edited: (to reproduce the phenomen without deleting group)</p> <p>shared_roster on</p> <p>SRG A<br /> &nbsp;-Doug<br /> SRG B<br /> &nbsp;-Bill</p> <p>If I move Bill to SRG A, SRG B diseapper from client (because it is empty)<br /> If I add (from ejabberd webadmin) an another user (John) to SRG B and deco/reco client, SRG B is still not showed. Same if I use the webadmin to bring back Bill to SRG B</p> Wed, 08 Oct 2008 13:50:13 +0000 kollo comment 53641 at https://www.ejabberd.im Feature request: push group changes to members https://www.ejabberd.im/node/3200#comment-53639 <p>That is not possible right now in ejabberd. So I've added a feature request: <noindex><a href="https://support.process-one.net/browse/EJAB-767" rel="nofollow" >When a member is added/removed to group, send roster upgrade to group members</a></noindex>.</p> <p>If you have some spare time, you could implement it :D</p> Wed, 08 Oct 2008 12:01:27 +0000 mfoss comment 53639 at https://www.ejabberd.im Works fine but about refreshing roster on client ? https://www.ejabberd.im/node/3200#comment-53631 <p>hi badlop,</p> <p>I did the script and it works fine now, using ejabberdctl etc..<br /> anyway the roster on the client is not updated until I disconnect / reconnect to the server.</p> <p>Does ejabberd send something to the client when I change user's group with ejabberdctl ?</p> <p>Any idea how to let the clients know that user have changed his group?</p> <p>Regards,</p> Tue, 07 Oct 2008 16:53:00 +0000 kollo comment 53631 at https://www.ejabberd.im mmm Should be enough :) https://www.ejabberd.im/node/3200#comment-53552 <p>hello badlop,</p> <p>thx for your fast anwser, I already have mod_shared_roster enabled, I played a while with it but found by myself it is not enough.</p> <p>I will digg into your idea. It seems easy to setup and not so much uncomfortable ;)<br /> thx again for your help!</p> <p>regards,</p> <p>oliver</p> Mon, 15 Sep 2008 08:21:44 +0000 kollo comment 53552 at https://www.ejabberd.im Not possible; one idea https://www.ejabberd.im/node/3200#comment-53549 <p>If you enable mod_shared_roster, you can create groups and manually add members to them using the ejabberd Web Admin. It would be nice, but there is no way to allow a user to add himself to a group.</p> <p>One idea: install mod_ctlextra from ejabberd-modules SVN. It provides several commands that you can execute in the system shell. Among those commands there are:</p> <ul> <li>srg-user-add user server group host ---&gt; add user@server to group on host </li><li>srg-user-del user server group host ---&gt; delete user@server from group on host </li><li>srg-list-groups host ---&gt; list the shared roster groups from host </li></ul> <p>Then you write a small web page (in PHP or whatever you prefer) that shows the available groups, the user introduces his JID and selects the group he wants to join. Then your page makes a shell call to add that user to the group.</p> Fri, 12 Sep 2008 23:36:38 +0000 mfoss comment 53549 at https://www.ejabberd.im