due to a bussy work , i have not the time to search and inspire solution , so i act to ask the queston here and see what other has done for this semilar case .
i want to disable registration with email already exist , i don't need to change core files . from my todo list for this "my solution was :
1 - a jquery request to custom php file that search for the email ,if exist disable the sent button and make the field in red .
2 - use a plugin with preAction event . (this solution is not possible because the preAction can't return a Set Error message .
so it remain now the first option . i believe if the there is a event before client::add or user:add can solve the isseu .
any one has already made a working solution .
NOTE : i can make it but i have no time to do it now .
@Blesta_Staff -> more events == more plugins for the community .
Question
Blesta Addons
Hello All
due to a bussy work , i have not the time to search and inspire solution , so i act to ask the queston here and see what other has done for this semilar case .
i want to disable registration with email already exist , i don't need to change core files . from my todo list for this "my solution was :
1 - a jquery request to custom php file that search for the email ,if exist disable the sent button and make the field in red .
2 - use a plugin with preAction event . (this solution is not possible because the preAction can't return a Set Error message .
so it remain now the first option . i believe if the there is a event before client::add or user:add can solve the isseu .
any one has already made a working solution .
NOTE : i can make it but i have no time to do it now .
@Blesta_Staff -> more events == more plugins for the community .
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.