You are not logged in.
Pages: 1
If i want an admin-side plug to work only on staff writers, what do i need to put into the plugin code?
if (@txpinterface==‘admin’) { add_privs(‘my_plugin’, ‘4’); }
doesn’t seem to do it. My publisher account at least is permitted, too. (Didn’t try for 2,3, 5 and 6).
Thanx for any hints.
Last edited by jayrope (2011-07-25 17:43:04)
jayrope
Offline
Rahhhh. Seems like i should have posted this in plugin development. Pardon me!
Last edited by jayrope (2011-07-25 18:05:32)
jayrope
Offline
Pages: 1