How and which global variables could one use in plugins in vb4?
I am trying to adapt a 3.8 plugin into vb4, which replaces forum titles globally everywhere.
For instance depending on value of $vbulletin->userinfo[languageid] forum titles have to be changed using
Where $id runs all available ids of forums
I am trying to adapt a 3.8 plugin into vb4, which replaces forum titles globally everywhere.
For instance depending on value of $vbulletin->userinfo[languageid] forum titles have to be changed using
Code:
$vbulletin->datastore->registry->forumcache[$id]['title'] = $NEW_title['title'];