1. Trough a user plug-in extend the registration form with a field for the code and abort the registration if the code is incorrect.
2. Disable user registration and roll your own component to handle user registration.
Best regardsRouvenHi All,
I've got an unusual registration procedure, and I'm not sure where to begin.
The client requires that before one can register with his site , the customer should first supply a confirmation code. Once this code is accepted they are directed to a standard joomla registration.
But my thought is that anyone (or a script) could simply bypass this by inputting the registration url.
Anyone got any ideas as to how this might be done. I'm thinking something along the lines of using $_session , but I'm still not sure what to do.
--
Rob & Lisa - EMC23
083 416 0618
in...@emc23.com
www.emc23.com
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
I don't know if this is relevant, but you could save the code in the session when the user enters it, then create a content plugin that checks for the presence of the code if the request is for the registration page.
This seems like the simplest and least intrusive way to acheive your goal.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/k9SVYZ3YmoIJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.