Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [RELEASED] Recommend_It plug-in

Quote Reply
Re: [RELEASED] Recommend_It plug-in In reply to
Ouch... Thought I fixed that. It's a globals thing. I'll post a fixed archive.

It was just an omission/typo on one point.

I was typing on-line in the edit box, and added the variable to the Links import, rather than the use vars line.

Just adjust the top of your recommend_it.cgi to :
Code:
use strict;
use lib '/path/to/links/sql/admin'; ## you need to set this to your own local path!
use Links qw/$DB $IN $USER $CFG/; ## CHANGE THIS
use Links::SiteHTML;
use Links::Authenticate;
use GT::Mail;
use Links::Plugins;
use vars qw/$REC_CFG/; ## add this.
PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Subject Author Views Date
Thread [RELEASED] Recommend_It plug-in pugdog 4225 Feb 28, 2001, 4:49 AM
Thread Re: [RELEASED] Recommend_It plug-in
katabd 4173 Feb 28, 2001, 7:33 PM
Thread Re: [RELEASED] Recommend_It plug-in
pugdog 4138 Feb 28, 2001, 8:17 PM
Thread Re: [RELEASED] Recommend_It plug-in
katabd 4151 Feb 28, 2001, 8:39 PM
Thread Re: [RELEASED] Recommend_It plug-in
pugdog 4152 Feb 28, 2001, 9:55 PM
Post Re: [RELEASED] Recommend_It plug-in
katabd 4084 Mar 1, 2001, 4:08 AM
Thread Re: [RELEASED] Recommend_It plug-in
katabd 4122 Mar 2, 2001, 4:47 PM
Post Re: [RELEASED] Recommend_It plug-in
pugdog 4057 Mar 2, 2001, 5:54 PM