×
Blue Eagle 1.5.2 Released (11 Dec 2018)

The Kunena team has announce the arrival of Kunena Blue Eagle 1.5.2 which is now available for download as a native Joomla extension for Kunena 5.1. This version addresses most of the issues that were discovered in K 1.5.1 and issues discovered during the development stages of K 1.5.2.

× 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
2 years 10 months ago - 2 years 10 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: 2 years 10 months ago by Trony.

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

More
2 years 10 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
2 years 10 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 add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.135 seconds