Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User Permissions
#6
(06-14-2011, 03:51 PM)Solidus Wrote: Put this anywhere after global.php include,

Code:
if(!in_array($mybb->user['usergroup'], array('3','4','6')))
{
    error_no_permission();
}

Where about is Global.php Include?

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 2,000 10-11-2009, 07:03 PM
Last Post: duckyshucky

Forum Jump:


Users browsing this thread: 5 Guest(s)