AmericanRev2 Posted February 22, 2020 Posted February 22, 2020 can someone tell me what the code is to hide elements from certain user groups? I wish to hide my ads i have hard coded in global template from group id=4,10, 6, 11,7
Adriano Faria Posted February 22, 2020 Posted February 22, 2020 Not tested: {{if !\IPS\Member::loggedIn()->inGroup( array( 4, 6, 7, 10, 11 ) )}} Show ads {{endif}}
AmericanRev2 Posted February 22, 2020 Author Posted February 22, 2020 Please send me PayPal link for a small donation
DawPi Posted February 24, 2020 Posted February 24, 2020 On 2/22/2020 at 8:36 PM, fix3r said: can someone tell me what the code is to hide elements from certain user groups? I wish to hide my ads i have hard coded in global template from group id=4,10, 6, 11,7
Recommended Posts
Archived
This topic is now archived and is closed to further replies.