×
Kunena 5.2 RC 1 Released (Yesterday)

The Kunena team is thrilled to announce the first public release candidate 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 RC1 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.

Solved Remove BBCode from Description Post of Latest Module

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
4 years 9 months ago - 4 years 9 months ago #1 by Trony
In Description of Latest Module there are BBCode.
Example: [image] text of post.

In default_row.php (I use this display), I added this:
<?php $text = preg_replace("~\\[([^\\]]+?)(=[^\\]]+?)?\\](.+?)\\[/\\1\\]~", '', $this->topic->last_post_message); ?>
<li class="klatest-preview-content"><?php echo KunenaHtmlParser::stripBBCode($text, $this->params->get('lengthcontentcharacters')); ?></li>
<?php endif; ?>

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: 4 years 9 months ago by Trony.

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

More
4 years 9 months ago #2 by 9themestore
Hi,

What do you think if use CSS to hidden it?
Ex:
li.klatest-preview-content {
  display: none;
}

- Please provide your site url if it has been lived.
- Please share tip if it worked fine with you.
- Don't be shy about using the "Thanks" button below if you found my comment helpful :)

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

  • Trony
  • Trony's Avatar Topic Author
  • Offline
  • Junior Member
  • Music and Electronic Devices Designer.
More
4 years 9 months ago #3 by Trony
I prefere show Description:
* User have an Idea about Topic;
* It's good for Google Bot (SEO).

Naturally it depends about Website.

If check mine, in Home I've Latest Module.
More Words, More "Attractive" to Search Engines.

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

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.159 seconds