TinyPortal

Development => Support => Topic started by: kwaka on October 06, 2022, 05:17:01 PM

Title: Hooks issue
Post by: kwaka on October 06, 2022, 05:17:01 PM
Hello,

Link to my forum: https://farroad.au
SMF version: SMF ver. 2.1.2
TP version: TP ver. 2.2.2
Default Forum Language: English British en_UK
Theme name and version: SMF Default Theme - Curve2
Browser Name and Version: Latest versions FireFox 105.0.2 (64bit) and Edge 106.0.1370.34 (Official build) (64-bit)
Mods installed: Mods list 16 as per attached screenshot. Not all are installed though.
Related Error messages: Hooks not found

This is a new SMF install not an upgrade.

In my SMF Forum ► Administration Center ► Forum Maintenance ► Integration Hooks I note several TP hook files not found.

List of TP hook files not found:
integrate_actions    TinyPortal\Integrate::hookActions
integrate_buffer    TinyPortal\Integrate::hookBuffer
integrate_default_action    TinyPortal\Integrate::hookDefaultAction
integrate_load_permissions    TinyPortal\Integrate::hookPermissions
integrate_menu_buttons    TinyPortal\Integrate::hookMenuButtons

I've uninstalled and deleted TP. Then downloaded TP afresh, uploaded and installed again but, the same hook files are not found.

Should I worry about these not found hook files?

Thanks.
Title: Re: Hooks issue
Post by: @rjen on October 06, 2022, 05:23:54 PM
Do you have any issues with TinyPortal?
Do you have any errors?
Title: Re: Hooks issue
Post by: @rjen on October 06, 2022, 05:36:27 PM
Just checked it: it is normal that SMF reports the hooks as missing...

TinyPortal is loading the hooks slightly differently from what SMF expects to see in the database. There is no issue: in fact you cannot even remove the TP hooks that SMF report missing: they are not in the database, but loaded via ONE hook: integrate_pre_load
Title: Re: Hooks issue
Post by: kwaka on October 06, 2022, 06:02:01 PM
Quote from: @rjen on October 06, 2022, 05:36:27 PM
Just checked it: it is normal that SMF reports the hooks as missing...

TinyPortal is loading the hooks slightly differently from what SMF expects to see in the database. There is no issue: in fact you cannot even remove the TP hooks that SMF report missing: they are not in the database, but loaded via ONE hook: integrate_pre_load

OK great! Thanks for the quick reply and explanation, terrific cheers @rgen.
I shall worry not.  O0