×
Blue Eagle 5 v1.6.2 has been Released for Kunena 5.2 (20 Jan 2021)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.6.2 which is now available for download. This version addresses most of the issues that were discovered in development.

REQUIREMENTS
Blue Eagle 1.6.x requires Kunena 5.2.x to work with

× 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
5 years 1 month ago - 5 years 1 month 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: 5 years 1 month ago by Trony.

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

More
5 years 1 month 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
5 years 1 month 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.086 seconds