Jump to content

Can somebody tell me the syntax for...


Recommended Posts

{{if \IPS\Member::loggedIn()->inGroup( array(x, y, z) )}}
Your code limited to x, y and z user groups.

Where array(x, y, z) defines the user group IDs, if you want it for single member group, then replace array(x, y, z) for the member group id.

To get the name of the logged in member, I think you can just use {member="name"}

Link to comment
Share on other sites


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

  • Recently Browsing   0 members

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