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

[SOLVED] UserTagger in Addon

Discussion in 'XenForo Development Discussions' started by Bugfix, Oct 2, 2014.

  1. Bugfix

    Bugfix Member

    Hello!

    I use the Standard-Editor in my Addon (XenForo_ViewPublic_Helper_Editor).
    I can tag users - seems to be built in in the editor - nice :)

    But: When I view my page then the tagged users aren't linked to the profile.
    Is there a docu or do you have a code-snipped for me how to do that?

    Thank you!
    Harald
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    As ever the best code snippet is already in the code.

    Take a look at how XenForo already does it for posts. It's basically the same thing you have to do in your own code.
     
    Bugfix likes this.
  3. Bugfix

    Bugfix Member

    OK, this really was an easy one... :rolleyes::cool:

    for others:
    PHP:
    $taggingModel $this->getModelFromCache('XenForo_Model_UserTagging');
            
    $taggingModel->getTaggedUsersInMessage($message$message);
     
    Chris D likes this.

Share This Page