[rakim] Rakim "guest" page
Rick Romero
rick at havokmon.com
Wed Jun 4 05:03:56 PDT 2003
On Wed, 2003-06-04 at 02:51, Andy wrote:
> Don't know if I understand your wishes exactly. But if You want to have a
> guestlink in the left menubar, you could try this:
>
> $this->applications['rakim'] = array(
> 'fileroot' => dirname(__FILE__) . '/../rakim',
> 'webroot' => $this->applications['horde']['webroot'] . '/rakim',
> 'icon' => $this->applications['horde']['webroot'] . '/rakim/graphics/rakim.g
> if',
> 'name' => _("Chat Admin"),
> 'allow_guests' => false,
> 'status' => 'active'
> );
>
> $this->applications['chat'] = array(
> 'fileroot' => dirname(__FILE__) . '/../rakim/guest',
> 'webroot' => $this->applications['horde']['webroot'] . '/rakim/guest',
> 'icon' => $this->applications['horde']['webroot'] . '/rakim/graphics/rakim.g
> if',
> 'name' => _("Chat Normalo"),
> 'allow_guests' => false,
> 'status' => 'active'
> );
>
>
> Works fine for me.
Weird. I tried that too, doesn't work for me. I updated everything
from CVS HEAD yesterday.
I'll see if I can manage to do a redirect for guests.
Rick
> Andy
>
>
>
>
>
> Quoting rick at havokmon.com:
>
> >
> >
> > I believe I have Rakim setup properly. I use group for my auth, which allows
> > only my manually entered self on my group as an admin, and 'none' for guest.
> >
> > When I click 'support' as a guest, I get 'You are not authorized to use this
> > service'. I found that I need to use horde/rakim/guest. If I enter that url
> > directly, it seems to work just fine - but looks like it's supposed to be a
> > popup window.
> >
> > I tried modifying the horde/config/registry.php to use the guest directory,
> > but
> > I then get errors that seem to indicate lib/Rakim.php can't read the
> > rakim/config/conf.php:
> >
> > $this->applications['rakim'] = array(
> > 'fileroot' => dirname(__FILE__) . '/../../rakim',
> > 'webroot' => $this->applications['horde']['webroot'] . '/rakim/guest',
> > 'icon' => $this->applications['horde']['webroot'] .
> > /rakim/graphics/rakim.gif',
> > 'name' => _("Support"),
> > 'allow_guests' => false,
> > 'status' => 'active',
> > 'menu_parent' => 'info'
> > );
> >
> >
> >
> > (Yes, I changed the menu parent too )
> >
> > And I get:
> > Notice: Undefined index: backend in
> > /usr/local/www/data.default/horde/rakim/lib/base.php on line 35
> >
> > Notice: Undefined index: backend in
> > /usr/local/www/data.default/horde/rakim/lib/base.php on line 36
> >
> > Notice: Undefined index: authentication in
> > /usr/local/www/data.default/horde/rakim/guest/index.php on line 10
> >
> > Fatal error: Call to a member function on a non-object in
> > /usr/local/www/data.default/horde/rakim/guest/index.php on line 60
> >
> > I've been futzing with different combinations in the registry, and the only
> > thing that works is a direct URL. Has a guest entry in the registry.php been
> > 'attended' to yet?
> >
> > Why doesn't the Admin code just refresh to the guest URL instead of
> > generating
> > an error?
> >
> > Would that be preferred? Or did I just miss a step somewhere?
> >
> > Thanks
> >
> > Rick
> >
> >
> >
> > --
> > rakim mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: rakim-unsubscribe at lists.horde.org
> >
>
>
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
More information about the rakim
mailing list