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:
function error_s ($text) {
echo("<p style=\"background-color:black;color:yellow;font-family:verdana;\">" . $text);
echo("<br /><br /><a style=\"color:orange;\" href=\"" . $_SERVER["SCRIPT_NAME"] . "\">Go back...</a></p>");
};
if (strlen($email) > 50) {
error_s("Email was too long.");
exit();
};
error_s("Email was too long.");
How can i changed this to embed with vb's error msgs and wrap it under vb instead of the white page errors?