dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Integration Hooks Report  (Read 2163 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6648
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 11:22:15 AM
  • Deeply Confused Learner
  • Profession: IT Engineer
Integration Hooks Report
« on: June 14, 2021, 04:25:21 PM »
https://custom.simplemachines.org/mods/index.php?mod=3285

Description:

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.

Usage: Admin »Modification Settings »Integration Hooks



bug fix on line 327 in .Sources/Subs-IntegrationHooks.php:
 
find:
Code: [Select]
                                $sort[] = $$sort_options[0];
replace:
Code: [Select]
//                              $sort[] = $$sort_options[0];
                                if  ($sort_options[0] == "hook")
                                        $sort[] = $hook;
                                if  ($sort_options[0] == "function")
                                        $sort[] = $function;
                                if  ($sort_options[0] == "file_name")
                                        $sort[] = $file_name;
                                if  ($sort_options[0] == "status")
                                        $sort[] = $status;


Never remove hooks unless you know exactly why you wish to do so.
« Last Edit: June 14, 2021, 10:45:09 PM by Chip »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal