• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Redirect when user gets permission error

#1
Hi,

We have the forum set up so that regular members can see that there are posts being made in the premium section, but they cannot see the thread content. So when they click on the thread, they get this message;
"You do not have permission to view this page or perform this action."

Is there an easy way of redirecting to our sales page (for premium) when a user hits this permissions error. So when they click the thread, they get taken to our sales page.

Thanks!