TABLE OF CONTENTS › Setting Privileges

This is very simple to do, but it requires hacking the plugin code [in a very small way].

Go to the Textpattern [TXP] > ADMIN > PLUGINS tab, and click the EDIT link for Postmaster [PM].

This will bring up the actual PHP code for the plugin.

About 10 lines down from the top you’ll see:

// ---- SET PRIVILEGE LEVELS for "event=postmaster" -- see help for details

add_privs('postmaster', '1,2');

The second line tells TXP what users are allowed to see the TXP > EXTENSIONS > POSTMASTER tab. Currently, users of level ’1,2’ are allowed to see it, but you could change that to ’1,2,3’ or ’1,2,3,4’ or ’1,2,3,4,5’ or ’1,2,3,4,5,6’.

That’s it!

Back to the Table of Contents

Comment

Textile Help

Official Documentation for Postmaster (A Textpattern Plugin)

Get Postmaster

RELATED

REGULARS

DISCLAIMER

Postmaster is a plugin for Textpattern, and is licensed under the GNU GPL. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public Licens for more details.