Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Merged Kunena Latest 2.0.1 inserts noindex meta tag

More
13 years 7 months ago #129630 by Infield
Thanks for the link. Sorry I missed that topic when searching. No the fix suggested does not work for me.
Are you confirming a bug? I will leave the Module Latest unpublished for now.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #129849 by harpel1
I had the same issue and sorted it by editing

/components/com_kunena/views/topics/view.html.php

and changing the noindex to index.

$this->document->setMetadata ( 'robots', 'noindex, follow' );
to
$this->document->setMetadata ( 'robots', 'index, follow' );

I can then republish the latest module and the meta is correct

cheers
lee
The following user(s) said Thank You: ChaosHead, snilloconator, Parsec

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago - 13 years 7 months ago #129860 by decent2
I think there should be

$this->document->setMetadata ( '$name', '$content', '$http-equiv' );

but I removed this line and it works

I do not know why it is permanently, I can not change the access for robots in the articles
$this->document->setMetadata ( 'robots', 'noindex, follow' );

cześć :)
Last edit: 13 years 7 months ago by decent2.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #130159 by cybnet
The noindex meta robots is for "recent topics" page. With my proposed code I try to keep this behavior intact without affecting other joomla pages.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #130507 by Gamer Templates
The same problem on my site. I unpublished the modul. Waiting for a new version.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago - 13 years 6 months ago #131660 by edmarholanda

cybnet wrote: Finally I've found a temporal solution. In my case I use the module with latest topics output. For other module's configuration this solution may don't work.

Open: joomla_site/components/com_kunena/views/topics/view.html.php
Change line 315 from:

Code:
$this->document->setMetadata ( 'robots', 'noindex, follow' );
To
Code:
//check if we are in kunena latest topics page if(JRequest::getCmd('option','') == 'com_kunena' && JRequest::getCmd('view','') == 'topics'){ $this->document->setMetadata ( 'robots', 'noindex, follow' ); }


Only put this on line 315?

$this->document->setMetadata ( 'robots', 'noindex, follow' ); are also in lines 346 and 377.
Last edit: 13 years 6 months ago by edmarholanda.

Please Log in or Create an account to join the conversation.

Time to create page: 0.311 seconds