Kunena 7.0.10 & Kunena 6.4.15 – Security Updates Released and K7.1 in RC1

The Kunena team has announce the arrival of Kunena 7.0.10 [K 7.0.10] as security release which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x/6.2.x and 6.4.15 [K 6.4.15]. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question Can I possibly hide or alternatively remove "last modified"?

More
16 years 8 months ago #38714 by LittleJohn
Just to help you understand it, so you can experiment more easily...

php-code that is commented out, doesnt get parsed by the server.
Html that is commented out, is visible in the page source.

But if the PHP is not printed, the html comments is of course not there either.

Example:
PHP:
Code:
$variable = "<b>This is in bold</b> <!-- html comment inside variable - is visible in page source ('view source') --> <br>"; print $variable; // will be shown echo $variable; // will be shown //print $variable; // will not be shown (only one line is commented out) /* print $variable; // will not be shown (a whole block of code is commented out) */

cheers

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

More
15 years 9 months ago #79146 by kamal

xillibit wrote: Hello,

In the file /components/com_kunena/template/default_ex/message.php, at line 333 replace this :

Code:
echo '<span class="fb_message_editMarkUp">'. _KUNENA_EDITING_LASTEDIT .': '. date(_DATETIME, $fmessage->modified_time) .' '. _KUNENA_BY .' '. CKunenaTools::whoisID($fmessage->modified_by) .'.';

by this :
Code:
echo '<span class="fb_message_editMarkUp">'. date(_DATETIME, $fmessage->modified_time) .' '. _KUNENA_BY .' '. CKunenaTools::whoisID($fmessage->modified_by) .'.';


this is to hide the username, now how about to change it to show name instead of username?!!
Code:
_KUNENA_BY .' '. CKunenaTools::whoisID($fmessage->modified_by)

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

Time to create page: 0.096 seconds