• 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?

Vincent

Well-known member
#1
Hello mateys,

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

EQnoble

Well-known member
#3
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?
 
R

ragtek

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

Vincent

Well-known member
#5
I'm not sure if there's a easier way, but this is also working:
PHP:
$userModel = $this->_getUserModel();
$identies = $userModel->getIdentities(XenForo_Visitor::getUserId());
$skypeName = $identies['skype'];
How do I use it IN templates? :S
 
R

ragtek

Guest
#6
In which one? I think you need to add the var to the viewparams of the already returned view....