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
QUESTION Theme scripts & styles enqueu
#7
ideally we would have better queuing and dequeuing and queue checking.
we have globals
$GS_scripts and $GS_styles, but these are for internal use.
items can be queued at any time so it might be difficult to check the queue, ideally you queue what you want, and GS decides how to output it.

So you could queue `jquery` version 1.11 and someone else queues 1.9, and we would output the best version. This is not implemented yet, but would be ideal for these situations. We could also make registering assets easier, so that you register your own assets or override core ones. In 3.4 this is how various stuff works, it would be possible to override the code_edit and html_edit assets for example. This is still kind of ifffy.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
Theme scripts & styles enqueu - by naug - 2015-06-04, 17:19:50
RE: Theme scripts & styles enqueu - by Tyblitz - 2015-06-04, 19:11:20
RE: Theme scripts & styles enqueu - by lnickel - 2015-06-04, 23:37:37
RE: Theme scripts & styles enqueu - by shawn_a - 2015-06-04, 23:47:20
RE: Theme scripts & styles enqueu - by Tyblitz - 2015-06-05, 00:58:37
RE: Theme scripts & styles enqueu - by lnickel - 2015-06-05, 01:34:39
RE: Theme scripts & styles enqueu - by shawn_a - 2015-06-05, 02:31:43



Users browsing this thread: 2 Guest(s)