Helpful Information
 
 
Category: vBulletin Article Depository
Global Errors

I think its a hassle to make those 1 - 3 Sentence error messages.

Heres an easier in IMO to make those Error templates: :D


1. Create a New Template Called: global_error, put this inside of it:

$error


2. Instead of calling each error template seperately:

example: "We don't allow that name as a custom title. Try again by clicking back in your browser."


call all of them from one template:

example:



$string_find="Moderator";
if(strstr($customt, $string_find)) {
$error="We don't allow that name as a custom title. Try again by clicking back in your browser."
eval("standarderror(\"".gettemplate('global_error')."\");");
}



I hope someone finds this useful. :)

standerror function is very powerful and save so much time :)

- miSt

A very bad idea for multilingual forums, though...that's why the error templates exist in the first place ;)










privacy (GDPR)