[dokuwiki] Re: Changing user to full name

Hello,

The $INFO['editor'] returns the IP-Adress, if changes made from an unauthenticated user, or his User-ID. To get the users name from the ID (IF it IS an ID and not an IP-Address) you have to make a lookup in the userdb using getUserData-Function.

Accurate, but not the right answer. See the documentation. The users full name is already available.
I'm sorry but i don't find it. The $INFO['user'] seems to contain the same as $INFO['editor'] (which i think is much better named than the former). So where is the FULL USERNAME of the last editor of the current page ?
The original docu does not distinguish between them.


You could install darcs. It will allow you to record your changes as patches and to replay your patches against an update - if there are no conflicts there is nothing more to do.
I did'nt know that is possible.


Oliver Geisen _____________________________ Systemadministrator Kreisboten Verlag Mühlfellner KG 82362 Weilheim i. Ob. Tel. 0881/686-904 Fax 0881/686-74


-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: