Supposing you've installed this mod correctlyit.dilip wrote:is there any phpbb king who can tell me that how i can scoll the latest topics
?
I managed to solve itfirasbh wrote:Hi,
I'm using this mod on my forum, what I need from this mod to do is determine whether the post is a new topic or a reply to an existing topic.
Case 1) If the post is a new topic then show only Topic Poster once (because it's meaningless to show Topic Poster and Reply Poster at this case where the two infos are the same).
Case 2) If the post is a reply to an existing topic then it should keep displaying infos as it is now.
Also note that by doing this, anyone can distinguish new topic from a reply instantly by sight.
Thanks in advance
Firas
Code: Select all
<!-- IF latest_topics.LP_T_REPLIES eq 0 -->
<td class="row1" width="5%" align="center">
<a title="{latest_topics.LP_FULL_TITLE}" href="{latest_topics.LP_U_VIEW_TOPIC}">
<img src="{T_THEME_PATH}/images/new.png" /></a></td>
<td class="row2" width="5%" align="center"></td>
<td class="row1" width="27%" align="center">
</td>
<!-- ELSE -->
<td class="row1" width="5%" align="center"><p class="topicdetails">{latest_topics.LP_T_REPLIES}</p></td>
<td class="row2" width="5%" align="center"><p class="topicdetails">
<!-- IF latest_topics.LP_TOPIC_POSTER_AVATAR -->{latest_topics.LP_TOPIC_POSTER_AVATAR}
<!-- ELSE -->
<img src="{T_THEME_PATH}/images/no_avatar.png" height="40" width="40" alt="" /><!-- ENDIF --></p></td>
<td class="row1" width="27%" align="center">
<p class="topicdetails" style="white-space: nowrap;">{latest_topics.LP_TOPIC_LASTPOSTTIME}</p>
<p class="topicdetails">{latest_topics.LP_TOPIC_LASTPOSTBY}</p>
</td>
<!-- ENDIF -->
Code: Select all
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);