Monday, 18 December 2023 14:52

Free download kunena 5 theme - BlueEagle5

If you want download free theme for Kunena5 Forum - do it.

If you like Theme Parketdoska.ua/forum then you can download latest version from GitHub https://github.com/ut4utc/WoodEagle5/archive/master.zip

or direct from this site

In new version Kunena 4x copyright location in root_folder/libraries/kunena/view.php

Find function on line 729 and replace it with my version or comments line 9 and 20:

// line 749
final public function poweredBy()
	{
		if ($this->inLayout)
		{
			throw new LogicException(sprintf('HMVC template should not call %s::%s()', __CLASS__, __FUNCTION__));
		}
		/* In here we are comment credits
		$credits = '<div style="text-align:center">';
		$credits .= JHtml::_('kunenaforum.link', 'index.php?option=com_kunena&view;=credits', JText::_('COM_KUNENA_POWEREDBY'), '', '', 'follow', array('style'=>'display: inline; visibility: visible; text-decoration: none;'));
		$credits .= ' <a href="https://www.kunena.org" rel="follow" target="_blank" style="display: inline; visibility: visible; text-decoration: none;">'.JText::_('COM_KUNENA').'</a>';
		if ($this->ktemplate->params->get('templatebyText'))
		{
			$credits .= ' :: <a href ="'. $this->ktemplate->params->get('templatebyLink').'" rel="follow" target="_blank" style="text-decoration: none;">' . $this->ktemplate->params->get('templatebyText') .' '. $this->ktemplate->params->get('templatebyName') .'</a>';
		}
		$credits .= '</div>';
		*/
		$credits = '';
	}
// end in line 749

Its work well!

To 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);
}

Hi People! If you like I need to get rid of annoying and unnecessary ordinary mortal fields in the front, here's what to do:

Need to go to find it /you_template/com_k2/default/itemform.php lines relating to these items and immediately remove it! :) And to think better and make for a smart ...

Those who have also installed Kunena forum and they want to make access to the facility and hut Published - can add a condition to check for moderatorstvo calling helper Kunena, like so: