Gossamer Forum
Home : Products : DBMan : Customization :

validation mod question.

Quote Reply
validation mod question.
I'm wondering if it would be possible to send someone to another page if the link they click on takes them to a file that is in queue for being validated? If so, what would I need to change?

I have a database going with pic upload mod and I have it set up so that when a member modifies their file, it goes back for validation. Instead of someone clicking on the link and seeing the "not found" and getting the search, I'd like it to take them to a page that says something like: "The profile you are trying to reach is currently being reviewed. Please check back later" or something along that line. I can set up that page, but have no idea how to make the database take them to it.

Hopefully I explained that well enough. Sly

Thanks!


DBMan SQL Version 1 mods available at:
http://dbmansqlmods.rainbowroomies.com
(Mods based on JPDeni's original mods.)
Quote Reply
Re: [shann123] validation mod question. In reply to
you could use an if else on the returned data and if it is flagged for validation redirect them to your awaiting validation page.

use below to redirect

print "Location: URL_TO_DIR/awaiting.htm\n\n";



chmod
Quote Reply
Re: [chmod] validation mod question. In reply to
Not sure where you were talking about doing that at, but I ended up just modifying the html_search_failure record. Seems to work ok, and if they are on the search form and come up with it, then it'll still work ok for them since it just means going back to the search form.

Thanks for the reply tho!


DBMan SQL Version 1 mods available at:
http://dbmansqlmods.rainbowroomies.com
(Mods based on JPDeni's original mods.)