1.The extension runs as a USER plugin except when queries are used. In this case the extension runs as a USER_INT plugin. The change is performed using a XCLASS of the class tslib_cObj based on an idea taken from Dmitry Dulepov (see See the TYPO3 bugtrack