Remove Powered by Kunena Forum (Kunena 2.0)

This forum is for general questions about extensions for Joomla! 2.5.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
ozzz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 137
Joined: Thu Feb 25, 2010 2:19 pm

Remove Powered by Kunena Forum (Kunena 2.0)

Postby ozzz » Sun Jul 01, 2012 8:29 pm

How can I remove the "Powered by Kunena Forum" in Kunena 2.0? Its not the same as it was with 1.7...

User avatar
mandville
Joomla! Master
Joomla! Master
Posts: 13536
Joined: Mon Mar 20, 2006 1:56 am
Location: The Girly Side of Joomla in Sussex

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby mandville » Sun Jul 01, 2012 9:52 pm

Have you asked on the kunena forums?
HU2HY- Poor questions = Poor answer
Un requested Help PM's will be added to the foe list and possibly just deleted
{Community.Connect Administrator }{ Showcase & Security forums Moderator}

ozzz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 137
Joined: Thu Feb 25, 2010 2:19 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby ozzz » Mon Jul 02, 2012 6:19 am

Nope; this question wont be answered there, even when you donate. Hope someone here can help out?

User avatar
kenmcd
Joomla! Champion
Joomla! Champion
Posts: 5672
Joined: Thu Aug 18, 2005 2:09 am
Location: California
Contact:

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby kenmcd » Mon Jul 02, 2012 7:03 pm

.
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;
   }
██ LibreTraining

User avatar
blackwednesday
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Mon Jan 05, 2009 1:47 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby blackwednesday » Tue Jul 03, 2012 7:00 am

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

peetree21
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Sat Nov 26, 2005 1:16 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby peetree21 » Fri Aug 24, 2012 6:17 am

thanks!!

User avatar
sozzled
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 208
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby sozzled » Wed Sep 19, 2012 10:02 pm

For the official response from the Kunena Project, please read Please help me understand the GPL for Kunena
If you think I'm wrong then say "I think you're wrong." If you say "You're wrong!", how do you know?

http://www.kuneze.com/blog

User avatar
kenmcd
Joomla! Champion
Joomla! Champion
Posts: 5672
Joined: Thu Aug 18, 2005 2:09 am
Location: California
Contact:

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby kenmcd » Wed Sep 19, 2012 10:17 pm

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?

.
██ LibreTraining

faazz
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Tue Apr 03, 2007 10:07 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby faazz » Mon Sep 24, 2012 6:57 am

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!

erixis
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 100
Joined: Fri Jan 26, 2007 11:48 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby erixis » Tue Oct 23, 2012 2:39 pm

Alternatively, you can comment out line 403

original:

403 echo $credits;

to

403 // echo $credits;

uzbaby
Joomla! Intern
Joomla! Intern
Posts: 63
Joined: Mon Oct 22, 2012 6:12 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby uzbaby » Thu Nov 08, 2012 9:56 am

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

erixis
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 100
Joined: Fri Jan 26, 2007 11:48 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby erixis » Thu Nov 08, 2012 1:03 pm

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

uzbaby
Joomla! Intern
Joomla! Intern
Posts: 63
Joined: Mon Oct 22, 2012 6:12 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby uzbaby » Fri Nov 09, 2012 2:14 am

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!

erixis
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 100
Joined: Fri Jan 26, 2007 11:48 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby erixis » Fri Nov 09, 2012 2:39 am

Uzbaby!

Glad you got a solution!

User avatar
mysticmedia
Joomla! Apprentice
Joomla! Apprentice
Posts: 30
Joined: Thu Aug 11, 2011 6:26 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby mysticmedia » Fri Dec 07, 2012 2:39 am

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!!

vachos
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Sun Oct 14, 2012 5:30 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby vachos » Tue Jan 29, 2013 12:32 am

thanks alote the //403 echo $credits;
works perferct

liang68123
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jan 30, 2013 10:16 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby liang68123 » Wed Jan 30, 2013 10:22 am

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!!

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11276
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby brian » Wed Jan 30, 2013 10:39 am

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();
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

liang68123
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jan 30, 2013 10:16 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby liang68123 » Sat Feb 02, 2013 11:21 pm

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!

User avatar
mircomgroup
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Tue May 22, 2012 1:04 pm
Location: Toronto, ON
Contact:

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby mircomgroup » Tue Feb 26, 2013 3:30 pm

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

Mircom Group of Companies
Life Safety Systems
http://www.mircomgroup.com/

hammyzone
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Mar 07, 2013 9:38 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby hammyzone » Thu Mar 07, 2013 9:43 am

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

noobically_sane
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Tue Dec 27, 2011 2:30 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby noobically_sane » Mon Mar 18, 2013 3:48 am

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.

tarekitsme
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Sat Feb 25, 2012 12:03 am
Location: Blida
Contact:

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby tarekitsme » Wed Mar 27, 2013 3:02 am

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
YoVibe meant to be by and for you
http://www.yovibe.com

abdulrehman
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Feb 19, 2011 3:51 pm
Contact:

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby abdulrehman » Wed Apr 17, 2013 1:43 pm

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

DarKMaSk
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Thu Jul 19, 2012 6:13 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby DarKMaSk » Wed Apr 24, 2013 8:58 am

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. :(

HWI
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Oct 20, 2009 4:43 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby HWI » Sat Apr 27, 2013 3:40 am

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)

nobi1
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Fri Mar 20, 2009 2:33 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby nobi1 » Wed May 29, 2013 12:38 am

@HWI it works a very good solution and painless! Thank you!

hpsgty
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Jun 01, 2013 1:29 am

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby hpsgty » Sat Jun 01, 2013 7:07 am

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.

dado023
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sun Jan 14, 2007 1:25 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby dado023 » Tue Jun 04, 2013 2:50 am

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;
//   }

piobanka
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jul 22, 2013 9:35 pm

Re: Remove Powered by Kunena Forum (Kunena 2.0)

Postby piobanka » Mon Jul 22, 2013 9:37 pm

Thanks dado023, works perfect with 3.0.1!


Return to “Extensions for Joomla! 2.5”

Who is online

Users browsing this forum: No registered users and 8 guests