Introducing Quests: Tailored gamification & bridging in-person events with your community Mike Gitkos Friday at 12:39 PM2 days
Posted January 25, 201114 yr Hi! I'd like to know if it's planned to add (library) hook possibilities for all the classes in the files inside ips_kernel directory. I've seen some already being loaded with such possibility but I also have seen some that are not. Perhaps they all could be included by default? Thanks :)
January 25, 201114 yr Could you indicate specifically which ones you'd like to see loaded with library hooks? There are many classes in there that are loaded far too early in the initialisation process to be hooked as the database and/or registry aren't loaded yet (you won't be seeing any hooks for classDb, as an example).
January 25, 201114 yr Author Could you indicate specifically which ones you'd like to see loaded with library hooks? There are many classes in there that are loaded far too early in the initialisation process to be hooked as the database and/or registry aren't loaded yet (you won't be seeing any hooks for classDb, as an example). The one I need the most is the classUpload class. I have a custom directory structure and file size limitations for uploads and because of this I had to modify the classUpload.php file directly. This file is called on the files below:admin/applications/core/sources/classes/attach/class_attach.php admin/applications/core/modules_admin/tools/rebuild.php admin/sources/classes/member/memberFunctions.phprequire_once( IPS_KERNEL_PATH.'classUpload.php' ); $upload = new classUpload(); Thanks :)
November 8, 201113 yr classUpload: already added in IP.Board 3.2 class_attach: already added in IP.Board 3.2 rebuild.php: you can already extend this module with an action overloader on "admin_core_tools_rebuild" since IP.Board 3.0 memberFunctions: already added in IP.Board 3.2
Archived
This topic is now archived and is closed to further replies.