[solved] How you can remove copyright Powered by 'Kunena' in Kunena 4x

  • (3 votes)
  • Written by 
  • Monday, 18 July 2016 12:03

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!

1216 Read Last modified on Monday, 23 October 2017

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.