Announcement

Collapse
No announcement yet.

Lost access to $bbuserinfo in plugins after upgrade

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

  • Lost access to $bbuserinfo in plugins after upgrade

    After upgrading from 3.8.9 to 3.8.11 my plugin which runs on the showthread_complete hook, cannot function because it appears that the $bbuserinfo variable now contains nothing.

    Has there been a change or is there some new way for plugins to access $bbuserinfo from within a plugin? If not, it must be something else...

    [SOLVED]

    EDIT: This has been resolved by switching to:

    Code:
    is_member_of($vbulletin->userinfo
    Last edited by webscience; Tue 18 Jul '17, 7:33pm.

  • #2
    PHP 5.6.X has changed how some variables can be accessed. We've updated vBulletin but as you have found out, your add-ons may need further adjustments.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

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