Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User Permissions
#2
You could add this to the php code. (I haven't tested it)

include("global.php"); //path to global.php in mybb
global $mybb;
if(($mybb->usergroup['isadmin'] == 1) || ($mybb->usergroup['issupermod'] == 1))
{
//page here
}else{
print("You do not have permission to access this page");
}
Need website or forum help?
[Image: logo.png]
Reply


Messages In This Thread
User Permissions - by Fragma - 06-14-2011, 01:12 PM
RE: User Permissions - by 0xE9 - 06-14-2011, 01:25 PM
RE: User Permissions - by ๖ۣۜDunsparth - 06-14-2011, 02:06 PM
RE: User Permissions - by Fragma - 06-14-2011, 02:10 PM
RE: User Permissions - by Solidus - 06-14-2011, 03:51 PM
RE: User Permissions - by Fragma - 06-14-2011, 04:01 PM
RE: User Permissions - by Solidus - 06-14-2011, 04:05 PM
RE: User Permissions - by Fragma - 06-14-2011, 04:06 PM
RE: User Permissions - by 0xE9 - 06-15-2011, 02:12 AM
RE: User Permissions - by Fragma - 06-15-2011, 03:03 AM
RE: User Permissions - by Sam - 06-15-2011, 10:31 AM
RE: User Permissions - by Fragma - 06-15-2011, 10:42 AM
RE: User Permissions - by Sam - 06-15-2011, 10:47 AM
RE: User Permissions - by Fragma - 06-15-2011, 11:09 AM
RE: User Permissions - by Bencori - 07-08-2011, 02:38 PM
RE: User Permissions - by Kyle FYI™ - 07-11-2011, 02:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mybb permissions "you need X amount of posts before posting here" how to? duckyshucky 6 1,985 10-11-2009, 07:03 PM
Last Post: duckyshucky

Forum Jump:


Users browsing this thread: 11 Guest(s)