Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#350 Patches for more flexibility

XOOPS_2.5
open
nobody
Core (214)
9
2012-09-25
2010-06-19
K.Ono
No

Here are some patches that would add more flexibility to the core system.
These are just additional event hooks so should not cause any compatibility problems.
The files are diff from the 2.4.5 RC3 release. I don't know if these would ever make it
to the core but hope it would soon..

Attached files:

  • htdocs_include_common.php.diff
    Adds a hook that would allow modules to initialize the current user object and
    its associated session. This combined with other event hooks that are already in 2.4.5 RC3
    such as core.edituser.start, core.register.start, system.admin.users.main.start and etc.,
    any module developer can create a custom user management module that can replace
    the functionality of the core user module.

  • htdocs_modules_system_admin_modulesadmin_main.php.diff

  • htdocs_modules_system_admin_modulesadmin_modulesadmin.php.diff
    The above 2 patches will add event hooks that are invoked upon successful module install/update/uninstall.
    These hooks are very important for modules that interact or utilize other modules.

Discussion

  • K.Ono
    K.Ono
    2010-06-19