I have written a script that automaticall takes a csv file and builds the xml for the user import that is working great
But now I have tried to write one to automatically make the new users members of a MUC. My script put the users into mucmembers in the database but they dont show up in the list on the user permissions page of the admin.
Openfire caches that information in memory, that’'s why you have to restart the server for the changes to take effect. I guess you have to use an XMPP library instead of directly writing to the database.
Excellent suggestion, any Idea how to get started on that, Ive been looking at the schemas on xmpp.org but I really have no idea how to actually send an xmpp command to the server.
Is there maybe a way to do it with the http service plugin?
Jason
I just read the read me for the user service plugin and it dosnt apear so? BTW anyone know where I can get source code for plugins?
Excellent suggestion, any Idea how to get started on that, Ive been looking at the schemas on xmpp.org but I really have no idea how to actually send an xmpp command to the server.
Is there maybe a way to do it with the http service plugin?
or maybe smack library is suitable for that
I just read the read me for the user service plugin and it dosnt apear so? BTW anyone know where I can get source code for plugins?
I’'ll get to reading the smack docs, but I was kinda hoping to find a way to do it in php cause thats what I know better and thats what I already wrote the other parts in. Oh well.
I’'ll keep you updated.
Jason
jigar if you read this, what do you think about another plugin?