Quote:
Originally Posted by bts420
Hey jdsinclair, great hack installed without a hitch.
I too would like to limit access to other admistrators. Have you had any luck in wrapping this mod in Admistrator Permissions so that I can prevent certain admin's from viewing the chat logs?
Thanks and I appreciate the time put in!
|
I found an article on how to do this but it involved creating new admin permission plugins and didn't feel like going to that much work . However I did quickly figure out how to piggy back on an existing admin permission category and make a simple change to your code to make this work.
I edited the cpnav_flashchat.xml file and changed the following line
<navgroup phrase="flashchat_admincp" hr="true" displayorder="15" permissions="can_administer_plugins">
adding the permissions tag. The admin that I don't want access to this also doesn't have access to change plugins so that works.
Other categories you can use are
can_administer_bbcodes
can_administer_calendars
can_administer_cron
can_administer_faq
can_administer_forums
can_administer_images
can_administer_languages
can_administer_plugins
can_administer_settings
can_administer_styles
can_administer_threads
can_administer_user_permissions
can_administer_users