MyBB Community Forums

Full Version: How to edit the no permissions page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
You are either not logged in or do not have permission to view this page. This could be because one of the following reasons:
You are not logged in or registered. Please use the form at the bottom of this page to login..
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.
Your account may have been disabled by an administrator, or it may be awaiting account activation.

I was wondering how to edit this to add something to it?

Thanks for all the help, Very much appreciated.
Hello there,

You will have to edit the language file under ./inc/languages/english/messages.php

find

 $l['error_nopermission_guest_1'] = "You are either ... reasons:";
$l['error_nopermission_guest_2'] = "You are not logged in .... this page to login.";
$l['error_nopermission_guest_3'] = "You do not have permission to ...... action.";
$l['error_nopermission_guest_4'] = "Your account ... activation.";

I have replaced most of the text with .... just to save space

regards
Thanks alot very much appreciated, Would it work if i added another field going down?, Could you also tell me where to upload a favicon.ico to my directory for it to show on my forum.

Thanks alot mate
Well i dont reccomend as we will have to edit other files also, so you can just add some text to that !

regarding the favicon.ico or favicon.gif , upload it anywhere in your site, then in the Admin CP > Templates > Modify / Delete > Expand > headerinclude

Just add the following

 
<link rel="shortcut icon" href="http://ursite.com/dir/favicon.ico" >
<link rel="icon" href="http://ursite.com/dir/animated_favicon1.gif" type="image/gif" >

the sec one is in case you had an animated gif favicon that u wanna use.

something like i have here

you dont need that line if you dont have a gif image, just add the 1st

regards