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

Re: [MJB] Recommend_It plugin - a simple request

Quote Reply
Re: [MJB] Recommend_It plugin - a simple request In reply to
It's relatively easy to modify the plugin yourself:

Add a new column to the Rec_Stats table, for example 'RecID'.

In recommend_it.cgi, look in sub main and add this line after the other lines marked $stats_hash:

$stats_hash->{'RecID'} = $id;

That should be all that is required, unless I have forgotten something else I modified to get it working. If you want to view the link ID from the Recommend It stats in the admin you need to modify the plugin file, Recommend_It.pm. There is a an extra line required to get the ID from the database:

my $link_id = $hit->{'RecID'};

You then need to modify the results table and add an extra column (add an extra heading cell and then an extra results table cell for $link_ID).

Hope that helps Wink.
Subject Author Views Date
Thread Recommend_It plugin - a simple request MJB 3733 Mar 16, 2006, 8:17 AM
Thread Re: [MJB] Recommend_It plugin - a simple request
aus_dave 3618 Mar 16, 2006, 7:45 PM
Thread Re: [aus_dave] Recommend_It plugin - a simple request
MJB 3618 Mar 17, 2006, 2:29 PM
Thread Re: [MJB] Recommend_It plugin - a simple request
aus_dave 3596 Mar 18, 2006, 4:02 AM
Thread Re: [aus_dave] Recommend_It plugin - a simple request
MJB 3587 Mar 29, 2006, 12:32 PM
Post Re: [MJB] Recommend_It plugin - a simple request
aus_dave 3568 Mar 29, 2006, 8:13 PM
Post Re: [aus_dave] Recommend_It plugin - a simple request
MJB 3561 Mar 29, 2006, 1:27 PM
Post Re: [MJB] Recommend_It plugin - a simple request
katabd 3537 Apr 2, 2006, 2:24 PM