×
Kunena 5.1.5 Released - Security Release (14 Oct 2018)

The Kunena team has announce the arrival of Kunena 5.1.5 [K 5.1.5] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

×

Please Read This First:


This category is only for reporting defects with K 3.0.

Do not use this category:
  • to ask general questions about how to use K 3.0 or to ask when new versions of Kunena will be released;
  • to ask about other (older) versions of Kunena; or
  • if you have tried to install K 3.0 on J! 1.5; or
  • if you installed K 3.0 on a live, production site and you want your site restored to its previous state; or
  • if this website ( www.kunena.org ) works but works differently to how you expected.

You must include your K 3.0 configuration report; if you do not include your configuration report, your topic may be closed (locked) or deleted without any further warnings from the moderators.

Topics that have been closed (resolved) will be archived and no further discussion on those topics will be allowed.

Idea Meta Description Duplicate for Users Profile

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
3 years 6 months ago - 3 years 6 months ago #1 by Trony
Google report to me Meta Descriptions Duplicate for Users Profile so in Kunena (3.0.8) i opened:

components / com_kunena / template / blue_eagle / html / user / default_summary.php

and at the end i modded:
<?php if( !empty($this->personalText) ) { ?><li><strong><?php echo JText::_('COM_KUNENA_MYPROFILE_ABOUTME'); ?>:</strong><?php echo KunenaHtmlParser::parseText($this->personalText); ?></li><?php } ;
	if( empty($this->personalText) ) {
		$this->document->setMetadata('description', 'Profile for User:' . ' ' . $this->name);
	 }
	else {
		$this->document->setMetadata('description', $this->personalText);
	 }
	?>
</ul>
</div>

Now, if About Me is Empty, Meta Description "Profile for User Trony" (example) otherwise report About Me (In Backend fixed to max 200 Characters).

What do you think ?!? :)

Music and Electronic Devices Designer. Drum and Bass Addict. Creative Mind as Lifestyle. Cat in past Life. Soccer, Ice Hockey and Snowboard Lover.

Last edit: 3 years 6 months ago by Trony.

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.098 seconds