ejabberd - Comments for "Get Online Users from php" https://www.ejabberd.im/node/1407 en on site http://ralphm.net i https://www.ejabberd.im/node/1407#comment-22096 <p>on site <noindex><a href="http://ralphm.net" title="http://ralphm.net" rel="nofollow" >http://ralphm.net</a></noindex> i found exactly what i want.<br /> presence_monitor is a script, that connects to jabber-server like a simple users. And when someone changed status, it updates information in mysql (or any sql) table.<br /> I've added this user to all users roster, using shared_roster module, to get status of all connected users.</p> Sat, 23 Jun 2007 06:56:09 +0000 cyber4len comment 22096 at https://www.ejabberd.im users status on web https://www.ejabberd.im/node/1407#comment-3930 <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>If you can execute a command line program and get the result using PHP, you can install <noindex><a href="/mod_ctlextra" rel="nofollow" >mod_ctlextra</a></noindex> and do command line queries like 'status-list status'.</p> <p>It's also possible to implement that call on <noindex><a href="/mod_xmlrpc" rel="nofollow" >mod_xmlrpc</a></noindex>, so you could make XML-RPC queries to ejabberd and get the response. If you are interested in that addition, tell me.</p></div> <p>i have the same problem and tried mod_ctlextra</p> <p>it works good in command line, but when i put in crontab a script like:<br /> "ejabberdctl ejabberd@node connected-users &gt; some.file"<br /> it doesn't worked (very strange!)<br /> php shell functions i've disabled for security reasons.</p> <p>next module is mod_presence:<br /> everything in this module works good. But i don't like, that user must be registered to it, because i want to know status of all users.<br /> (<br /> sorry of my bad english)</p> Sun, 20 May 2007 06:14:11 +0000 cyber4len comment 3930 at https://www.ejabberd.im If you can execute a command https://www.ejabberd.im/node/1407#comment-3388 <p>If you can execute a command line program and get the result using PHP, you can install <noindex><a href="/mod_ctlextra" rel="nofollow" >mod_ctlextra</a></noindex> and do command line queries like 'status-list status'.</p> <p>It's also possible to implement that call on <noindex><a href="/mod_xmlrpc" rel="nofollow" >mod_xmlrpc</a></noindex>, so you could make XML-RPC queries to ejabberd and get the response. If you are interested in that addition, tell me.</p> Thu, 22 Mar 2007 21:52:08 +0000 mfoss comment 3388 at https://www.ejabberd.im