Sunday 31 August 2008

deactivate tutors accounts

Adding to the 'to do' list

1. I need a way for users to easily deactivate their accounts. This has to be done in a manner which stops them from receiving emails from the profile, so once deactivated I wish to remove all the links section(including email), and have a large font saying - deactivated)

on clean up, remove the deactivated.
on rebuild, do not rebuild deactivated.

this makes it easy for people to see that the account is now deactivated from the profile (but may still show up on Search Engines until clean up) but also add a flag on the DB to say this user is now inactive so should no longer appear in local tutor search results.

If they wish, they should have the option to log in to the profile editor and reactivat their account.

2. A user registered with an '=' in the password field, which stopped them from logging into the editor. This has to be prevented both client side and server side. The first thing I need to do is check for this with JavaScript


3. (I'm currently working on this) There are still problems from the search, this is an SQL problem when users try to search for words less than 4 characters. I have solved this for some words such as LAW and IT, but many tutors register as ks1 2 3 ... this presents a problems, since I cant convert 2 3 to any other words in the subject column since others may use this for their subject (I'm not sure what yet though). Still looking for solutions, for now its a big issue that I need to find a work around for quickly!