Gossamer Forum
Home : Products : Gossamer Links : Discussions :

New Field on Bad Link Plugin

Quote Reply
New Field on Bad Link Plugin
I want to add a field on the Bad Links plugin so the surfer can type in a reason that they are reporting the link as bad.

I added the field to the table (Reason), I added the input text box to the template and it's showing up on the confirm page, but I can't figure out how to get the data into the database. I assume it's done on the bad_link.cgi page somewhere around this part

$db_bad_links->add ( { LinkID => $id,
URL => $rec->{'URL'},
Title => $rec->{'Title'},
} );

but I don't know the proper syntax.

Can anyone help?

Thanks in advance.
Quote Reply
Re: [Spacemanspiff] New Field on Bad Link Plugin In reply to

Its not quite as simple as I think you were imagining =)

I've made a few changes to the bad link script, as well as the install code's. There is now a "Comment" section. It also had to be added into the template.

Give the attached version a go Angelic


Andy (mod)
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!