Log in

View Full Version : Is it possible?


InfiniteWebby
09-06-2005, 10:22 PM
Is it possible to grab a single plugin, rather than the whole hook in an additional file.

For instance:

I have my top X stats hack and the code in the additional topXstats.php file is much the same as the plugin in the forumhome_complete template. So to prevent me from having to change both files whenever a change is made can I include just the top X stats plugin inside the forumhome_complete rather than the entire forumhome_complete hook?

I've been messing around a bit and can't find a way =( Maybe someone can help me.

Marco van Herwaarden
09-07-2005, 03:52 AM
Just put the code in a function inside in includes/functions_mytopxstats.php.
Then require_once of the above file in the plugin, and call the function.

InfiniteWebby
09-07-2005, 03:58 AM
Yah I was thinking that but I'd prefer to be able to edit the whole thing inside the plugin manager. Just call it an idiosyncracy (sp?) of mine.

Marco van Herwaarden
09-07-2005, 04:11 AM
Then it would not be possible i think.