Skip to content

Commit

Permalink
Merge pull request #230 from WildcardSearch/maintenance
Browse files Browse the repository at this point in the history
3.2.7 Release
  • Loading branch information
Mark Vincent authored Aug 8, 2018
2 parents 2483300 + 693c892 commit 16b2deb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
## MentionMe 3.2.6
## MentionMe 3.2.7

A plugin for MyBB 1.8.x that allows Twitter-style tagging and integration with [MyAlerts](https://github.com/euantorano/MyAlerts)

While this plugin works with MyAlerts, it is not necessary for the tagging features to work. When MyAlerts is installed integration is enabled by default (in Admin CP).

MyBB Release Thread: http://community.mybb.com/thread-131448.html

Twitter Addons: https://github.com/Advanced-Sidebox/Twitter-Addons

#Features
* mention auto-completion while typing`*`
* supports standard textarea, SCEditor (default WYSIWYG), CKEditor (Rin Editor, etc.), MHEditor (doylecc)
Expand Down
6 changes: 3 additions & 3 deletions Upload/inc/plugins/MentionMe/alerts.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ function mentionMeStripQuotes($message)
*/
function mentionMeCheckPermissions($username, $uid, $fromUID, $fid, $tid)
{
global $cache;
static $nameCache, $myCache, $db;
global $cache, $db;
static $nameCache, $myCache;

// cache names to reduce queries
if ($myCache instanceof MentionMeCache == false) {
Expand Down Expand Up @@ -354,7 +354,7 @@ function mentionMeCheckPermissions($username, $uid, $fromUID, $fid, $tid)
}

// check if this is the user's thread
$query = $db->simple_select('thread', 'uid', "tid='{$tid}'");
$query = $db->simple_select('threads', 'uid', "tid='{$tid}'");
$isOp = $uid > 0 && (int) $db->fetch_field($query, 'uid') == $uid;

// check for permissions in all the user's groups
Expand Down
2 changes: 1 addition & 1 deletion Upload/inc/plugins/mention.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// checked by other plugin files
define('IN_MENTIONME', true);
define('MENTIONME_VERSION', '3.2.6');
define('MENTIONME_VERSION', '3.2.7');

// register custom class autoloader
spl_autoload_register('mentionMeClassAutoLoad');
Expand Down

0 comments on commit 16b2deb

Please sign in to comment.