Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Validation question

Quote Reply
Validation question
When I change an account's validation status to no in order to temporarily suspend it, it shows up in the list of sites to be validated. This is a minor annoyance. Is there any way to have a site suspended without this happening? Thanks is advance.
Quote Reply
Re: [cco] Validation question In reply to
Yea...you could do the following:

1) Add another option in the "Status" column called "Banned" or "Suspended".

2) Then you'll have to edit the login authentication to check for this column value.

Another thing you could do is:

1) Create another column called Active (ENUM, Yes/No, Default = Yes, NOT NULL).

2) Then check for this column in the login authentication codes...only allow "Active = Yes" to login, others are sent to an error page.

I have this latter option working in my site, which is powered by Links SQL v.1.13, so it should in theory be more easier to implement this type of hack in the current version of Links SQL v.2.X.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [cco] Validation question In reply to
Hi,

Also, http://www.gossamer-threads.com/...orum.cgi?post=173001 might help.

Cheers,

Alex
--
Gossamer Threads Inc.