DVZ Mentions

Replaces @username with profile link and group color
Version: 0.2
Autor: Devilshakerz
Deutsche Übersetzung: noch nicht übersetzt
Hochgeladen: 09.07.2014
Letzte Aktualisierung: 15.07.2014
Support: https://www.mybb.de/forum/thread-30029.html (1 Beiträge)
Kompatibilität: MyBB 1.6.x
Bisherige Downloads: 13
Vorschau
Vorschau
Support thread: http://community.mybb.com/thread-155882.html

Overview
A simple plugin parsing @username (@"Complex Username") mentions into profile links with user's group display style.

This is the most optimized edition among other plugins with similar functionality as user-related information is being loaded using a single SQL query where possible and cached.

Compatible with JSON-encoded AJAX requests going through xmlhttp.php.

Setup
Activate or Deactivate the plugin to enable or disable mentions parsing.

Configuration
There are no ACP settings added, however you can configure whether you want to keep the @ prefix after username has been inserted, whether to mark the username with group display style (no unnecessary data will be also loaded if you disable this option) and add ignored words (mentioning these can be forced using quotation marks) in the plugin's file - lines 34-37:
Code
// configuration
    static $keepPrefix = true;
    static $color      = true;
    static $ignore     = array();
Change the first or second value either to true or false.
To set ignored words insert them into the array separated by comma and surrounded by quotation marks, for example: array('author', 'up', 'down').

Mentions catching
The following rules (used in regex expression on line 43) are followed:
- matching @username or @"username" (use second form for usernames that contain whitespace or characters: !?()[]{}),
- matching usernames with length of 3 characters or longer,
- not matching mentions "sticked" to strings, i.e. [email protected],
- not matching usernames that contain any of the characters: "<>,;&\

Quelle: DVZ Mentions bei MyBB.com

Ähnliche Erweiterungen

DVZ Mentions
DVZ Mentions 0.6 von Devilshakerz für MyBB 1.8.x
Replaces @username with a profile link and group color. Integrates with MyAlerts.

97 Downloads
Mention
Mention 1.0 von SuperNovaAO für MyBB 1.6.x
Mention users in Twitterstyle @username

30 Downloads
DVZ Stream
DVZ Stream 1.1 von Devilshakerz für MyBB 1.6.x
Creates real-time stream of new content appearing on the forums, available in small window on the index and a separate page.

13 Downloads
DVZ Stream
DVZ Stream 1.3 von Devilshakerz für MyBB 1.8.x
Forum index widget and a separate page displaying recent content as it appears.

7 Downloads
DVZ Shoutbox
DVZ Shoutbox 2.0 von Devilshakerz für MyBB 1.6.x
User & server -friendly AJAX chat

107 Downloads