XF 1.1 Show ban reason to users

dehness

Well-known member
Is there any way to show the ban reason to members in 1.1? I have tried numerous permissions configurations but I always seem to get an 'ERROR 403 - Forbidden!' when I test it with a banned account...
 

Mike

XenForo developer
Staff member
This sounds more like an issue with the server configuration blocking the actual output from the page. (Though I'd note that 1.1 isn't really a version we could provide detailed support for any longer.)
 

dehness

Well-known member
Thanks @Mike I have since updated the forum to 1.4.10.

The error still occurs for basically anything a user doesn't have permission to see, rather than getting a forum message, they get a 403 forbidden message.

We run nginx. Is there some way to change this?
 

dehness

Well-known member
Hi @Mike,

Looking through our configuration files, I seem to have identified the one with the problem.

However, switching the fastcgi_intercept_errors value to 'off' has failed to remedy the issue.

I have attached the file (hopefully editing out any sensitive information such as IPs/URLs). Is there another value that you can see that I need to change to remedy this problem?

Warm regards.
 

Mike

XenForo developer
Staff member
Are you sure you've reloaded your configuration? You can remove all the error_page related code which would be the other part of the cause.
 

dehness

Well-known member
Are you sure you've reloaded your configuration? You can remove all the error_page related code which would be the other part of the cause.
Woohoo. That was the issue, all I had to do was restart nginx. Thanks @Mike. This was a long standing problem. :D
 
Top