×
Kunena 5.1.2 Released - Security Release (15 Jul 2018)

The Kunena team has announce the arrival of Kunena 5.1.2 [K 5.1.2] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× Topics that are moved into this category are considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Important BBcode [article] - read more link

More
5 years 1 month ago - 5 years 1 month ago #1 by Hunter-nl
When using BBcode
[article=full]123[/article]
then the article is shown, but also a read more link. Even if article does not have a read more section. The article->fulltext field is empty.
I have discovered that the file libraries/kunena/bbcode/bbcode.php contains a bug.
At line 1159, the following section
case 'intro':
  if ( !empty($article->introtext) ) {
    $article->text = $article->introtext;
    $link = '<a href="'.$url.'"class="readon">'.JText::sprintf('COM_KUNENA_LIB_BBCODE_ARTICLE_MORE').'</a>';
    break;
  }
  // continue to link if introtext is empty
must be changed into:
case 'intro':
  if ( !empty($article->introtext) ) {
    $article->text = $article->introtext;
    if ( !empty($article->fulltext) ) { // add read more link
      $link = '<a href="'.$url.'"class="readon">'.JText::sprintf('COM_KUNENA_LIB_BBCODE_ARTICLE_MORE').'</a>';
    }
    else {
      $link = '';
    }
    break;
  }
  // continue to link if introtext is empty

This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Enabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 128M | Max file upload: 2M

Kunena menu details:

Warning: Spoiler! [ Click to expand ]

Joomla default template details : template | author: production | version: 2.5.1 | creationdate: Unknown

Kunena default template details : Blue Eagle 2.0 | author: Kunena Team | version: 3.0.0 | creationdate: 2013-05-15

Kunena version detailed: Kunena 3.0.0 | 2013-05-15 [ Wanga ]
| Kunena detailed configuration:

Warning: Spoiler! [ Click to expand ]
| Kunena integration settings:
Warning: Spoiler! [ Click to expand ]
| Joomla! detailed language files installed:
Warning: Spoiler! [ Click to expand ]

Third-party components: None

Third-party SEF components: None

Plugins: Search - Kunena Search 3.0.0 | Content - Kunena Discuss 3.0.0

Modules: Kunena Latest 3.0.0 | Kunena Stats 3.0.0 | Kunena Login 3.0.0 | Kunena Search 3.0.0

Last edit: 5 years 1 month ago by Hunter-nl.

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

More
2 years 2 months ago #2 by 810
thnx, just found this topic, will change it on next version.

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