Customizing SMF > Modifications and Packages

Integration Hooks Report

(1/9) > >>

emanuele:
Complete credit for this mod goes to [SiNaN] (to me only the blames for having uploaded it only after several months...sorry everybody)

This mod adds an admin page where all the active hooks are presented.

Starting with version 1.3 it's possible to disable active hooks.
Please note disable hooks will most likely remove functionalities added by mods and in certain cases could break your forum! Do it only if you are absolutely sure of what you are doing
...I know this warning is useless and someone will eventually break it... :P ...well, it's not my fault.

The mod is also available at github: https://github.com/emanuele45/IntegrationHooks

Translations not yet in the package

Version log

* 1.0: initial release (thanks [SiNaN])
* 1.1: added recursive scan of $sourcedir (see Feline's comment)
* 1.2: fixed a couple of issues (thanks [SiNaN]) and added Russian translation (thanks Bugo)
* 1.3: added inactivation of hooks and filter by hook - fixed issues reported by Bugo and updated Russian translation (thanks Bugo)
* 1.4: fixed undefined index error reported by phantomm; added Spanish Latin (thanks 4Kstore) and Polish translations (thanks phantomm); fixed another error (wrong icon for delete)
* 1.5: fixed the enabling/disabling and removal of hooks that were broken...
* 1.5.1: restored the filter, added Italian translation, ignoring backup files, other minor fixes
* 1.5.2: fixed hooks to be php 5.4 friendly; fixed (again) hooks filter function that was breaking the disabling of hooks; update Russian translation (thanks Bugo)
* 1.5.3: added Dutch translation (by Yoshi2889)

N. N.:
Thank you, Emanuele, I think this mod will be useful for admins to know what hooks did mods add and eventually remove those they may not want or need (such as a menu/submenu item they may find to add too much to their menus). As a step towards a true menu editor, that. ;)

Or, if a hooked function is causing problems, the admin interface for hooks may allow to see which it is - unless the problematic function is affecting admin panel itself, of course.

I wonder how can this mod be improved, to be more useful, that is, to respond better to the needs of admins regarding the hooks mods installed on their forums may use?

Anthony`:

--- Quote from: Norv on January 08, 2012, 12:12:00 PM ---I wonder how can this mod be improved, to be more useful, that is, to respond better to the needs of admins regarding the hooks mods installed on their forums may use?

--- End quote ---

Enable/disable hooks from being executed? Create hooks? Modify existing hooks using the interface?

feline:
That mod don't work correct ... it will only find files in the Source folder, but not in a subfolder of the Source folder.
Because may mods don't install all in the Source folder (like SimpleDesk, PortaMx) many active hooks will shown as Missing  :(
Also the Filename which hold the hook function would be interest ...

emanuele:
Hi feline,

thank you for the report.
See if version 1.1 fixes this issue. :)

If you can confirm I'll remove 1.0 from download.

Navigation

[0] Message Index

[#] Next page

Go to full version