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 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 861 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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
contents only visible to admin
#8
This is expected, it has always been this way.
You can make your own navigation function and use that instead...

just copy get_navigation
and a private and logged in check, perhaps you also want a author is user check, we don't know what you want therefore we do not filter them.

PHP Code:
            if ($page['menuStatus'] == 'Y') {
                if(!
is_logged_in() && (string)$page['private'] == 'Y') continue; 
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
contents only visible to admin - by olmy - 2013-10-26, 18:02:20
RE: contents only visible to admin - by shawn_a - 2013-10-26, 23:13:21
RE: contents only visible to admin - by olmy - 2013-10-26, 23:17:04
RE: contents only visible to admin - by shawn_a - 2013-10-26, 23:20:06
RE: contents only visible to admin - by datiswous - 2013-10-27, 10:05:54
RE: contents only visible to admin - by xxdex - 2015-09-15, 04:55:18
RE: contents only visible to admin - by shawn_a - 2015-09-15, 07:50:06



Users browsing this thread: 2 Guest(s)