Archive > 0.4.x Custom/Unofficial Modules

0.5.0_Support.php (so 0.5.0 modules work)

<< < (2/5) > >>

Slacklin:
I havent replace the security module, but I will see if that is the culprit. I did at one time try and use the AccessControlGUI from version 5 but that was deleted (I did have it in the 050 folder). Not sure if that would have modified anything.

The problem ended up being the OnlineDB.php file not being in the right spot.

Slacklin:
Another bug I thought I would mention is once the module is activated all other modules in the same file location are no longer loaded. I have tested this in both the ./modules folder and ./custom/modules folder.

Any other info I can provide to help this get resolved?

Temar:
since this module has to load the files it self, it cannot load from offical directories as those get loaded

put the 0.5 modules in custom/050/

Slacklin:
I think that I may have mislead you, all the version 5 modules load properly. It is the older custom 4 modules that are now refusing to load. For example I have the new twitter module loaded in the custom module folder yet when I have the 0.5.0 support module in the same folder it will not load.

c:\mybot\custom\modules\0.5.0_Support.php    <- Loads
c:\mybot\custom\modules\twitter.php     <- Does not load
c:\mybot\custom\modules\homer.php      <- Does not load
c:\mybot\custom\050\onlineorg.php        <- Loads

If I disable the module for 0.5.0 support the other modules in the same folder will load

c:\mybot\custom\modules\_0.5.0_Support.php    <- Disabled
c:\mybot\custom\modules\twitter.php     <- Loads
c:\mybot\custom\modules\homer.php      <- Loads
c:\mybot\custom\050\onlineorg.php        <- Does not load (for obvious reasons)

Now this is where it gets funky. If I move the twitter.php and homer.php plugin to the main module folder they will load

c:\mybot\custom\modules\0.5.0_Support.php    <- Loads
c:\mybot\modules\twitter.php     <- Loads
c:\mybot\modules\homer.php      <- Loads
c:\mybot\custom\050\onlineorg.php        <- Loads

To double back and test completely, I placed the 0.5.0 support module in the main module folder to see what happens.

c:\mybot\modules\0.5.0_Support.php      <- Loads
c:\mybot\custom\modules\twitter.php     <- Loads
c:\mybot\custom\modules\homer.php      <- Loads
c:\mybot\custom\050\onlineorg.php        <- Loads
c:\mybot\modules\About.php                 <- Does not load

So the module is loading all 0.5.0 modules properly it is the other 0.4.0 modules that are now not loading when the support module is in use.

Temar:
ah i realised why,
when support module loads and loads its 050 modules and i used same values as wat loaded support modules
problem is they are still in use as other modules in same folder as support module still need to be loaded

Posted a fix :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version