PDA

View Full Version : How to make my own vbulletin error


mondingnibai
08-22-2016, 12:41 AM
Guyz, I would like to ask how to create my vbulletin error. Not using the default error in vbulletin. How to call it in the code? I tried to create adding new phrase but when I call it it shows the error "Could not find the new_error".

MarkFL
08-22-2016, 01:00 AM
Create a phrase of type "Error Messages" and then call it as follows (in PHP):

standard_error(fetch_error('new_error'));

This assumes the "Varname" of your error phrase is "new_error".