reddevil4 wrote:
can anyone please help me with the problem? i need to solve it urgently. May i know whether i can made the fields mandatory by editing the backend code(by unzip-ing the com_profiler) so that i can have field that can be unique in the database?
dont think you can solve this urgently - well at least gracefully ..
one potentially fast approach (you would need to test this on your own in your test environment) would be to manually alter the field column in your comprofiler table in your database using phpmyadmin to force column values to be unique (unique key in SQL).
This would ensure that only unique values are saved to the database but in case that someone enters a duplicate value then most likely a nasty error will appear that most end users will not be able to understand.
A better solution would be to write (or hire someone to write for you) a cb plugin that checks the value of this specific field against other users and gracefully rejects it if a duplicate value already exists.
If you have a real budget the second approach is good.
Post edited by: nant, at: 2007/08/24 15:00