Ilon Dalon - 2004-08-30

Logged In: YES
user_id=912261

>Two weeks ago I found IRSIM and interested me.
>I downloaded the zip file, transfered it to my linux
>test server

Since the IRSIM is broswer based, running it on
a browser that uses Linux is not a problem.

>(the same where jabberd and mysql are
>installed) and unpacked it to /var/www/default/httpd/irsim.

It is NOT necessary to have MySQL or a Jabber server
running on the same system that the IRSIM is
being used. There should not be a problem using
the IRSIM in such an environment because it does
not care where those servers are located.

>Then I saw the readme file. The pre-requisites were OK
>(...use a standard MySQL Database ... any server with PHP
>support installed, and Mysql database support).

Yes, those are the needed, but not necessarily on the
same machine that the IRSIM is being used on.

>Next I saw the install file. The step 1 was already done
>(/var/www/default/httpd/irsim).

The IRSIM can be installed in any directory within
the http server reach. It does not have to be in the httpd/
directory.

>Then I created the two tables on my MySql like explaned on
>step 2. Then I changed the "programs.inc.php" and
>"site.inc.php" files to reflect my instalation.

>The first problem occured when I run index.php. The erros
>was it can't find the database. I changed the "hostName"
>variable from the DNS of my server to "localdomain". This
>resolved the problem, I dont know why, but it resolved.

When your MySQL database server resides on the same
machine that is used to run the IRSIM, typically you have
to use localhost or 127.0.0.1 to connect to that local
database.
Many times, even when you use an ISP as a host, that
ISP requests that you use localhost" to connect to the
database (that is how the ISP set it up) but many ISP
have their MySQL databases on a different server and
use those servers domain names.

>The next problem came with mhash. This isnt installed
>on my PHP. The quick solution was to simplify the functions
>encriptInp in register.php and validateEncription in
>login.php.

Yes. That is the quick solution. Another solution, which takes
a compilation (or a PHP package already compiled with the
mhash library), is to compile the PHP server along with the
'--enable-mhash' switch.

>This was only to be able to create a new irsim user and to
>see the IM.php page. Wonderfull. Now I have a new irsim
user >exactly the same that Im using with exodus.

So far, all of the steps you took were correct.

>Now my question is: what I have to do now? I couldnt send
>nor receive messages with irsim.

Now that the IRSIM is installed, you need to add buddies
to the buddy list. Since the buddy list ADD button has
not been developed yet, you have to use the "register"
button to add buddies to the contact list (if you need
to modify these name later, you have to use a database
program to enter the database and change the fields
by hand.)
Use the same method (described below) to first register
your own LOCAL name and password so that you can
login into the IRSIM via the login page later.

To register a buddy (or a local account for yourself) bring
up the IRSIM LOGIN page and press the button "New users
click HERE".
In the IRSIM Registration page enter the buddy's Username
and create some fake Password (not needed, but the
database wants something for that field.) The Nicname field
is optional.

To create buddy usernames use the following as examples:
Local username: JoeSlack
Jabber username: nickName@JabberServerName.ext
Yahoo user: nickname%yahoo.com@yahoo.JabberServerName.ext
MSN user: nickname%xyz.com@msn.JabberServerName.ext
ICQ: 7673315@icq.jabber.zim.net.au
MSN: goop%companyB.com@msn.jabber.zim.net.au
Jabber: remy@tipic.com/Exodus
Where: "JabberServerName" is the domain name of the Jabber
server that you are using.

Of course, creating the actual jabber accounts on the Jabber
Server has to be created initially via EXODUS (or some other
jabber client) because the IRSIM does not yet create accounts
on targetted Jabber servers. The Transports (like ICQ, MSN,
Yahoo)
also have to be created via a Jabber client like EXODUS.

>Can you help me? I think the same explanation would be
>interesting for other users. The forum is still to poor.

Yes it is. So far we haven't received many support requests
about the IRSIM. In time there will be more information in
this discussion form.

id