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

How do I use the output of the 'Skype' contact textarea in my template?

Discussion in 'XenForo Development Discussions' started by Vincent, Jan 4, 2011.

  1. Vincent

    Vincent Well-Known Member

    Hello mateys,

    I'm wondering how I can use the output of the 'Skypename' that my users entered for something in my templates?
  2. Vincent

    Vincent Well-Known Member

    Darn, just 18 views :)

    Guys, I really need it, sorry for spamming ;)
  3. EQnoble

    EQnoble Well-Known Member

    Are you asking for ideas to use this with or specificly how to implement it.

    If your talking random ideas... why not an add contact button?
  4. ragtek

    ragtek Guest

    I'm not sure if there's a easier way, but this is also working:
    $userModel $this->_getUserModel();
    $identies $userModel->getIdentities(XenForo_Visitor::getUserId());
    $skypeName $identies['skype'];
  5. Vincent

    Vincent Well-Known Member

    How do I use it IN templates? :S
  6. ragtek

    ragtek Guest

    In which one? I think you need to add the var to the viewparams of the already returned view....
  7. Vincent

    Vincent Well-Known Member

    In the forum_sidebar and in the message template.

Share This Page