Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Userlookup 1.02 plugin available

Quote Reply
Userlookup 1.02 plugin available
If anyone was using the UserLookup plugin, you might have noticed that it stopped working properly with the Links 2.0 final release.

I have updated the plugin, and it now works with the 2.0 final.

The userlookup plugin installs a cgi program in the user directory that can be called from any page on your website via an SSI call in the page. It can be a links generated page, or any other page as well. If a visitor is logged in to Links, it will insert their username into your page. Otherwise it will insert "Guest".

It is available for free download here http://www.netmall.net/UserLookup.tar.

If you have any other ideas, comments, suggestions, questions about this plugin, please post them here.

Enjoy,

AlexJ

Quote Reply
Re: Userlookup 1.02 plugin available In reply to
Nice plugin :)

...and extremely simple.....only 8 lines of code.

What is it with Alex's...lol

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Userlookup 1.02 plugin available In reply to
I second that. Smile

Robert Blackstone
Webmaster of Scato Search
http://www.scato.com
Quote Reply
Re: Userlookup 1.02 plugin available In reply to
Sorry...ignore that.

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Userlookup 1.02 plugin available In reply to
It would not be more easy to use a TAG in tempaltes? Nor all have access to execute SSI in its servers. I am thinking about using PHP4 to make one pluguin equal to this, would be meis easy and faster of the one than to use SSI.

-=-=-=-=-=-=-=-=-=-
For a better world.Cool
Janio Le
-=-=-=-=-=-=-=-=-=-
Quote Reply
Re: Userlookup 1.02 plugin available In reply to
So how are you planning on using php within links ?

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Userlookup 1.02 plugin available In reply to
I am working in this, I intend to only use PHP in templates. Using Sessions of the PHP4 it will go to function very well.


-=-=-=-=-=-=-=-=-=-
For a better world.Cool
Janio Le
-=-=-=-=-=-=-=-=-=-
Quote Reply
Re: Userlookup 1.02 plugin available In reply to
I think you will have difficulty using php4 with Links.

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Userlookup 1.02 plugin available In reply to
I will thus not have as much difficulty not, PHP is very good for working and I will not have greaters problems it to function together with Perl.

-=-=-=-=-=-=-=-=-=-
For a better world.Cool
Janio Le
-=-=-=-=-=-=-=-=-=-
Quote Reply
Re: Userlookup 1.02 plugin available In reply to
I am not doubting your ability....

I am saying that it will be hard to create plugins using php code seeing as Links SQL will be expecting perl.

Maybe Im wrong...maybe someone else can clear this up?

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Userlookup 1.02 plugin available In reply to
Hi,

I did this plugin as SSI, as back a few weeks someone had requested it.

It would be VERY easy to do this with a tag using Perl, however, that will only work if are running your site in dynamic mode. This plugin was designed to work for both.

I suppose there is one other way this could be done... thats via a javascript. You could use a script source command to call a user cgi script that returned a java output, that printed the current users name, or guest.

Thats really quite a work-a-round, but an intersting way to avoid SSI issues such as performance, or if you don't have SSI available.

If anyone has the need or use for this javascript to work-a-round SSI, please let me know, and I will add the features to my current plugin.

Enjoy!

AlexJ

** HOW ABOUT MOVING THIS THREAD TO THE PLUGINS FORUM **