![]() |
register_addmember_process + custom errors
Hi,
Im trying to customize my registration page to also register to another service my website allows, That part is working. My custum hook throws out errors when there is a problem and i was wondering if its possible to embed those errors into vbulletin pages instead of the 'echo white pages' i currently have? example: PHP Code:
How can i changed this to embed with vb's error msgs and wrap it under vb instead of the white page errors? |
You could do this:
Code:
eval(standard_error('This is an error')); or, if you can arrange to have your errors available when the user datamanager has been created then you can call $userdata->error('phrase_name'), and then the user will return to the registration page with the error displaying (you'll probably need to look at the code in register.php to see how to do that). |
All times are GMT. The time now is 03:53 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:
|