2015-02-20, 01:19:36
(2015-02-19, 18:43:48)ds10 Wrote:PHP Code:<?php
$currentUserGroups = getCurrentUserGroups();
foreach($currentUserGroups as $userGroup) {
if($userGroup == 'GroupA') {
?>Group A Content<?php
}
elseif($userGroup == 'GroupB') {
?>Group B Content<?php
}
elseif($userGroup == 'GroupC') {
?>Group C Content<?php
}
elseif($userGroup == 'Unauthorized') {
?>Default Content<?php
}
}
?>
This is exactly what I was hoping for - thank you so much for your assistance! Great plugin and support!