FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » New Hook Request - COMPILER_BEFORE_OUTPUT (If it don't already exist that is ...)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: New Hook Request - COMPILER_BEFORE_OUTPUT [message #164990 is a reply to message #164978] Tue, 12 April 2011 10:03 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
Not sure I understand all of this, but it is quite easy to add a new hook. For example, to add a INITCORE hook, edit core.inc (loaded after GLOBALS.php, but before any templates are called) and add:

if (defined('plugins')) plugin_call_hook('INITCORE');


PS: You can use the existing INITUSER hook to check if the users is authenticated or anonymous.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Embed Related Wishlist for 3.0.3
Next Topic: Allow anonymous voting in [some] polls
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 00:03:05 GMT 2024

Total time taken to generate the page: 0.04162 seconds