Question
I've lost a previous installation of TWiki from 2004 which was running pretty flawlessly. User registration was turned off, and I had somehow hacked the software to recognize a Windows username and place it where the owner's name would usually appear. So, instead of this...
Topic revision: r24 - 08 Jul 2005 - 18:12:48 -
TWikiContributor
I could get it to say...
Topic revision: r24 - 08 Jul 2005 - 18:12:48 - Bob_Gipperson
That was about all the document ownership I needed at the time, and in our small work environment, we weren't worried about security. Plus, it made it easy for people to contribute and that was key to getting it adopted within the organization.
So now that I have 4.2 installed (I used the Windows installer version), I'm wondering how I can do roughly the same thing? I've searched for a couple hours and found nothing that would allow me to drop the environment variable %username% into the code somewhere. Any suggestions?
-Ted
Environment
--
TedMorris - 08 Apr 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
This is probably overkill, but there's a plugin that incidentally "provides access to environment variables":
TWiki:Plugins.FakeBasicAuthRegPlugin
You won't want its certificate functionality, but maybe you can borrow its environment variable trick?
--
SeanCMorgan - 09 Apr 2008
Closing this question after more than 30 days of inactivity. Feel free to re-open if needed.
--
PeterThoeny - 03 Jun 2008