UPDATE: Version 1.01 now online
Fixed:
- During install, libary path is now picked up from Links config.
- During install, perl path now pick up from Links config.
- Better error handling if there are problems installation.
Updated:
userlookup.cgi - Cleaned up code. Removed anything that wasn't needed.
Download UserLook 1.01 Plugin: http://www.netmall.net/UserLookup.tar
Special thanks to Alex for assistance with the not yet so documented plugin installation routines (and for Links SQL NG in general!).
I found this to be a handy little plugin to allow you to call (via SSI) the currently authenticated Links user. If the user is not logged in, it returns "Guest", otherwise it returns their Name.
The plugin will automatically install into your user cgi directory. After installing the plugin, you can access it via SSI with a command in your static pages or templates like:
Well it looks like my SSI call is being edited out by the forum... But you need to do an SSI exec cgi of the user-lookup.cgi program.
You can download the plugin from here:
http://www.netmall.net/UserLookup.tar
I'm very interested to hear how this works for everyone. Please share your feedback.
Enjoy,
AlexJ
Fixed:
- During install, libary path is now picked up from Links config.
- During install, perl path now pick up from Links config.
- Better error handling if there are problems installation.
Updated:
userlookup.cgi - Cleaned up code. Removed anything that wasn't needed.
Download UserLook 1.01 Plugin: http://www.netmall.net/UserLookup.tar
Special thanks to Alex for assistance with the not yet so documented plugin installation routines (and for Links SQL NG in general!).
I found this to be a handy little plugin to allow you to call (via SSI) the currently authenticated Links user. If the user is not logged in, it returns "Guest", otherwise it returns their Name.
The plugin will automatically install into your user cgi directory. After installing the plugin, you can access it via SSI with a command in your static pages or templates like:
Well it looks like my SSI call is being edited out by the forum... But you need to do an SSI exec cgi of the user-lookup.cgi program.
You can download the plugin from here:
http://www.netmall.net/UserLookup.tar
I'm very interested to hear how this works for everyone. Please share your feedback.
Enjoy,
AlexJ