![]() |
Conditional for what error (STANDARD_ERROR template)
Inside the STANDARD_ERROR template the no permission error has its own condition, yet every other error is simply defined by $errormessage
does anyone know any of the conditional for the other error pages? This is the no permission one: HTML Code:
<if condition="$show['permission_error']"> I need: - Invalid Forum - Sorry not accepting post - And any other error messages So that I am able to differentiate between them within the STANDARD_ERROR template. Things I have tried: Code:
<if condition="$show['badlocation']"> |
I am not sure I understand what you want to do. Maybe a mix of the following conditionals can do the job. I used them for my vB3.8.11 forum.
Code:
<if condition="is_member_of($bbuserinfo, 2,4,5,6,7,9,10,11,12,13,14)"> . Tested this one and it's working : Code:
<if condition="is_member_of($bbuserinfo, 1,2,4,5,6,7,9,10,11,12,13,14)"> |
Im trying to find the error type, so I can customize the template based on which error occurs.
an better example would be (not a working code) Code:
<if condition="$errormessage == '$vbphrase[invalid_forum_specified]'"> https://vbulletin.org/forum/forumdis...hp?f=465465456 |
All times are GMT. The time now is 08:36 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:
|