JustinWh Posted June 19, 2015 Share Posted June 19, 2015 Hello,I want to style differently the posts of all members who are in the "premium" member group on my forum. I was able to pull this off in 3.4.7 with an IF statement that was something along the lines of: if member group = premium { insert modified code here } else { insert default code here }Does anyone have this code?Thanks! Link to comment Share on other sites More sharing options...
Ahmad E. Posted June 19, 2015 Share Posted June 19, 2015 {{if \IPS\Member::loggedIn()->inGroup( array(1,2,3) )}} //Code here for grouos 1,2&3 {{else}} //Code here for other groups {{endif}} Link to comment Share on other sites More sharing options...
JustinWh Posted June 19, 2015 Author Share Posted June 19, 2015 Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.