Page 1 of 1

[SOLVED]Edited by is missing in posts

PostPosted: Mon Jun 12, 2006 3:58 am
Author: Morpog
Hello,

I've got a small problem on my Integramod installation. After editing a post there is no Edited by message in that post. I have already checked in the viewtopic.php if there is something missing, but the code is there. Also in the tpl file there is the call for the edited text.

I seems it uses the Else path instead of If path. (in viewtopic.php)

this is from my viewtopic.tpl file
Code: Select all
<span>{postrow.EDITED_MESSAGE}</span>  


and this is from my viewtopic.php
Code: Select all
 // Editing information               //               if ( $postrow[$i]['post_edit_count'] )               {                           $l_edit_time_total = ( $postrow[$i]['post_edit_count'] == 1 ) ? $lang['Edited_time_total'] ];                               $l_edited_by = '<br><br>' . sprintf($l_edit_time_total, $poster, create_date($board_config['default_dateformat'],    $postrow[$i]['post_edit_time'], $board_config['board_timezone']), $postrow[$i]['post_edit_count']);               }               else               {                           $l_edited_by = 'test';               }      
I have put the test in the else path to check if it really uses else instead of if.

Anyone can help? Could it be because im using mysql 5 ?

Re: Edited by is missing in posts

PostPosted: Mon Jun 12, 2006 3:25 pm
Author: Teelk
Hi, the edited by message will only show if there are replies to that post, do you have replies to your post?

Re: Edited by is missing in posts

PostPosted: Wed Jun 14, 2006 3:18 am
Author: Morpog
true and logical <img>