ejabberd - Comments for " mod_offline_odbc for MSSQL"
https://www.ejabberd.im/node/409
enUnable to get offline status of user as the user logs out
https://www.ejabberd.im/node/409#comment-57398
<p>Hi,<br />
I successfully ran the provided SQL Script on my MSSQL Server 2008 and prepared a one to one chat module.<br />
As the user logs in i am getting RosterUser data properly and online status also properly if anyone is logged in.<br />
But when someone logs out I am unable to get the "unavailable" status fired so that i can make the appropriate user in my roster inactive.</p>
<p>The version of ejabbered i have installed is 2.1.6.</p>
<p>Thanks<br />
Rafay.</p>
Fri, 27 May 2011 11:26:29 +0000rafaycomment 57398 at https://www.ejabberd.imCheck the section about
https://www.ejabberd.im/node/409#comment-2843
<p>Check the section about <noindex><a href="http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html#mssql" rel="nofollow" >Microsoft SQL Server in the guide</a></noindex>.</p>
<p>--<br />
sander</p>
Thu, 11 Jan 2007 16:22:23 +0000sandercomment 2843 at https://www.ejabberd.imIntegarted MSSQL with ejabberd
https://www.ejabberd.im/node/409#comment-2829
<p>Hello<br />
i got success in integrating SQL Server and ejabberd and jwchat. And chat is working properly<br />
But i m not getting the offline messege </p>
<p>Also the Group Chat is not working. When i invite people to join it gives Error Popup This pop Up also comes when i type something in the groupchat window and sent it</p>
<p>Can anybody help me out<br />
Waiting for the reply</p>
<p>Thanks ,<br />
Praj</p>
Tue, 09 Jan 2007 09:08:09 +0000prajcomment 2829 at https://www.ejabberd.imSQL Server integration with ejabbered 1.1.2
https://www.ejabberd.im/node/409#comment-2826
<p>I want to integrate the ejabbered 1.1.2 with SQL Server 2005<br />
Can you give me guides for this<br />
waiting for your reply .</p>
<p>Thanks In advance<br />
Praj</p>
<div class="quote-msg">
<div class="quote-author"><em>tiaan</em> wrote:</div>
<p>Thank you.</p>
<p>I've managed to get all the ODBC modules to work with MSSQL. We are currently testing. Please shout if anyone want the MSSQL version.</p>
<p>I've noticed that most of the sql in these modules first delete and then insert. Is there a reason for this, why not a update statement ?</p>
<p>Tiaan</p></div>
Mon, 08 Jan 2007 12:29:27 +0000prajcomment 2826 at https://www.ejabberd.imRe
https://www.ejabberd.im/node/409#comment-2824
<p>i want to integrate ejabbered with MSSQL .<br />
For this i read link "http://www.ejabberd.im/mssql" In this one script file is not available "http://www.ejabberd.im/files/contributions/mssql.sql" .<br />
I want to use this for jwchat for making chat application with ejabbered and MSSQL Server<br />
Also can i do this with my user table instead of creating new one </p>
<p>Thanks in Advanced<br />
Praj</p>
<div class="quote-msg">
<div class="quote-author"><em>sander</em> wrote:</div>
<p>Do you know about the <noindex><a href="/mssql" title="Use MSSQL instead of Mnesia" rel="nofollow" >contributed MSSQL patch</a></noindex>?</p>
<p>--<br />
sander</p></div>
Mon, 08 Jan 2007 07:51:38 +0000prajcomment 2824 at https://www.ejabberd.imDo you know about the
https://www.ejabberd.im/node/409#comment-1506
<p>Do you know about the <noindex><a href="/mssql" title="Use MSSQL instead of Mnesia" rel="nofollow" >contributed MSSQL patch</a></noindex>?</p>
<p>--<br />
sander</p>
Wed, 29 Mar 2006 16:28:39 +0000sandercomment 1506 at https://www.ejabberd.imI also stuck with MSSQL
https://www.ejabberd.im/node/409#comment-1504
<p>I have installed ejabberd on windows 2000 box. I wanted to get it to work with MSSQL. But no luck ... I tried compiling it from sources and followed all the instruction on but all i get are errors... can somebody help me setup ejabberd with MSSQL.<br />
Thanks and regards,<br />
Adarsh</p>
Wed, 29 Mar 2006 15:06:21 +0000adarshcomment 1504 at https://www.ejabberd.imWould appreciate MSSQL info
https://www.ejabberd.im/node/409#comment-1300
<p>I have ejabberd running on Windows 2003 server but would like to change the authentication method to MSSQL. Maybe down the road look to store data in MSSQL as well.</p>
<p>Can anyone provide steps to accomplish this or point me in the right direction? I have been trying unsuccessfully to get it to work.</p>
<p>Thanks for any help... </p>
<p>Mike</p>
Thu, 26 Jan 2006 19:21:55 +0000mcannoncomment 1300 at https://www.ejabberd.imBug fixed
https://www.ejabberd.im/node/409#comment-919
<p>There was an bug in this module, the fixed version is on SVN.</p>
Fri, 14 Oct 2005 20:42:49 +0000tiaancomment 919 at https://www.ejabberd.imSame for Postgres database
https://www.ejabberd.im/node/409#comment-902
<p>It seems like the same situation occurs with a Postgres database. I've posted a question in the configuration section.</p>
Tue, 11 Oct 2005 18:11:19 +0000tiaan@ejabberd.jabber.rucomment 902 at https://www.ejabberd.imTalked to early
https://www.ejabberd.im/node/409#comment-889
<p>I talked to early, it's not working correctly.</p>
<p>The presence does not automatically get send when a user logs on, but if I do a "send presence" in the client, the presence packet does get sent, and the client show the user as online.</p>
<p>I've started debugging, but I'm stuck at the moment. The following functions get called, when a user logs on. But the "in_subscription" "out_subscription" never gets called, am I correct in thinking they must get called ? From where do they get called ?</p>
<p> - New Online -<br />
get_subscription_lists<br />
fill_subscription_lists<br />
process_iq<br />
process_local_iq<br />
process_iq_get<br />
raw_to_record<br />
item_to_xml</p>
<p>Any help would be appreciated.</p>
<p>Thanks<br />
Tiaan</p>
Fri, 07 Oct 2005 15:08:02 +0000tiaancomment 889 at https://www.ejabberd.imODBC Modules for MSSQL
https://www.ejabberd.im/node/409#comment-871
<p>Thank you.</p>
<p>I've managed to get all the ODBC modules to work with MSSQL. We are currently testing. Please shout if anyone want the MSSQL version.</p>
<p>I've noticed that most of the sql in these modules first delete and then insert. Is there a reason for this, why not a update statement ?</p>
<p>Tiaan</p>
Thu, 29 Sep 2005 20:07:15 +0000tiaancomment 871 at https://www.ejabberd.imIt is the "anonymous or
https://www.ejabberd.im/node/409#comment-861
<p>It is the "anonymous or don't care variable". From page 25 at the bottom of <noindex><a href="http://erlang.org/download/erlang-book-part1.pdf" rel="nofollow" >Concurrent Programming in Erlang, Part I</a></noindex>.</p>
<p>--<br />
sander</p>
Wed, 28 Sep 2005 18:29:49 +0000sandercomment 861 at https://www.ejabberd.imMSSQL driver returns number of records affected
https://www.ejabberd.im/node/409#comment-857
<p>No, I did however found the issue, I think.</p>
<p>The code works because the Postgres driver does not return the count of records deleted. Therefore "{updated, undefined}" returns true, but the MSSQL driver does return the number of records deleted. The return value of MSSQL is {updated, } ,</p>
<p>See changes I made to the case statement below, is this correct ?<br />
What does the "_" in "{updated, _}" do / mean ? </p>
<p>-- Current Code --</p>
<pre>case ejabberd_odbc:sql_query(
LServer,
["begin;"
"select * from spool where username='", EUser, "';"
"delete from spool where username='", EUser, "';"
"commit"]) of
[{updated, undefined},
{selected, ["username","xml"], Rs},
{updated, _},
{updated, undefined}] -></pre><p>
-- Changed Code --</p>
<pre>[{selected, ["username","xml"], Rs},
{updated, _}] -></pre><p>
Thanks<br />
Tiaan</p>
Wed, 28 Sep 2005 15:32:07 +0000tiaancomment 857 at https://www.ejabberd.imDoes any error appear on the log?
https://www.ejabberd.im/node/409#comment-855
<p>Does any error, or warning, or any strange message appear on the ejabberd logfile when a user with offline messages logins?</p>
Wed, 28 Sep 2005 14:31:07 +0000mfosscomment 855 at https://www.ejabberd.im