On Wed, Sep 30, 2009 at 2:22 PM, The Editor <[email protected]> wrote:
>
> On Wed, Sep 30, 2009 at 5:04 PM, Kevin <[email protected]> wrote:
> > The section you are talking about:
> >
> > If you are using a version prior to 3.17, you can add the line manually,
> > just after the section setting your membership information. Is that in
> the
> > BOLTauth function?
>
> No it is in engine.php ~168. Here:
>
> else {
> $BOLTmember = BOLTconfig('BOLTguestname', 'Guest');
> $BOLTmemberships = 'guest';
> }
> if (function_exists('BOLTswitchUser')) BOLTswitchUser(); // in the
> next release this line will be added, commented out by default.
>
>
Put the code in the index.php and added to the engine...
else {
$BOLTmember = BOLTconfig('BOLTguestname', 'Guest');
$BOLTmemberships = 'guest';
}
if (function_exists('BOLTswitchUser')) BOLTswitchUser();
if (isset($BOLTsession['MSG'])) $msg = $BOLTsession['MSG'];
if (isset($BOLTsession['QUERY'])) $query = $BOLTsession['QUERY'];
When I try it, I get a blank page when I add the &myid=guest
I put some debug code in it and it gets to the function... and the function
is used every for every page, so not sure why the blank page.
I'm still using 3.15.
> By the way you could easily create a link like this to activate, or a
> button of course:
>
> [[{p}&myid=guest|Guest View]] | [[{p}&myid=Bob&mygroups=editor|Editor Bob
> View]]
>
> Cheers,
> Dan
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---