![]() |
Problem with registration hook
I'm attempting to add a small plug-in to the register_addmember_process hook so that I can check for invalid characters in usernames.
I've put together the following code, however when testing on the registration page the phrase (which I have added as a custom phrase) is not retrieved and is returned as... "Could not find phrase 'm24_invalidusername'". I've also tested using default phrases so I know there isn't a problem with my custom phrase, and I receive the same error. PHP Code:
|
As I recall, you would have to define it as an error phrase rather than a global phrase.
|
Thank you so much, that worked! :cool:
|
All times are GMT. The time now is 01:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|