<?php
/* by Tomasz 'Devilshakerz' Mlynski [devilshakerz.com]; Copyright (C) 2014-2015
released under Creative Commons BY-NC-SA 4.0 license: http://creativecommons.org/licenses/by-nc-sa/4.0/ */
function dvz_mentions_info()
{
global $lang;
$lang->load('dvz_mentions');
return [
'name' => 'DVZ Mentions',
'description' => $lang->dvz_me_description . DVZMentions::$descriptionAppendix,
'website' => 'http://devilshakerz.com/',
'author' => 'Tomasz \'Devilshakerz\' Mlynski',
'authorsite' => 'http://devilshakerz.com/',
'version' => '0.5.1',
'codename' => 'dvz_mentions',
'compatibility' => '18*',
];
}
class DVZMentions
{
// configuration
static $keepPrefix = true;
static $color = true;
static $ignore = [];
static $minLength = 3;
static $maxLength = 30;
static $mentionLimit = 10000;
static $queryLimit = 10000;
static $descriptionAppendix = null;
}
require MYBB_ROOT . 'inc/plugins/dvz_mentions/core.php';
// modules - comment out to disable
require MYBB_ROOT . 'inc/plugins/dvz_mentions/links.php'; // profile links on "@" calls
require MYBB_ROOT . 'inc/plugins/dvz_mentions/alerts.php'; // MyAlerts integration
Loading Info...