marc1706 wrote:But: What do you do if the HTML snippet or file you include is not compatible with the current style? Maybe this will break the whole page layout.
IRC wrote:(17:08:00) naderman: I think for a start a phpbb_class_finder('_task', $phpbb_root_path, 'includes/cron/task/') which searches the given directory as well as all MODs for classes with a _task suffix or something along those lines would work nicely
(17:08:01) nx-: my reply was not a sign-up
(17:08:08) naderman: so cron could then just use that to find its tasks
naderman wrote:With the new hook system and the way cron works we make it possible for MODs to consist only of files to be added. However presently they still need to be located in different directories in various places. I'm wondering if we can make it so that a MOD consists of exactly one directory so that uninstalling it simply means removing that directory (and database changes of course). Any thoughts on this?
Styles would likely still be either prosilver or subsilver2 based anyways so they would theoretically work the same as they do right now.
naderman wrote:This obviously only works for MODs that
a) do not need to modify code
b) do not need to place files into publically accessible places like the root directory.
Users browsing this forum: kasimi and 15 guests