Ejabbered Roster Issue

Hi

when a user should register, he should be automatically added to roster i.e. all the users should be in the roster of each other. How can i do that. I am using Mysql. I tried to add entries directly in the roster users and rostergroups table. it did not work. Please suggest a way i can do this. Please suggest any module if that is there.

Thanks

mod_shared_roster; you will

mod_shared_roster; you will need @all@ syntax

i have done that and added

i have done that and added one user using webadmin panel. Then how can i add that user to this shared group so that when anyone can login and can see this?

You need to create a shared

You need to create a shared roster group, say, "AllUsers". You need to defile its members as @all@. You need to set its displayed groups to include group "AllUsers".
See these screenshots

Thanks. I created a shared

Thanks. I created a shared roster group "everybody" and eneterd the @all@ in members. When i tried to login from ....@sjdfhj.com from pidgin, it is not showing those shared group "everybody".

I am using the mysql db. Can't we add it directly to db and fetch the records from there?

How many users do you have in

How many users do you have in your ejabberd? The user isn't shown in his own roster, so if you have only one user, his roster will be empty.
And check if your client shows offline users.

I have more than 11 users in

I have more than 11 users in the ejabbered. I have created two shared groups i.e
Bots
Everybody

In bots i have given the following in member
balley@ejabberd.n...
and in displayed groups as "Everybody"

In "Everybody" i have given the following
In members i have given three separate users
In displayed groups "Bots" is given.

Please suggest when any user from ejabbered logins, would be able to see the shared rosters i.e. everybody and bots

When balley logs in, he must

When balley logs in, he must see those three users. When any of those users logs in, they must see balley.

I tried to login using this

I tried to login using this but the list is still empty. Would it show only online users or offline users will also come? I am using pidgin

ejabberd will send all,

ejabberd will send all, online and offline.
You need to check your client if it shows offline contacts.
Also, it would help if you check the XML data that comes to your client (if it has something like XML console). If your client cannot show it, you may want to install one that can, eg miranda im.

Thanks. It worked for me.

Thanks. It worked for me.

Syndicate content