Gossamer Forum
Home : Products : Gossamer Links : Discussions :

UPDATED: Current user plugin 1.01

Quote Reply
UPDATED: Current user plugin 1.01
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

Subject Author Views Date
Thread UPDATED: Current user plugin 1.01 AlexJ 2925 Jan 19, 2001, 10:00 PM
Thread Re: Current user plugin
Alex 2826 Jan 20, 2001, 10:10 AM
Post Re: Current user plugin
AlexJ 2795 Jan 20, 2001, 11:12 AM
Post Re: Current user plugin
AlexJ 2788 Jan 20, 2001, 11:50 AM