Page 1 of 2

Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Sun Jul 01, 2012 8:29 pm
by ozzz
How can I remove the "Powered by Kunena Forum" in Kunena 2.0? Its not the same as it was with 1.7...

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Sun Jul 01, 2012 9:52 pm
by mandville
Have you asked on the kunena forums?

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Mon Jul 02, 2012 6:19 am
by ozzz
Nope; this question wont be answered there, even when you donate. Hope someone here can help out?

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Mon Jul 02, 2012 7:03 pm
by kenmcd
.
In file
joomla25_root/administrator/components/com_kunena/libraries/view.php

Find this code at around line 73

Code: Select all

			echo $this->poweredBy();
Change to

Code: Select all

//			echo $this->poweredBy();
In my brief tests that eliminated the nag.


The actual code is lower down in the same file around line 394

Code: Select all

	final public function poweredBy() {
			$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="http://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>';
			echo $credits;
	}

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Tue Jul 03, 2012 7:00 am
by blackwednesday
Thanks so much for your help. The suggestion worked perfectly. I am using Joomla 2.5.6 w/the most recent version of Kunena. Locating the correct file would have taken forever.

That said; I am a paid member, and surprised that the Kunena folks required this much surgery for what must be a common request. I will have a 'credits' page, and will list them there once everything is setup fully...but...this was almost disheartening.

Anyhow, thanks again. I'd love some feedback if you have time: http://louisvilledem.com

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Fri Aug 24, 2012 6:17 am
by peetree21
thanks!!

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Wed Sep 19, 2012 10:02 pm
by sozzled
For the official response from the Kunena Project, please read Please help me understand the GPL for Kunena

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Wed Sep 19, 2012 10:17 pm
by kenmcd
sozzled wrote:For the official response from the Kunena Project, please read Please help me understand the GPL for Kunena
What does that have to do with this issue?

.

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Mon Sep 24, 2012 6:57 am
by faazz
kenmcd wrote:.
In file
joomla25_root/administrator/components/com_kunena/libraries/view.php

Find this code at around line 73

Code: Select all

			echo $this->poweredBy();
Change to

Code: Select all

//			echo $this->poweredBy();
In my brief tests that eliminated the nag.
Thank you!

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Tue Oct 23, 2012 2:39 pm
by erixis
Alternatively, you can comment out line 403

original:

403 echo $credits;

to

403 // echo $credits;

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Thu Nov 08, 2012 9:56 am
by uzbaby
Hello dears. I have the latest version of Kunena. But theres is no any folder named LIBRARY. there is only lib but it doesn't consist view.php.
Please can anybody help me to find and remove powered by kunena.

thank you in advance

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Thu Nov 08, 2012 1:03 pm
by erixis
uzbaby,

The latest Kunena version is 2.0.2

There IS a libraries folder and a view.php file.

I suspect you are looking in root/components/com_kunena/ rather than root/administrator/components/com_kunena/

the libraries folder is in the administrator /components/com_kunena

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Fri Nov 09, 2012 2:14 am
by uzbaby
erixis THANK YOU SO SO VERY MUCH!!!!!
I did as you said and it works....oh I spend almost 2 weeks in order to find that word. Thank you so much!

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Fri Nov 09, 2012 2:39 am
by erixis
Uzbaby!

Glad you got a solution!

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Fri Dec 07, 2012 2:39 am
by mysticmedia
kenmcd wrote:
sozzled wrote:For the official response from the Kunena Project, please read Please help me understand the GPL for Kunena
What does that have to do with this issue?

.
Should we expect anything less from Sozzled? This is the reason I don't waste my time with the so-called Kunena support.

Thanks to everyone who helped with this issue... it really helped me after a recent update. Kudos to the Joomla support community!!

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Tue Jan 29, 2013 12:32 am
by vachos
thanks alote the //403 echo $credits;
works perferct

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Wed Jan 30, 2013 10:22 am
by liang68123
but now,it seems like the two methods didn't work for Kunena 2.04 at present,could you guys gives me some suggestions,thanks in advance!!

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Wed Jan 30, 2013 10:39 am
by brian
Its no longer line 73 but is now line 82

change

Code: Select all

	if ($this->config->get('credits', 1)) echo $this->poweredBy();
to

Code: Select all

	// if ($this->config->get('credits', 1)) echo $this->poweredBy();

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Sat Feb 02, 2013 11:21 pm
by liang68123
brian wrote:Its no longer line 73 but is now line 82

change

Code: Select all

	if ($this->config->get('credits', 1)) echo $this->poweredBy();
to

Code: Select all

	// if ($this->config->get('credits', 1)) echo $this->poweredBy();

