if module doesn't exists don't use it
I wanna make in my plugin if csdm module doesn't exists so don't use it:
PHP Code:
Sorry for Bad English |
Re: if module doesn't exists don't use it
Quote:
|
Re: if module doesn't exists don't use it
plugin_init() is called after native_filter() and module_filter(),
and I need to check it before so I could trap the module. Any Suggestions? |
Re: if module doesn't exists don't use it
You are wrong, return HANDLED if module checked is csdm, then, in plugin_init, check if module is loaded and set the global var that will tell later to your plugin wheter he should use csdm natives or not.
I suggest you to have a look at plmenu.sma from default package. |
Re: if module doesn't exists don't use it
sh*t I found the problem... in my csdm server native_filter
and modul_filter O_o never gets called and if I pass it other server it works fine.. I check that using this code: PHP Code:
|
| All times are GMT -4. The time now is 09:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.