• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[XI] Tag 1.0.2

No permission to download

Jeremy

Well-known member
#1
King Kovifor submitted a new resource:

[XI] Tag - Adds a "Tag" link to posts

What is [XI] Tag?

[XI] Tag adds a simple "Tag" link to posts (as discussed in this suggestion) that will add the default tag (@USERNAME) to the editor (both Redactor and BBCode editor). It even supports the non-JavaScript based method (as with the "Reply" link).

Installation
Installation is simple, just follow these steps:
  1. Upload the contents of the upload folder in the download....
Read more about this resource...
 

Jeremy

Well-known member
#3
Better? Basically, next to "Reply" it adds a "Tag" link which will insert the username into the editor (so clicking tag on mine would add @King Kovifor into the editor).
 

DRE

Well-known member
#4
The first screenshot is a post by Jeremy.. tagging himself. That I did not understand.

If the screenshot was of Jeremy saying something (but with no tag) I would not have been confused.

Then the second screenshot being a reply by the user test who hit the tag button and @Jeremy showed up in the reply box.

In both rich text editer and BB Code editor.

Then the next screenshot after that would be a post by the user named Test, tagging Jeremy.
 

StRonK

Active member
#7
Hi @King Kovifor
Do you mind if I added the code + ', '
Code:
            if(ed.$editor) {
                ed.insertHtml('@' + $trigger.data('username') + ', ');
                if (ed.$editor.data('xenForoElastic'))
                {
                    ed.$editor.data('xenForoElastic')();
                }
            } else {
                ed.val(ed.val() + '@' + $trigger.data('username') + ', ');
            }