GanstaZ wrote: ↑
Sat Feb 10, 2018 1:21 pm
Why not use a simple way? Make a custom profile field in acp (unique id or validation, this was mentioned in 1 of your topics) & use it for registration page only, don't show it on other pages. You have 2 options: activate newly registered group or use admin verify activation. With small template code for admins or owner only you can check that code (verify it manually or make a verification function/method to do it for you), depends on what you prefer, output could be simple unique id or something like green id or red one.
Thanks for your response. I actually have the 312 letters printed ready for me to handpost them around the estate. The upshot is that I need the system to automatically check whether the code is listed as a permitted code within a db table (presumably one that I will need to set up) and for the system to check whether any other registered party has the code linked to their account.
I envisage having to, every so often, upload new codes therefore, I would like old codes to be deleted out of the permitted code table.
Currently, the Unique Code input is a custom profile field on the registration form - I just need to work out what php file the code is in that takes the registrant's submission and inputs it into the standard user database, and add on the checks mentioned.
As for templates and template code, I'm not sure what you mean - I don't think i've seen anything like that over the years in the PHPBB ACP. Not sure what you mean by green id and red one. For these reasons, the output can't be the verification code, it needs to be the one that I have created for each of the 312 properties (to match the letters printed). Also, the creation of a Unique ID by the system will totally defeat the object because it is there to ensure that:
a) each property has received an invite letter through their door and that the Registrant was one of those to receive the invite letter through their door (each letter contains a unique code linked to their address in my spreadsheet).
b) if the code was simply allocated by the system, then anybody could register and that is not the intention. i've deliberately posted this question in the Developer's forum, I've already explored alternative ways of doing this and I was hoping to avoid people not necessarily understanding what I am trying to achieve - the Developers forum is not for alternative methods and I don't want my question in here to be confused.
Thanks for your reply...