Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
JustinWh Posted June 19, 2015 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!
Ahmad E. Posted June 19, 2015 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}}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.