Thank you, Jeff, for putting out the code so quickly for allowing BOGO
login along with restricted user and admin. That part of it worked
great, so far as I can tell.
The second part (adding a password for the BOGO login) kept generating
this error message:
Parse error: parse error, unexpected ';', expecting T_OLD_FUNCTION or
T_FUNCTION or T_VAR or '}'
in /home/mysite/public_html/wiki/04/lib/WikiUser.php on line 165
Fatal error: Cannot instantiate non-existent class: wikiuser
in /home/mysite/public_html/wiki/04/lib/main.php on line 139
----
Now, in main.php there are the lines:
case 'edit':
if (defined('REQUIRE_SIGNIN_BEFORE_EDIT') &&
REQUIRE_SIGNIN_BEFORE_EDIT)
return WIKIAUTH_BOGO;
return WIKIAUTH_ANON;
// return WIKIAUTH_BOGO;
----
and I was wondering if maybe something needs to be added there to
include another instance (maybe 'return WIKIAUTH_USER;' ?) but just
putting that line in didn't seem to help and of course I was uncertain
exactly how or where (or whether) to do this. Maybe I needed to
uncomment the 'return WIKIAUTH_BOGO;' (then again, there are two of
them...)?? I didn't try that.
So if you can clue me in on what needs to be done to make this
(passworded BOGO, with restricted user, admin and a side order of
fries) happen, it will be much appreciated.
You guys are great, and it is really exciting seeing this take shape.
Thanks again!
-----------------------------------------------------
http://eo.yifan.net
Free POP3/Web Email, File Manager, Calendar and Address Book
|