vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328369

Conditional for what error (STANDARD_ERROR template)
by Dr.CustUmz
26 Nov 2020 07:56

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(not authorized)

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


lange 26 Nov 2020 13:56

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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

.
.

Tested this one and it's working :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Dr.CustUmz 26 Nov 2020 15:10

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)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this error can be seen here for example:
https://vbulletin.org/forum/forumdis...hp?f=465465456


All times are GMT. The time now is 09:55.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.