Events
Please note: This page is under construction and has not been finished yet.
Introduction
Plugin developers can hook into various e107 core events and trigger functions of their own. Typically, an e_event.php file is used to store this information since it is loaded with every page.
From e107 version 2.1.2 onwards you can use e_event.php addon to catch the events instead of using e_module.php
Events methods
register()
Example 1: trigger myFunction()
on user login.
myFunction()
on user login.Example 2: trigger myFunction()
on user login. Function in external file.
myFunction()
on user login. Function in external file.Example 3: trigger a class and method on user login.
trigger()
Triggers an event. This can be used by plugin authors to create their own plugin events that other developers can hook into.
Core Event triggers
User Event Triggers
Basic user functions
Custom page
News
Private Messenger
Forum
Chatbox
Admin Event Triggers
Admin changes their password
Comments Manager
Downloads
News
Pages
Users
Last updated