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

How to using function tag user in redactor?

Discussion in 'XenForo Development Discussions' started by Nobita.Kun, Feb 7, 2014.

  1. Nobita.Kun

    Nobita.Kun Well-Known Member

    As title. I set redactor in my page. But I can't find any config to using function Tag User as reply thread :oops:
    @Mike , @Kier
  2. Chris D

    Chris D XenForo Developer Staff Member

    The auto complete functionality will just work without any configuration. You can disable it by adding this to the $editorOptions as you set the editor up in your view:
    'extraClass' => 'NoAutoComplete',
    As for the process of turning @tags to a username and alerting users, just look at the existing code:


    ...is a good place to start
  3. Nobita.Kun

    Nobita.Kun Well-Known Member

    Yep! I've added this code a long. But when I try to typing @user_name its don't show pop-up username :oops:
  4. Chris D

    Chris D XenForo Developer Staff Member

    That code disabled tagging.
    Nobita.Kun likes this.
  5. Nobita.Kun

    Nobita.Kun Well-Known Member

    :oops: Working now. Thank you ;)

Share This Page