The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Front End User Login Enhanced Plugin (XML only)
#37
(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!
Reply


Messages In This Thread
RE: Front End User Login Enhanced Plugin (XML only) - by bensayers - 2015-02-20, 01:19:36



Users browsing this thread: 7 Guest(s)