Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
SCS Posted January 25, 2011 Posted January 25, 2011 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 :)
Mat B Posted January 25, 2011 Posted January 25, 2011 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).
SCS Posted January 25, 2011 Author Posted January 25, 2011 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 :)
Milad IPBPlug.in Posted November 7, 2011 Posted November 7, 2011 I second this request, we really need to extend this library.
teraßyte Posted November 8, 2011 Posted November 8, 2011 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.