Jump to content

Bit more control top level

Featured Replies

Posted

Just writing some mods at the moment and come across a issue where'd i'd like to add some stuff to run at a top level when ipb is initialised. After bugging bfarber and looking around i see theres no real way to do this. So this is a request for a top level hook that we could add code to be initialised when the registry/controller is. Reason being we might want to setup some class to be part of ipb, do some includes and doing it in every little hook is a waste of time and not very OOP. It would need to be before any application is initialised (forums/members/blogs/mods) for it to be of use.

thanks and anyone got anything to add please do.

  • Author

this isn't a bump, :ph34r:*bump*:ph34r:

Can I add one, got a similar problem and trying to work out away around without including hooks on each page call to just included and load up the required file where I need the checks to be run.

cap

  • 3 months later...
  • Author

*bump*

after bugging bfarber more and i think josh is working on ipb 3.1 hooks so get on it :P.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.