Fw: [JDEV] using roommaker
Rob Davis
lists at solarismedia.co.uk
Wed Nov 20 08:38:46 CST 2002
Hi David
Thanks for your replies. roommaker is now running and creating rooms as
it should!
A few of questions:
1) In Exodus (Win32) I can only see options to enter a conference, which
creates the room. I can't see any options to determine whether its
persistent, or even the rooms name (only its JID) or other properties.
How do I do this?
2) Is there a way to edit or delete rooms in roommaker, or is that
better to do through Exodus (assuming there is a way to do that - see
above).
3) Is there a way to suppress this message: "this room supports the MUC
protocol." Though it is informative, in this particular case it will
confuse our users!
Thanks,
Rob
-----------------
Hi there,
On Tue, Nov 19, 2002 at 10:07:54PM -0000, Rob Davis wrote:
>
> Also, do persistent rooms created with Exodus by the admin still
persist
> if <dynamic/> is set in jabber.xml?
>
Ok, when you have the dynamic tag set, the persistent option is removed
from the room configuration form (unless you are a sadmin and using the
latest cvs version)
This means that normal users can only make temporary rooms, which
disappear after 5 minutes of being empty. Rooms set persistent by a
sadmin, or rooms made via roommaker, will still be persistent.
Regards,
David
> I want rooms created by other (non-admin) users to disappear 5m after
> they are empty.
>
> Rob
>
>
> ----- Original Message -----
> From: "Rob Davis" <lists at solarismedia.co.uk>
> To: <jdev at jabber.org>
> Sent: Tuesday, November 19, 2002 9:45 PM
> Subject: Fw: [JDEV] using roommaker
>
>
> >
> > Thanks David,
> >
> > I'm pleased the minor Perl changes were useful - you must be
running
> a
> > different version of Perl (probably newer!) than us.
> >
> > I didn't realise that I could create the persistent rooms with
Exodus
> > though - I'll give that a try. Do I need to be the admin user
> specified
> > in jabber.xml?
> >
> > (might be worth adding that to the MUC documentation BTW cos I had
no
> > idea it was the intended method).
> >
> > Thanks
> >
> > Rob
> >
> >
> > >
> > > As per other email, this should now be fixed.
> > >
> > > If you configure the room you created with exodus to be
persistent,
> it
> > > is exactly the same as if you'd made the room with roommaker.
> > >
> > > Regards,
> > >
> > > David
> > >
> > > On Tue, Nov 19, 2002 at 07:52:33PM -0000, Rob Davis wrote:
> > > >
> > > > OK - I managed to fix the bugs in roommaker.pl - a badly formed
> > MKDIR
> > > > command on line 79 and an undeclared variable used for the file
> > > handler.
> > > >
> > > > So now I am running roommaker.pl without any bugs and it is
> writing
> > > the
> > > > rooms.xml file.
> > > >
> > > > Then I restart Jabber, browse using my client or Exodus and...
no
> > > rooms
> > > > appear...
> > > >
> > > > Here's the command I'm issuing in my client:
> > > >
> > > > <iq type="get" to="conference.localhost" id="rooms"><query
> > > > xmlns="jabber:iq:browse" /></iq>
> > > >
> > > > And here's what i get back:
> > > >
> > > > <iq type="result" to="rob at myjabberurl.com" id="rooms"
> > > > from="conference.localhost"><conference xmlns="jabber:iq:browse"
> > > > type="public" name="Public
> > > >
> > >
> >
>
Chatrooms"><ns>http://jabber.org/protocol/muc</ns><ns>jabber:iq:register
> > > >
> > >
> >
>
</ns><ns>jabber:iq:version</ns><ns>jabber:iq:time</ns><ns>jabber:iq:last
> > > > </ns></conference></iq>
> > > >
> > > > If I create a room in Exodus, it does allow that to be browsed:
> > > >
> > > > <iq type="result" to="rob at myjabberurl.com" id="rooms"
> > > > from="conference.localhost"><conference xmlns="jabber:iq:browse"
> > > > type="public" name="Public
> > > >
> > >
> >
>
Chatrooms"><ns>http://jabber.org/protocol/muc</ns><ns>jabber:iq:register
> > > >
> > >
> >
>
</ns><ns>jabber:iq:version</ns><ns>jabber:iq:time</ns><ns>jabber:iq:last
> > > > </ns><conference type="public" jid="test at conference.localhost"
> > > > name="test (1/30)" /></conference></iq>
> > > >
> > > > I've tried creating rooms that are both private and public in
> > > roommaker,
> > > > but neither seem browseable.
> > > >
> > > > Any ideas?
> > > >
> > > > Rob
> > > >
> > > > p.s. here are the changes i made to get roommaker to work:
> > > >
> > > > change line 79 to:
> > > > (change to mkdir("$spooldir/$server", 0777);
> > > >
> > > > lines 185-187
> > > > open(DATA, ">$spooldir/$server/$hash.xml");
> > > > print DATA XMLout($output, rootname => "xdb");
> > > > close(DATA);
> > > >
> > > > lines 210-212
> > > > open(DATA, ">$spooldir/$server/rooms.xml");
> > > > print DATA XMLout($roomsconfig, rootname => "xdb");
> > > > close(DATA);
> > > >
> > > > -------------------------------------------------------
> > > > Rob Davis
> > > > -------------------------------------------------------
> > > > Solaris Media
> > > > http://www.solarismedia.co.uk
> > > > -------------------------------------------------------
> > > > 20 Damien Street
> > > > London E1 2HX
> > > >
> > > > Tel: 020 7791 1555
> > > > Mob: 07973 658033
> > > > Fax: 020 7791 1545
> > > > Email: rob at solarismedia.co.uk
> > > > AOL IM username: rbdavis68
> > > > MSN Messenger username: rbdavis68 at hotmail.com
> > > > 51 31' N x 0 03' W
> > > > -------------------------------------------------------
> > > > Creative digital media solutions
> > > > -------------------------------------------------------
> > > > Map: http://www.streetmap.co.uk/streetmap.dll?P2M?P=e12hx&Z=1
> > > > -------------------------------------------------------
> > > >
> > > >
> > > > _______________________________________________
> > > > jdev mailing list
> > > > jdev at jabber.org
> > > > http://mailman.jabber.org/listinfo/jdev
> > >
> > > --
> > > David Sutton
> > > Email: dsutton at legend.co.uk
> > > Jabber: peregrine at legend.net.uk
> > >
> > >
> > >
> >
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> >
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
--
David Sutton
Email: dsutton at legend.co.uk
Jabber: peregrine at legend.net.uk
More information about the JDev
mailing list