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

(Andy) recommend_it plugin

Quote Reply
(Andy) recommend_it plugin
 Andy I have your recommend_it plugin installed and it works well, but I noticed if you put the following in:

Your Details: Name: Mr.x Email:Mrx@xxx.com
Friend 1: David Email: Blank- no entry

Software error:Column SentList cannot be left blank at recommend_it.cgi line 167.
Would like to see all errors on the template, I do receive an error on the template if I leave any of this blank:

Your Details: Name: Mr.x Email:Mrx@xxx.com

Any Suggestions on a fix?
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
Hi,

Could you try the fix here?

http://www.ultranerds.com/...m.cgi?post=1530#1530

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] (Andy) recommend_it plugin In reply to
Hi Andy,

I did add the code you suggested but it made no difference.
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
Sly Andy, anything more on this.
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
Bump
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
I've got the flu. I'll reply when i can .. but only once I'm well again Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] (Andy) recommend_it plugin In reply to
Andy,

Take care, get well soon!
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
Bump
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
After this line:
Code:
# skip this record if they don't need to be sent to...
Edit the next line to look like this:
Code:
if (!$IN->param("recipname_$i") && !$IN->param("recipemail_$i")) {
That should work for you Wink.
Quote Reply
Re: [aus_dave] (Andy) recommend_it plugin In reply to
In Reply To:
After this line:
Code:
# skip this record if they don't need to be sent to...

Edit the next line to look like this:
Code:
if (!$IN->param("recipname_$i") && !$IN->param("recipemail_$i")) {

That should work for you Wink.

Thanks,

But now it won't send the email unless all 3 friends are sent to!
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
Hmm, it works fine for me.

Have you changed anything else in this file?
Quote Reply
Re: [aus_dave] (Andy) recommend_it plugin In reply to
In Reply To:
Hmm, it works fine for me.

Have you changed anything else in this file?

No, I did not change anything, just to be sure I reinstalled the plugin and tryed again, same problem!
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
Do you get an error message within Links?

Also, I'm running this plugin on Links 3.
Quote Reply
Re: [aus_dave] (Andy) recommend_it plugin In reply to
Yes,

The email address for person 2 doesn't seem to be valid.... I have to fill in friend 1, friend 2, friend 3 and it works fine, but if I want to send to only 1 person I get the above error. I'm running links 3 also.

Last edited by:

rascal: Feb 26, 2006, 4:29 PM
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
PM me your .cgi file and I'll have a look at it.
Quote Reply
Re: [aus_dave] (Andy) recommend_it plugin In reply to
Thanks,

Sent, should be in your box.
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
I think you might have deleted a line by mistake. After this line, add the code in bold:

Code:
$IN->param("recipemail_$i") . ") <BR>";
$usercount ++;
Quote Reply
Re: [aus_dave] (Andy) recommend_it plugin In reply to
Sorry, that is only half the line!

Code:
#print "Would have sent to " . $IN->param("recipname_$i") . "(" . $IN->param("recipemail_$i") . ") <BR>";
Quote Reply
Re: [aus_dave] (Andy) recommend_it plugin In reply to
Hi,

Getting error, could you PM your cgi file?
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
Your PM WAS BLANK
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
Hi,

Justed tryed your cgi file, and it brings me back to my original problem.

Your script could not be working properly!


Thanks for trying to help me out...
Quote Reply
Re: [rascal] (Andy) recommend_it plugin In reply to
I can assure you it is working - I'll PM you a link to the live site where you can see it in action Wink.

You might have something else different in the admin setup or maybe in the templates somewhere?
Quote Reply
Re: [aus_dave] (Andy) recommend_it plugin In reply to
Your right, it could be something else causing the problem. I'm just frustrated that I can't correct the problem.

Thank you for your time, you have been very helpful.