×
Blue Eagle (RC3) for K5.1 is released (Today)

Please update the Kunena Blue Eagle to 1.5.0 RC3 if you use Kunena 5.1.
We made several bug fixes and improvements. Also Blue Eagle has now all the features from Crypsis.
Download: www.kunena.org/download/templates/category/blue-eagle-5

×

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 1 month ago - 3 years 1 month 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 1 month 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.092 seconds