Chris,
Thanks for your detailed answer. You are right, this might be the best solution.
Thanks a lot, Armin
Chris Smith schrieb:
Armin,
The data you are after isn't part of the wiki page, so the old custom.conf or the current syntax plugins aren't able to see and alter that data.
Dokuwiki stores information about who modified the page (incl. ip addy) in the change.log You are in effect talking about modifications to the functions that write or read data from that file. All of those functions can be found in inc/common.php. Your simplest method would probably to add a translation to the function that retrieves the ip addy (clientIP).
However, it is probably easiest and best to get everyone to register their own name. Dokuwiki doesn't quickly forget the user once logged in. So every time they visit the wiki they will be shown as logged in under their own name. This has a couple of powerful advantages:
- you can upgrade dokuwiki without losing any of your changes - if people move ip's, leave the organisation, etc you don't have to make any changes yourself, just ask them to logout and log back in at their new location.
Simply, turn on ACL. Allow users to self register. And set the acl.admin.php to
* ALL 8
I hope this helps,
Cheers,
Chris
-----Original Message----- From: dokuwiki-bounce@xxxxxxxxxxxxx [mailto:dokuwiki-bounce@xxxxxxxxxxxxx]On Behalf Of Armin Heinzer Sent: 20 July 2005 12:19 To: dokuwiki@xxxxxxxxxxxxx Subject: [dokuwiki] Re: Translate anonymous IP addresses into names
Hi Andi
Will it be possible to add this translation to custom.conf as soon custom.conf is supported again? If yes, which is the schedule to support it again?
Thanks, Armin
Andreas Gohr schrieb:
Alan Liu writes:
You could do the transformation you describe with a plugin.
No you can't ;-) Syntax plugins are for the page content's only. Without hacking the source it isn't possible what you want to do.
Andi
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist