11
Quote:
A preload can also be used instead of creating a cron job.
Yes. but i prefer to use it just as it is. load needed functions
before load the module.
for example protector need it because it want to protect other modules and core.
userlog also need it because it want to log other modules and core.
I think using a hidden block is better for a cron job because cron job is a part of module not core or other modules. Also it will be more customizable by end user. he can activate the block in some parts of his website.
preloads seems nice and clear but the underlaying part is a core hack.
@redheadedrod :
without preloads you have to hack XOOPS255/footer.php or XOOPS255/mainfile.php to add your needed codes to core. preloads are invented just to solve this issue.
It is just a
trigger to include/load your added codes at your needed place.