MyBB Community Forums

Full Version: How to edit the error page ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi all

i want to add one more point to my error page
right now i can see this in the error page

You are either not logged in or do not have permission to view this page.
This could be because one of the following reasons:
1. You are not logged in or registered. Please use the form at the bottom of this page to login.
2. 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.
3. Your account may have been disabled by an administrator, or it may be awaiting account activation.


I want to add one more point so from where can i edit this message ?

Please help me
Thank You.
Go into ACP -> Language Packs -> Manage

Next to your language, click GO.

Look for messages.language.php and scroll about half way down.

error_nopermission_guest_1 through error_nopermission_guest_4 are the ones that you would need to change/update.

If you also want to change what a member would see if they try to access something they shouldn't, scroll a little farther down for error_nopermission_user_1 through error_nopermission_user_4.

If you want to change how the wording shows up on the page, the templates are under Error Message Templates -> error_nopermission and/or error_nopermission_loggedin
I am really thankful for this help
I have only one problem that can i make a new error_nopermission_user_5 ?
because i want to add one more point in my error page.
i tried to add <ul> tags its working but it taking some spaces
here is the screenshot how it is looking

[attachment=9626]

I don't want these spaces in between Sad

Please Help
Thank you again.
Just add your extra reason content between <li> tag after following:
<li>{$lang->error_nopermission_user_2}</li>
(2008-06-30, 02:22 PM)DragonFever Wrote: [ -> ]Just add your extra reason content between <li> tag after following:
<li>{$lang->error_nopermission_user_2}</li>

Hey you are just awesome
It worked
Thank you very much Smile
No problemSmile