Log in

View Full Version : Question: $userdata->error


Scuzzy
03-21-2008, 08:22 PM
I have the following line of code in the hook for register_addmember_process:

$userdata->error('st_register_alreadyinuse');

I've created the phrase, and even tried moving it from my product to the vbulletin product, but everytime it tries to display this issue I get the message:

Could not find phrase 'st_register_alreadyinuse'.

Is this an issue where the data manager pre-caches the phrases? Is there a way to force a refresh, and if that is the issue how would I make that happen in my product installation?

Thanks!
Scuzzy

Lynne
03-21-2008, 10:02 PM
What Phrase Type did you pick for the phrase?

Scuzzy
03-26-2008, 01:29 AM
What Phrase Type did you pick for the phrase?

That was the problem Lynne, choosing "error message" fixed everything, I didn't even see that, thank you.