Jump to the post that solved this thread.
Solved: 3 Months, 1 Week, 4 Days ago About Custom CSS Plugin
#1
Solved: 3 Months, 1 Week, 4 Days ago
Hello. I want only administrators to use the Custom CSS plugin. How can I do that?
Reply
#2
Solved: 3 Months, 1 Week, 4 Days ago
if you know about php coding you can use condition like this.


if((int)$mybb->user['usergroup'] == 4)
{
//stuff that admin can do
}
Reply
#3
Solved: 3 Months, 1 Week, 4 Days ago
(2022-08-17, 07:31 PM)Mostafa.Shiraali Wrote: if you know about php coding you can use condition like this.


if((int)$mybb->user['usergroup'] == 4)
{
//stuff that admin can do
}

Thanks.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)