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

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?
 
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?
 
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'];
 
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
 
In which one? I think you need to add the var to the viewparams of the already returned view....
 
Top Bottom