How to split NEW/UNREAD pm's from OLD/READ pm's in PMS
At the top of the pm_messagelistbit template; add:
Thank you Chen for this great example, and thank you Kura for telling me to use $bbuserinfo[pmunread] and advice to use pm.gif instead of newpm.gif LOL
Enjoy everybody
At the top of the pm_messagelistbit template; add:
HTML Code:
<if condition="!$PMseperator and $folderid == '0' and $pagenumber == '1' and $last_pm_foldericon = $pm[foldericon] and $bbuserinfo[pmunread] and $last_pm_foldericon != 'newpm.gif' and $PMseperator = true"> <tr valign="top"> <td <if condition="$vboptions[privallowicons]">colspan="6"<else />colspan="5"</if> class="thead"><img src="$stylevar[imagesfolder]/clear.gif" alt="" width="1" height="1" /></td> </tr> </if>
Enjoy everybody
Comment