Füge im Template "markitup" am Ende folgendes ein:
In der jscripts/markitup/sets/mybb/set.js muss die Zeile von dir geändert werden:
Und in der inc/plugins/markitup.php muss aus:
das werden:
	
	
	
	
	
Code:
<div class="modal" id="user_tagging" style="display: none;">
        <table width="100%" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" class="tborder">
                <tr>
                        <td class="thead" colspan="2"><strong>{$lang->username}</strong></td>
                </tr>
                <tr>
                        <td class="trow1" width="25%"><strong>{$lang->username}</strong></td>
                        <td class="trow1"><input name="username" id="tagging_username" type="text" value="" class="textbox" style="width:100px" /></td>
                </tr>
                <tr>
                        <td class="trow2" width="25%"><strong>Titel (optional)</strong></td>
                        <td class="trow2"><input name="title" id="tagging_title" type="text" value="" class="textbox" style="width:100px" /></td>
                </tr>
                <tr>
                        <td class="trow1" colspan="2">
                                <div align="center"><input name="submit" type="submit" class="button" id="tagging_submit" value="Einfügen" /></div>
                        </td>
                </tr>
        </table>
</div>
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/select2/select2.css?ver=1807">
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/select2/select2.min.js?ver=1806"></script>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
    MyBB.select2();
    $("#tagging_username").select2({
        placeholder: "{$lang->search_user}",
        minimumInputLength: 3,
        maximumSelectionSize: 3,
        multiple: false,
        ajax: { // instead of writing the function to execute the request we use Select2's convenient helper
            url: "xmlhttp.php?action=get_users",
            dataType: 'json',
            data: function (term, page) {
                return {
                    query: term, // search term
                };
            },
            results: function (data, page) { // parse the results into the format expected by Select2.
                // since we are using custom formatting functions we do not need to alter remote JSON data
                return {results: data};
            }
        }
    });
}
$('#tagging_submit').click(function() {
    if($("#tagging_title").val())
    {
        $.markItUp({target:markitup_instance, replaceWith:'[tag='+$("#tagging_username").val()+']'+$("#tagging_title").val()+'[/tag]'});
    }
    else
    {
        $.markItUp({target:markitup_instance, replaceWith:'[tag]'+$("#tagging_username").val()+'[/tag]'});
    }
    $.modal.close();
    return false;
});
// -->
</script>Code:
{name:'User erwähnen', className: 'tag', replaceWith: function(h){$('#user_tagging').modal({ fadeDuration: 250, keepelement: true})}}PHP-Code:
    global $mybb, $codebuttons, $templates, $lang; 
PHP-Code:
    global $mybb, $codebuttons, $templates, $lang, $theme; 

			![[Bild: banner.png]](https://www.mybb.de/files/images/banner.png)
 Vielen Dank für die Hilfe!
	
 Vielen lieben Dank!