Only need Monitor and Modect : which file to patch ?

Forum for questions and support relating to the 1.30.x releases only.
Locked
eric29
Posts: 26
Joined: Sat Sep 30, 2017 8:28 am

Only need Monitor and Modect : which file to patch ?

Post by eric29 »

Hi Guys,

I would like that some unprivileged users don't see Mocord or Record function in the popup window and in Zmninja.

I want that these users can only modify camera mode like this : Monitor, Modect .

I don't see the files i need to modify to do this.

Can you help ?

In advance, thanks.

Eric
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Only need Monitor and Modect : which file to patch ?

Post by bbunge »

Don't give them access to settings.
eric29
Posts: 26
Joined: Sat Sep 30, 2017 8:28 am

Re: Only need Monitor and Modect : which file to patch ?

Post by eric29 »

Hi,

Thanks for your response but if i don't give them access in column CAMERA/EDIT mode they can't modify the camera mode from monitor to modect.

What i need for restricted users is to permit them only these two setting mode without MOCORD or RECORD.

Any idea ?

Eric
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Only need Monitor and Modect : which file to patch ?

Post by rockedge »

you completely shut off access through ZM and make a small script that uses the API to set monitor or modect with a button or similar. OR one can go into the php and enhance the logic that decides the permissions, something like this perhaps will work for you
memberlist.php?mode=viewprofile&u=21840
eric29
Posts: 26
Joined: Sat Sep 30, 2017 8:28 am

Re: Only need Monitor and Modect : which file to patch ?

Post by eric29 »

Hi
Thanks for your reply. Is there someone interested in writing such a script ?

Eric
Locked