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)
#35
Hello, I'm hoping you can help me accomplish something with your plugin (which is great by the way!).

I want to allow three different groups to be able to login and access one page of my website. I would like the page to have three different content areas, one for each group. So if you're logged in under "Group A", you'll only see the content for that group - if you're logged in under "Group B", you'll only see the content for that group, etc...

Can you tell me if this is possible and how to edit the code below to make it work? Thanks!

PHP Code:
<?php if(!empty($_SESSION['LoggedIn']))    { ?>
Group A Content
<?php ?>

<?php if(!empty($_SESSION['LoggedIn']))    { ?>
Group B Content
<?php ?>

<?php if(!empty($_SESSION['LoggedIn']))    { ?>
Group C Content
<?php ?>
Reply


Messages In This Thread
RE: Front End User Login Enhanced Plugin (XML only) - by bensayers - 2015-02-19, 13:48:38



Users browsing this thread: 11 Guest(s)