Announcement

Collapse
No announcement yet.

CMS and global_setup_complete

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] CMS and global_setup_complete

    Hello,

    Does vBulletin CMS process not load the plugins at global_setup_complete? I have a product that loads an object at that hook and then the CMS displays a lot of errors about that object not being available even though it is available in vBulletin forums.

    What is the problem here?

    If vBulletin CMS does not access that hook at all, what are the first that it does access?

  • #2
    If you do a search for the hook in the files, you'll find this listed:
    Code:
    // Deprecated as of release 4.0.2, replaced by global_bootstrap_complete
    ($hook = vBulletinHook::fetch_hook('global_setup_complete')) ? eval($hook) : false;
    Also, note this:
    Code:
    // Deprecated as of release 4.0.2, replaced by global_bootstrap_init_start
    ($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false;

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment


    • #3
      It's good to know that the deprecation of these hooks is documented in the file. Are there any other deprecated hooks? Could you maybe make a centralized documentation of these? Thanks.

      Comment


      • #4
        Those are the only two that got deprecated in 4.0.2 that I can find.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X