Fw: [JDEV] using roommaker

Rob Davis lists at solarismedia.co.uk
Tue Nov 19 16:07:54 CST 2002


Also, do persistent rooms created with Exodus by the admin still persist
if <dynamic/> is set in jabber.xml?

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
>





More information about the JDev mailing list