MyBB Requests

Custom No Permissions?

Submitted by Sui, , Thread ID: 11991

Thread Closed

RE: Custom No Permissions?

Addicted
Freak
Divine
Level:
0
Reputation:
105
Posts:
2.77K
Likes:
130
Credits:
9.94K
28-10-2015, 12:41 AM
This post was last modified: 28-10-2015, 12:42 AM by Addicted
#2
You can do it in ./inc/languages/english/messages.lang.php or just edit the template

Code:
$l['error_nopermission_guest_1'] = "You are either not logged in or do not have permission to view this page. This could be because one of the following reasons:";
$l['error_nopermission_guest_2'] = "You are not logged in or registered. Please use the form at the bottom of this page to login.";
$l['error_nopermission_guest_3'] = "You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be? Check in the forum rules that you are allowed to perform this action.";
$l['error_nopermission_guest_4'] = "Your account may have been disabled by an administrator, or it may be awaiting account activation.";
$l['error_nopermission_guest_5'] = "You have accessed this page directly rather than using appropriate forms or links.";

Code:
$l['error_nopermission_user_1'] = "You do not have permission to access this page. This could be because of one of the following reasons:";
$l['error_nopermission_user_ajax'] = "You do not have permission to access this page.";
$l['error_nopermission_user_2'] = "Your account has either been suspended or you have been banned from accessing this resource.";
$l['error_nopermission_user_3'] = "You do not have permission to access this page. Are you trying to access administrative pages or a resource that you shouldn't be? Check in the forum rules that you are allowed to perform this action.";
$l['error_nopermission_user_4'] = "Your account may still be awaiting activation or moderation.";
$l['error_nopermission_user_5'] = "You have accessed this page directly rather than using appropriate forms or link.";
$l['error_nopermission_user_resendactivation'] = "Resend Activation Code";
$l['error_nopermission_user_username'] = "You are currently logged in with the username: '{1}'";

Users browsing this thread: 1 Guest(s)