This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Permission for "Logs" and "Other"


avatar
insanetek 0
From: -
Permission for "Logs" and "Other"

I have another administrator who can't see the "Logs" and "Other" categories in the admin cp. I checked the db manually and I didn't see anything that I could change. How can I give him permission?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Permission for "Logs" and "Other"
avatar
Administrator
1342
From: Austria
Permission for "Logs" and "Other"

To display the menu only to a second admin, you could replace in cadmin/index.php the following:

   if ($admin[user_id] == 1) 

{

with (replace XX with the user ID of the second admin):

   if ($admin[user_id] == 1 or $admin[user_id] == XX) 

{
1 Re: Permission for "Logs" and "Other"
avatar
OP 0
From: -
Permission for "Logs" and "Other"

I'm back. Is there a way to have more than one admin to see "Logs" and "Other" but not every admin?
1 Re: Permission for "Logs" and "Other"
avatar
OP 0
From: -
Permission for "Logs" and "Other"

Thanks!
1 Re: Permission for "Logs" and "Other"
avatar
Administrator
1342
From: Austria
Permission for "Logs" and "Other"

Here a workaround to remove this restriction. Open cadmin/index.php in an editor and search for "$admin[user_id] == 1" and replace with "$admin[user_id]".
1 Re: Permission for "Logs" and "Other"
avatar
OP 0
From: -
Permission for "Logs" and "Other"

So there is no way to give those permissions to a uid=2 admin? My other admin needs to be able to update the "Announcement".
1 Re: Permission for "Logs" and "Other"
avatar
Administrator
1342
From: Austria
Permission for "Logs" and "Other"

Only the first admin (with user id #1) have all permissions, similar to the root/admin account on a Unix box.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.