hay brian,you British are the most intelligentest ppl on dis planet!

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Tue Feb 26, 2013 3:30 pm
by mircomgroup
brian wrote:Its no longer line 73 but is now line 82

change

Code: Select all

	if ($this->config->get('credits', 1)) echo $this->poweredBy();
to

Code: Select all

	// if ($this->config->get('credits', 1)) echo $this->poweredBy();
I think I found a better method. You can update the kunenu_configuration table - add a credits = 0 parameter and it will no longer show the item. That way you don't have to hack a component file.

Code: Select all

{"credits":"0",
"board_title":"YOUR FORUM NAME",
"email":"",
"board_offline":"0"

... etc etc


Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Thu Mar 07, 2013 9:43 am
by hammyzone
The line in the view.php file

Code: Select all

$credits = '<div style="text-align:center">';
change to

Code: Select all

$credits = '<div id="kuncredits">';
In your CSS template:

Code: Select all

#kuncredits {
display:none;
}

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Mon Mar 18, 2013 3:48 am
by noobically_sane
even easier, dont bother look for template css just do this:

line 423,
$credits = '<div style="text-align:center">';

change to this

$credits = '<div style="text-align:center; display:none;">';

basically just adding this display none in side this same code.

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Wed Mar 27, 2013 3:02 am
by tarekitsme
brian wrote:Its no longer line 73 but is now line 82

change

Code: Select all

	if ($this->config->get('credits', 1)) echo $this->poweredBy();
to

Code: Select all

	// if ($this->config->get('credits', 1)) echo $this->poweredBy();
yes it did work,,thanks a lot ,,,amazing job

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Wed Apr 17, 2013 1:43 pm
by abdulrehman
thanks, it work...
kenmcd wrote:.
In file
joomla25_root/administrator/components/com_kunena/libraries/view.php

Find this code at around line 73

Code: Select all

			echo $this->poweredBy();
Change to

Code: Select all

//			echo $this->poweredBy();
In my brief tests that eliminated the nag.


The actual code is lower down in the same file around line 394

Code: Select all

	final public function poweredBy() {
			$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="http://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>';
			echo $credits;
	}

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Wed Apr 24, 2013 8:58 am
by DarKMaSk
It is so much confusing that inspite of doing everything in this thread, the 'Powered by Kunena' has not been removed. I want to do that neither to deprive them or disrespect the efforts of Kunena developers, nor to make profit out of that, but the reason is totally personal. But, none of these informations worked.

BTW the file 'view.php' would be found in '/public_html/libraries/kunena/'. The path as well as the code mentioned here in many posts is wrong. And the actual code,

Code: Select all

if ($this->config->get('credits', 1)) $this->poweredBy();
in line 82 doesn't exist any more, it can be found in line 86. And in line 427 this code can be found:

Code: Select all

final public function poweredBy() {
			$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="http://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>';
			echo $credits;
}
I deactivated all these codes by putting '//' at the start of each line, though it didn't work at all. Its my bad luck. :(

If anyone can help, it will be greatly appreciated. Thanks. :(

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Sat Apr 27, 2013 3:40 am
by HWI
mircomgroup wrote: I think I found a better method. You can update the kunenu_configuration table - add a credits = 0 parameter and it will no longer show the item. That way you don't have to hack a component file.

Code: Select all

{"credits":"0",
"board_title":"YOUR FORUM NAME",
"email":"",
"board_offline":"0"

... etc etc


This IS what you want to do - this works and you do not have to touch any files.

Thou you will need access to your database through for instance phpmyadmin to edit that kunenu_configuration table to insert the "credits":"0", parameter.

Thanks! to mircomgroup for this excellent tip (see post above)

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Wed May 29, 2013 12:38 am
by nobi1
@HWI it works a very good solution and painless! Thank you!

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Sat Jun 01, 2013 7:07 am
by hpsgty
That said; I am a paid member, and surprised that the Kunena folks required this much surgery for what must be a common request. I will have a 'credits' page, and will list them there once everything is setup fully...but...this was almost disheartening.

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Tue Jun 04, 2013 2:50 am
by dado023
for those who want to remove it on kunena 3.0.0 it is line 86 under /public_html/libraries/kunena

Code: Select all

//			if ($this->config->get('credits', 1)) $this->poweredBy();
aditionally i commented out all lines from 443 to 452:

Code: Select all

//	final public function poweredBy() {
//			$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="http://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>';
//			echo $credits;
//	}

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Posted: Mon Jul 22, 2013 9:37 pm
by piobanka
Thanks dado023, works perfect with 3.0.1!