Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Nov 2020, 08:56
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
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:

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.

__________________
12/12/2020 - My PC has crashed, I have narrowed it down to the PSU, MB, or CPU. I believe it is the PSU (EVGA NEX750B) This is my job, creating free products and offering my services. With a daughter to be here any day I have very limited cash flow right now. If you wish to help me get a new PSU I would be greatly appreciative. PM me or read more here Dirt RIF CustUmz

Last edited by Dr.CustUmz; 26 Nov 2020 at 09:21.
Reply With Quote
  #2  
Old 26 Nov 2020, 14:56
lange lange is offline
 
Join Date: Apr 2003
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.


Last edited by lange; 26 Nov 2020 at 15:48.
Reply With Quote
  #3  
Old 26 Nov 2020, 16:10
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
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
__________________
12/12/2020 - My PC has crashed, I have narrowed it down to the PSU, MB, or CPU. I believe it is the PSU (EVGA NEX750B) This is my job, creating free products and offering my services. With a daughter to be here any day I have very limited cash flow right now. If you wish to help me get a new PSU I would be greatly appreciative. PM me or read more here Dirt RIF CustUmz
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:40.

Layout Options | Width: Wide Color: