Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Topics that are moved into this category are generally 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.

Question change default text

More
13 years 4 months ago - 13 years 4 months ago #1 by ktruhan
change default text was created by ktruhan
I would like to make a change to the default text the public sees.

My forum is only available to registered users. When a user is not logged in, the default text for the module says "No messages to display". OK, so I guess that's normal. Now, when a user logs in, the module THEN properly displays the latest posts.

What I want to do is change the "No messages to display" text to something a little more enticing, like "Login to view new posts".

The site is www.warrenphotographicsociety.com/ You can see the default "No messages to display" text, but in fact, there are new messages. How can I change that message?

I don't want to open my forum up to unregistered users.

Thanks!
Last edit: 13 years 4 months ago by ktruhan. Reason: clarification

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

More
13 years 4 months ago - 13 years 4 months ago #2 by ktruhan
Replied by ktruhan on topic Re: change default text
Nevermind. I got it to work by changing the following in class.php:
Code:
if (empty ( $result )){ echo JText::_ ( 'MOD_KUNENALATEST_NO_MESSAGE' ); }
Now reads:
Code:
if (empty ( $result )){ echo 'Login to view'; }
I has been ages since I took a programming class, and I forgot general context.
Last edit: 13 years 4 months ago by ktruhan.

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

More
13 years 4 months ago #3 by sozzled
Replied by sozzled on topic Re: change default text
Even easier if you just change the language file from

MOD_KUNENALATEST_NO_MESSAGE = No messages to display

to

MOD_KUNENALATEST_NO_MESSAGE = Login to view new posts

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

Time to create page: 0.357 seconds