zylstra
11-08-2013, 02:10 AM
How can I use $vbulletin->db methods, like query_read(), without globalizing $vbulletin and requiring global.php in my plugin that uses those methods?
I can access userinfo and a whole bunch of other variables by using $this->registry->[...], but $this doesn't appear to contain $vbulletin->db.
I can access userinfo and a whole bunch of other variables by using $this->registry->[...], but $this doesn't appear to contain $vbulletin->db.