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

Wow this place has grown - holding page.

Quote Reply
Wow this place has grown - holding page.
Wow, things have certainely changed since the heady days of Links. Glad to see some old faces are still here, PugDog, Elliot etc. Cool

Anyway, to my question...

I'm getting a fair amount of spam and people submitting sites that are not relevant to my site. I want to create a "confirm your details" page before their link submission joins my validate queue. Is there a mod/hack which will create such a feature? I'm hoping that this kind of thing will remind those people too stupid to read my "What sites we accept" message and also the auto-submitters.

Any help, guidance would be great.

JeffB
Loving GT since 99!
Quote Reply
Re: [jeffb] Wow this place has grown - holding page. In reply to
It's a form of a "preview" page.

I went looking for a hack I was sure I posted, years ago.

I made a new "include_form" file, called "include_form_element" which had tags filling in the form for passed in data.

On [submit] from the add or modify form, what was passed was submit=>"Preview"

And a change to the top of the Add.pm and Modify.pm where if submit="Preview" you branch off to a simple display add_preview.html form. All that does is ask you to confirm the data with a "yes" (or make changes).

You can get more complicated, and return to the add_preview form if any data was changed (using duplicate fields, or javascript).

But simple is probably good enough for the robots.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Wow this place has grown - holding page. In reply to
Hi - thanks for the help Cool

Is there a plugin already made for this? I am sure a lot of people would find it useful.

Does anyone do anything for free any more? Or do we/I have to pay for things like this?

Cheers,

JeffB

JeffB
GT customer for 6 years (and counting!)

Last edited by:

jeffb: May 16, 2003, 4:27 AM
Quote Reply
Re: [jeffb] Wow this place has grown - holding page. In reply to
Actually, I think there was a plugin at one point, that hooked into the user_add hook (I think). Don't know what happened to it, though.

Oh, some people still do things for "free", but there are time constraints, since it has to be done in "free" time.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Wow this place has grown - holding page. In reply to
I had a search, but couldn't seem to find the plugin any where.

What should I do now? Unsure

JeffB
GT customer for 6 years (and counting!)
Quote Reply
Re: [jeffb] Wow this place has grown - holding page. In reply to
Here' is a quick and _very_ dirty plugin to get you started.

Unsupported, untested except on one site, and only the 'add' routines are enabled. It's not much, but it's what you get while I watch Buffy and get the kids off to school<G>


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Wow this place has grown - holding page. In reply to
They don't call you Top Dog for no reason - nice work Cool

It works great. My only concern is whether it will stop the robots. If they know my page is add.cgi, then the preview page won't make a difference? Or will it? I get so confused on the logic... Crazy

Nevertheless, I'm extremely grateful of your skills and time PugDog.

JeffB
GT customer for 6 years (and counting!)
Quote Reply
Re: [jeffb] Wow this place has grown - holding page. In reply to
Well.... <blush>

Because it's a second form to submit, it might confuse them, since they are not expecting it.

You can also confuse them, by adding a graphic that says "Type in OK if this is correct" , put a small text box in with some obscure name, and then add a check for

if (obscure_name ne "OK") {
print out preview form again
}

Don't have the code right here to put it in, but there would be several ways of adding this in, depending on what the routine looked like:

1) wrap the code in an if as above (or an 'eq')
2) duplicate the print SiteHTML code inside the loop above
3) something else <G>

See what works. The type in box is _annoying_ if it's not needed.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.