Jump to content

The Protestant Community

Sincerely inquiring about the Protestant faith? Welcome to Christforums the Christian Protestant community forums. You'll first need to register in order to join our community. Create or respond to threads on your favorite topics and subjects. Registration takes less than a minute, it's simple, fast, and free! Enjoy the fellowship! God bless, Christforums' Staff
Register now

Christian Fellowship Community Forums

John Calvin puts forward a very simple reason why love is the greatest gift: “Because faith and hope are our own: love is diffused among others.” In other words, faith and hope benefit the possessor, but love always benefits another. In John 13:34–35 Jesus says, “A new command I give you: Love one another. As I have loved you, so you must love one another. By this everyone will know that you are my disciples, if you love one another.” Love always requires an “other” as an object; love cannot remain within itself, and that is part of what makes love the greatest gift.
Sign in to follow this  
ssnobben

Kunena modifications from your post in Joomla Kunena blog?

Recommended Posts

Staff

Hello ssnobben,

 

Here's the modifcations:

 

 

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

 

libraries/kunena/view.php:

 

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

 

and change to:

 

$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:

 

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

 

Change it to:

 

$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:

 

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

 

$title = JText::sprintf($this->topic->subject) . " ({$page}/{$pages}) -";

 

Replace with:

 

$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:

 

$mailsubject = JMailHelper::cleanSubject ( "[" . $config->board_title . "] " . $topic->subject . " (" . $this->getCategory()->name . ")" );

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...