Kunena modifications from your post in Joomla Kunena blog?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Kunena modifications from your post in Joomla Kunena blog?

    Hi

    I see you do some modifications from this blog Kunena 3.0.7 Released

    Blog - Kunena - To Speak! Next Generation Forum Component for Joomla to your site.

    Where can I find that modifications?

    rgds

  • #2
    Hello ssnobben,

    Here's the modifcations:


    There is this extremely annoying and ugly " :: " in the Page Title. To delete this:

    libraries/kunena/view.php:

    Code:
    $title = KunenaFactory::getConfig()->board_title .' :: '. $title;
    and change to:

    Code:
    $title = KunenaFactory::getConfig()->board_title .' '. $title;

    This removes the "topic:" language from topic titles completely, and the subject title is first now, and adds a "-" to separate it from the main forum title at the end of the title. Remove the "-" at the end to delete the separator. Go to: components/com_kunena/views/topic/view.html.php

    Find this code:

    Code:
    $title = JText::sprintf('COM_KUNENA_VIEW_TOPICS_DEFAULT', $this->topic->subject) . " ({$page}/{$pages})";
    Change it to:

    Code:
    $title = JText::sprintf($this->topic->subject) . " ({$page}/{$pages}) -";
    And/or to rid of page numbers in titles of articles only find in components/com_kunena/views/topic/view.html.php

    Find either:

    Code:
    $title = JText::sprintf('COM_KUNENA_VIEW_TOPICS_DEFAULT', $this->topic->subject) . " ({$page}/{$pages})";
    Code:
    $title = JText::sprintf($this->topic->subject) . " ({$page}/{$pages}) -";
    Replace with:

    Code:
    $title = JText::sprintf($this->topic->subject);
    The forum emails sent to members are wrapped in between brackets left and right "[" "]". To remove the brackets, especially if not filling the forum name out in the configuration backend for SEO purposes is to go to:

    /libraries/kunena/forum/message/message.php about line 260:

    Code:
    $mailsubject = JMailHelper::cleanSubject ( "[" . $config->board_title . "] " . $topic->subject . " (" . $this->getCategory()->name . ")" );
    Comment>
    Working...
    X
    Articles - News - SiteMap