Re: WatchPage

Reini Urban <[email protected]> Mon, 21 Jun 2010 10:51:09 +0200
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
2010/6/21 Marc-Etienne Vargenau <[email protected]>:
> Le 19/06/2010 22:31, Reini Urban a écrit :
>>
>> 2010/6/17 Sébastien Le Callonnec<[email protected]>:
>>>
>>> When clicking on the “Watch” button for a page, I get an error message
>>> indicating that I need to define my email address in my user
>>> preferences.  When clicking the link to the UserPreferences page, there
>>> is no field for the email address.
>>>
>>> Is that an issue, or is there some config that I’m somehow missing here?
>>
>> Looks like an issue, thanks. It is enabled with ENABLE_USER_NEW in the
>> template
>> themes/default/templates/userprefs.tmpl
>
> Hello all,
>
> I would suggest to make ENABLE_USER_NEW mandatory true, i.e.
> remove lib/WikiUser.php from the code.
>
> In there any inconvenience to do so?

Yes, it is.
Most crashes result from endless recursion cycles in WikiUserNew.php,
and using WikiUser.php is much easier then.

ENABLE_USER_NEW = true is default. If not you have no email property
-- 
Reini Urban
http://phpwiki.org/           http://murbreak.at/

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo