This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$plugins->add_hook('datahandler_pm_insert', 'pm_insert'); | |
$plugins->add_hook('private_do_send_end', 'pm_private_end'); | |
function pm_insert($handler) | |
{ | |
global $cache; | |
static $last_uid; | |
if(!isset($cache->cache['pmcache'])) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$plugins->add_hook('showthread_start', 'plugin_showthread_start'); | |
$plugins->add_hook('showthread_end', 'plugin_showthread_end'); | |
$plugins->add_hook('postbit', 'plugin_postbit'); | |
function plugin_showthread_start() | |
{ | |
global $unique_uids; | |
$unique_uids = []; | |
// Other showthread_start code |