Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Question Schema Microdata for Kunena

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
3 years 4 months ago - 3 years 4 months ago #1 by Trony
Hi There.
I saw in rating.php there's Schema Microdata AggregateRating but it doesn't work without a reference in the topic.

Well, I chose for Kunena Discussion Forum Posting .

I modded template > crypsis (or crypsis3) > layouts > topic > item > default.php
<div><?php echo $this->subLayout('Widget/Module')->set('position', 'kunena_topic_top'); ?></div>
<?php if ($this->category->headerdesc) : ?>
<div class="alert alert-info">
	<a class="close" data-dismiss="alert" href="#">&times;</a>
	<?php echo $this->category->displayField('headerdesc'); ?>
<?php endif; ?>
<div itemscope itemtype="https://schema.org/DiscussionForumPosting">
<h1 itemprop="headline name">
	<?php echo $topic->getIcon($topic->getCategory()->iconset);?>
	if ($this->ktemplate->params->get('labels') != 0)
		echo $this->subLayout('Widget/Label')->set('topic', $this->topic)->setLayout('default');
	<?php echo $topic->displayField('subject');?>
	<?php echo $this->subLayout('Topic/Item/Rating')->set('category', $this->category)->set('topicid', $topic->id)->set('config', $this->config);?>

And at bottom
<div class="clearfix"></div>
  <div style="display:none">
  <span itemprop="author" itemscope itemtype="https://schema.org/Person">
  <span itemprop="name"><?php echo $message->getAuthor()->getLink() ?></span>
  <span itemprop="datePublished"><?php echo date("c", strtotime($message->getTime())); ?></span>
  <div itemprop="interactionStatistic" itemscope itemtype="https://schema.org/InteractionCounter">
    <link itemprop="interactionType" href="https://schema.org/CommentAction" />
    <span itemprop="userInteractionCount"><?php echo $this->numLink; ?></span>

I Need Your Hint: echo $this->numLink; doesn't work for to show Topic ID (#1, #2, #3 etc). How can I replace it ?!?

Then in template > crypsis (or crypsis3) > layouts > attachment > item > image.php and in template > crypsis (or crypsis3) > layouts > bbcode > image > default.php
<img itemprop="image" src="<?php echo $attachment->getUrl(); ?>"
<img itemprop="image" src="<?php echo $this->escape($url); ?>"

I tested it with Google Tools and Yandex Tools and works fine.
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 4 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 edit your message.
Time to create page: 0.099 seconds