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 1121 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 830 postParser->parse_message
/showthread.php 1121 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 1121 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 830 postParser->parse_message
/showthread.php 1121 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
Changing Admin Panel start page
#1
When you log in GetSimple admin panel, you are taken directly to Page Management.
You may prefer to start with a different tab, or your favourite plugin.

To do this, edit /admin/inc/configuration.php line 16 (GS 2.0x) or line 18 (GS 3.0):
Code:
$cookie_redirect = 'pages.php';

Examples:

Start with File Management:
Code:
$cookie_redirect = 'upload.php';

Start with your typical plugin:
Code:
$cookie_redirect = 'load.php?id=typicalplugin';

Start with SquareIt GS Gallery:
Code:
$cookie_redirect = 'loadtab.php?id=squareit-gallery&item=squareit-gallery';

(Sorry, I haven't found a way to do this without patching the core... don't think it can be done with a plugin right now)

(Edit: updated for GS 3.0)
Reply
#2
Carlos Wrote:Don’t think it can be done with a plugin right now
I think you’re right. I don’t think we’ll make it able for plugins to do either, plugins battling to be the first screen you get is something I would try to avoid.

It’s a pretty nice trick though, thanks for sharing.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#3
This trick was for GS 2.0x
In GS 3.0, it's line 18 instead of 16.
Reply




Users browsing this thread: 1 Guest(s)