How do I get a user ID to Kunena and his avatar from any part of the site?
Written by Admin Wednesday, 22 April 2015 09:26To obtain a user ID to Kunena and his avatar from any part of the site you want to call helper
if (class_exists('KunenaFactory')) { $kuser = KunenaFactory::getUser(JFactory::getUser()->id); $kavatar = $kuser->getAvatarImage('', $width, $height); }
Latest from Admin
- [solved] How to delete text symbol from php line?
- [solved] How to delete all version from cource code in css & js files with your theme
- [solved] Deprecated: Methods with the same name as their class will not be constructors ... www/plugins/content/jw_sigpro/jw_sigpro.php on line 19
- Apple does not specifically show its announcements in other browsers. #appleshit
- [Schema.org] Micro-markup menu items