TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 12:45:49 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 192
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 75
  • Total: 75

Hooks issue

Started by kwaka, October 06, 2022, 05:17:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kwaka

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.

@rjen

Do you have any issues with TinyPortal?
Do you have any errors?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

@rjen

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
Running Latest TP on SMF2.1 at: www.fjr-club.nl

kwaka

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