- Posts: 77
- Thank you received: 0
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
Question Can I possibly hide or alternatively remove "last modified"?
Can I possibly hide it or alternatively drastically remove it altogether from the front end? Thanks
Please Log in or Create an account to join the conversation.
Personally, I wouldn't change this. The current mechanism provides honesty, openness and transparency in how you deal with your forum users. And, yes, I did edit this message after I originally posted it.
There is another way, if you want to conceal this information: directly edit the database (but I'm not going to explain how to do that) :lol:
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
find the code that displays the "last edit" and comment the code
That was very quick, thanks. I found that line, but what do you mean though by "comment the code"? I'm not a programmer and I only touch php and css if I'm sure of what I'm doing and I fear "comment" is some sort of programmer jargon, or is it not? ;p
Please Log in or Create an account to join the conversation.
In the file /components/com_kunena/template/default_ex/message.php, at line 333 replace this :
by this :
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
I presumed you wanted to know how to remove this whole feature and I meant to write "comment out the affected code". In other words, "turn the affected area of the program into a 'comment'". (Commented code is programmer jargon, yes. It means "allow the text in this program to appear so that humans can read it - for comments and such like - but do not run the code. In PHP you can comment code by putting /* before the comment and a */ after the comment.)
Alternatively to xillibit's solution, change from line 332 of ../components/com_kunena/template/default_ex/message.php, from
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- LittleJohn
- Offline
- Kunena Contributor
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:
cheers
Please Log in or Create an account to join the conversation.
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?!!
Please Log in or Create an account to join the conversation.