Jump to content

Download: IP.Content Mod Queue Blocks


Nick²

Recommended Posts

  • 2 weeks later...
Posted

Use permission masks to limit access to this page to your staff.


Sorry, but I don't know what permission masks to put in the code - IPB newbie :)

Can you please assist?
Posted

Sorry, but I don't know what permission masks to put in the code - IPB newbie :)



Can you please assist?




When you create the page that you will place the blocks on, one of the steps will be to set permissions. You should set it something like this:
%7Boption%7D
Posted

OK, so I can't place these blocks on an existing page? I was hoping to place them on my homepage but to have some code to specify only Staff allowed to view.

Posted

OK, so I can't place these blocks on an existing page? I was hoping to place them on my homepage but to have some code to specify only Staff allowed to view.




You can, but instead of permission masks you'd use IP.Board template logic show it only to your staff groups. You'll need to use PHP's in_array if you want to show it to more than one group.

<if test="$this->memberData['member_group_id'] == '4'">
parse the blocks
</if>

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...