The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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? |
#2
|
|||
|
|||
![]()
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). |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|