ejabberd - Comments for "mod_webpresence - Presence on the Web" https://www.ejabberd.im/mod_webpresence en > I've set status to https://www.ejabberd.im/mod_webpresence#comment-54703 <p>&gt; I've set status to "invisible". How can it be set to display "offline" instead?</p> <p>Not possible. When you refer to become invisible, your client may be using one of those protocols:</p> <ul> <li>XEP-0018 is a rejected protocol </li><li>XEP-0126 uses privacy lists to hide presence, so mod_webpresence doesn't support it </li><li>XEP-0186 is experimental, not supported in ejabberd or mod_webpresence. </li></ul> Tue, 29 Sep 2009 18:50:49 +0000 mfoss comment 54703 at https://www.ejabberd.im Invisible? https://www.ejabberd.im/mod_webpresence#comment-54694 <p>I've set status to "invisible" and mod_webpresence displays me as "online". How can it be set to display "offline" instead?</p> Mon, 28 Sep 2009 15:58:08 +0000 dp_wiz comment 54694 at https://www.ejabberd.im Usable with Apache https://www.ejabberd.im/mod_webpresence#comment-54476 <p>Some phpbb forums don't want to shop [img]http://domain.su:5280/presence/jid/xxx/xxx.su/image/mypresence.png[/img], while they show [img]http://xxx.su/mypresence.png[/img].<br /> So I putted "cd ~www; wget 'http://domain.su:5280/presence/jid/xxx/xxx.su/image/mypresence.png'" into cron and use apache's hosted image on forums.<br /> Any other ways?</p> Tue, 21 Jul 2009 07:54:56 +0000 Obey-Kun comment 54476 at https://www.ejabberd.im direct link https://www.ejabberd.im/mod_webpresence#comment-54199 <p>... here's the direct link:</p> <p><noindex><a href="http://plugins.jquery.com/files/jquery.jabberpresence.js.txt" title="http://plugins.jquery.com/files/jquery.jabberpresence.js.txt" rel="nofollow" >http://plugins.jquery.com/files/jquery.jabberpresence.js.txt</a></noindex></p> Thu, 30 Apr 2009 14:25:28 +0000 mahlon comment 54199 at https://www.ejabberd.im mod_webpresence jQuery plugin https://www.ejabberd.im/mod_webpresence#comment-54198 <p>I've worked up a simple jQuery plugin that can display and dynamically update a webpresence badge using mod_webpresence. It is capable of parsing the XML endpoint, knows about jid/rid stuff, avatars, and image themes. It also provides a hook for doing arbitrary stuff on status changes, if you want something fancier to happen than the default. Full documentation is provided in the script.</p> <p><noindex><a href="http://plugins.jquery.com/project/ejabberd_presence" title="http://plugins.jquery.com/project/ejabberd_presence" rel="nofollow" >http://plugins.jquery.com/project/ejabberd_presence</a></noindex></p> Thu, 30 Apr 2009 14:17:48 +0000 mahlon comment 54198 at https://www.ejabberd.im Check documentation about ejabberd's Access rules https://www.ejabberd.im/mod_webpresence#comment-54151 <p>You messed how ejabberd's Access rules work. See the ejabberd Guide and ejabberd.cfg for examples.</p> <p>In your case, it seems what you want to put is:</p> <pre> {access, webpresence_auto, [{allow, local}]}. {modules, [ {mod_webpresence,[ {access, webpresence_auto} ]}, ... ]}. </pre> Thu, 09 Apr 2009 19:17:33 +0000 mfoss comment 54151 at https://www.ejabberd.im ejabberd-2.0.3 no success using branches/ejabberd-2.0.x https://www.ejabberd.im/mod_webpresence#comment-54143 <p>I've been trying to get mod_webpresence working under ejabberd-2.0.3, with no success.</p> <p>I do see mnesia tables, but the module doesn't show up in the admin interface, and accessing a presence URL never returns any data, the listener always returns a Not Found result.</p> <p>It's possible I didn't quite get the configuration file changes into ejabberd.cfg correctly, but I don't receive any errors from ejabberd when I restart</p> <p>The modules statement is: </p> <div class="codeblock"><code>&lt;pre&gt;{mod_webpresence,[<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {access, webpresence_auto, [{allow, local}]}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]},&lt;/pre&gt;</code></div> Mon, 06 Apr 2009 18:49:16 +0000 Kevin comment 54143 at https://www.ejabberd.im Explanation of mod_webpresence in multiple vhosts https://www.ejabberd.im/mod_webpresence#comment-53975 <div class="quote-msg"> <div class="quote-author"><em>Roi</em> wrote:</div> <p>I don't see a proper webpresence service when pointing to on of our virtual host domains like jabber.hot-chilli.eu with my jabber.hot-chilli.net user,</p></div> <p>What you describe is not a bug or misconfiguration, it is done on purpose.</p> <p>mod_webpresence provides two things:</p> <ol> <li>A Jabber service where users of the local vhost can register. Nobody else than local users are interested in that service, as the service only works correctly for local users. </li><li>A web page where everybody can see the presence of local users that have previously registered in the corresponding Jabber service. </li></ol> <p>mod_webpresence is heavily tied inside ejabberd, so this module is restricted to provide service only to users of the vhost where it runs.</p> <p>With this setup, mod_webpresence will run for "localhost", and will run for "example.com":</p> <pre> {hosts, ["localhost", "example.com"]}. {modules, [ {mod_webpresence, []}, ... ]}. </pre><p> The result is that:</p> <ul> <li> The instance of mod_webpresence that runs for "localhost" is available to users of localhost in the JID webpresence.localhost.<br /> Anybody can access the page <noindex><a href="http://localhost:5280/presence/" title="http://localhost:5280/presence/" rel="nofollow" >http://localhost:5280/presence/</a></noindex> </li><li> The instance of mod_webpresence that runs for "example.com" is available to users of example.com in the JID webpresence.example.com<br /> Anybody can access the page <noindex><a href="http://example.com:5280/presence/" title="http://example.com:5280/presence/" rel="nofollow" >http://example.com:5280/presence/</a></noindex> </li></ul> Sun, 01 Feb 2009 14:14:30 +0000 mfoss comment 53975 at https://www.ejabberd.im Problem grabbing information from mod_webpresence service https://www.ejabberd.im/mod_webpresence#comment-53974 <p>Hello,</p> <p>another thing I noticed:</p> <p>webpresence.jabber.hot-chilli.net (jabber.hot-chilli.net is the server I'm maintaining) is shown grey in this list: <noindex><a href="http://www.jabberes.org/servers/" title="http://www.jabberes.org/servers/" rel="nofollow" >http://www.jabberes.org/servers/</a></noindex></p> <p>I had a little chat with the maintainer of that list. He told me that it is grey because the bot cannot grab information from the service. It gets a 403 error.</p> <p>Is this because the default access rule, which I'm running, is "local" and external users cannot use (and maybe not even access for some information) this service?</p> <p>He suggests that you open the service for information but disable registration from external users.</p> <p>Is this maybe also the problem why I don't see a proper webpresence service when pointing to on of our virtual host domains like jabber.hot-chilli.eu with my jabber.hot-chilli.net user, as described here? <a href="http://www.ejabberd.im/mod_webpresence#comment-53973" title="http://www.ejabberd.im/mod_webpresence#comment-53973">http://www.ejabberd.im/mod_webpresence#comment-53973</a></p> <p>Regards,<br /> Martin</p> <p>access:<br /> Specify who can register in the webpresence service.<br /> Don't bother to specify 'all' because this module can only show presence of<br /> local users.<br /> Default value: local</p> Thu, 29 Jan 2009 17:20:57 +0000 Roi comment 53974 at https://www.ejabberd.im mod_webpresence issue with virtual hosts https://www.ejabberd.im/mod_webpresence#comment-53973 <p>Hello,</p> <p>I set up the latest mod_webpresence for ejabberd 2.0.x from SVN for my ejabberd 2.0.3 server (I run a Debian system and no 2.1.x packages are available for Debian at the moment).</p> <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>Support for virtual hosts and clustering.</p></div> <p>Everything seems to work ok on the primary jabber domain but secondary virtual hosts have a problem with mod_webpresence. First of all the icon shown in Miranda isn't the icon usually show for this service and also the service is shown as faulty.</p> <p>I did not set the hostname for the service, so the hostname for every domain is webpresence.jabberdomain.tld, which I don't really like because all services just have one hostname (taken from the primary domain name) on my server. When I set the domain name to a fixed value the service seems not to run anyhow.</p> <p>Does somebody have an idea what the problem might be? Maybe the same like here: <a href="http://www.ejabberd.im/node/3074#comment-53967" title="http://www.ejabberd.im/node/3074#comment-53967">http://www.ejabberd.im/node/3074#comment-53967</a></p> <p>Regards,<br /> Martin</p> Thu, 29 Jan 2009 13:32:18 +0000 Roi comment 53973 at https://www.ejabberd.im Thank https://www.ejabberd.im/mod_webpresence#comment-53702 <p>Thank you very much badlop, you are right</p> Wed, 29 Oct 2008 17:55:15 +0000 ppcharli comment 53702 at https://www.ejabberd.im For ejabberd 2.0.x get mod_webpresence/branches/ejabberd-2.0.x https://www.ejabberd.im/mod_webpresence#comment-53700 <div class="quote-msg"> <div class="quote-author"><em>ppcharli</em> wrote:</div> <p>I am testing mod_webpresence with ejabberd 2.0.2 in Centos 5.2 x86_64 and does not working. In the "Web presence" admin page I get "not found".</p></div> <p>Until now you downloaded mod_webpresence/trunk, right? Since October 2008, that version requires ejabberd trunk SVN (which will become ejabberd 2.1 when released).</p> <p>If you want to use mod_webpresence with any version ejabberd 2.0.x, please get mod_webpresence/branches/ejabberd-2.0.x. I tried this with ejabberd 2.0.2 and the WebAdmin page works correctly.</p> Wed, 29 Oct 2008 16:09:51 +0000 mfoss comment 53700 at https://www.ejabberd.im mod_webpresence and ejabberd 2.0.2 https://www.ejabberd.im/mod_webpresence#comment-53697 <p>I am testing mod_webpresence with ejabberd 2.0.2 in Centos 5.2 x86_64 and does not working. In the "Web presence" admin page I get "not found".</p> <p>In ejabberd.log:</p> <p>=ERROR REPORT==== 2008-10-29 13:45:29 ===<br /> E(&lt;0.755.0&gt;:ejabberd_hooks:205) : {aborted,<br /> {no_exists,<br /> [webpresence,<br /> [{{webpresence,<br /> {'$1',"domain.com"},<br /> '$2','$3','$4','$5','$6','$7','$8'},<br /> [],<br /> ['$$']}]]}}</p> <p>With ejabberd 2.0.1 it works OK.</p> <p>Does anyone have tried and it works?</p> <p>Thanks</p> Wed, 29 Oct 2008 12:49:20 +0000 ppcharli comment 53697 at https://www.ejabberd.im Thanks but... https://www.ejabberd.im/mod_webpresence#comment-53597 <p>Because it could cause confusion and given that clients are bound to complain, I revised the changes you committed to the SVN to run a case .. of to check for undefined. If true it returns a -1 and false returns the priority. -1 is a valid value but generally the jabber client connecting is one of our own design, which users preset priority values (making it easier to filter for).<br /> Thanks for the clarification though.</p> Fri, 26 Sep 2008 10:55:09 +0000 tlaramie comment 53597 at https://www.ejabberd.im Bug in mod_webpresence, try new SVN https://www.ejabberd.im/mod_webpresence#comment-53543 <div class="quote-msg"> <div class="quote-author"><em>tlaramie</em> wrote:</div> <p>If a priority for a resource is undefined ... The module will error out and return a 'Not Found'.<br /> I suppose if every resource requires a priority by definition then it's not the fault of the module but some exception handling would be nice.</p></div> <p>I think ejabberd is correct, and the problem is in mod_webpresence, that must handle an undefined priority:</p> <div class="quote-msg"> <div class="quote-author"><em>RFC3921bis-06</em> wrote:</div> <p>After completing the preconditions described in [XMPP‑CORE] and requesting the roster (RECOMMENDED), a client signals its availability for communication by sending INITIAL PRESENCE to its server...<br /> The initial presence stanza MAY contain the &lt;priority/&gt; element... </p></div> <p>So, the priority is only set when sending initial presence. Some Jabber clients may not send initial presence at all, for example bots.</p> <p>I've updated mod_webpresence in SVN: only sessions that have presence (and priority) set will be returned. I didn't test the change.</p> Wed, 10 Sep 2008 11:41:32 +0000 mfoss comment 53543 at https://www.ejabberd.im