FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Forum Styles » Return to 2.5ish message layout - How to?  () 1 Vote
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Return to 2.5ish message layout - How to? [message #21874 is a reply to message #16946] Thu, 23 December 2004 03:15 Go to previous messageGo to previous message
SergK is currently offline  SergK   Ukraine
Messages: 1
Registered: December 2004
Location: Ukraine, Simferopol
Karma:
Junior Member
Here is my code of message_entry in drawmsg.tmpl for message layout like in 2.5:
<tr><td class="MsgSpacer">
<table width="100%" cellspacing=0 cellpadding=0 class="MsgTable">
<tr>
<td class="MsgR1 vt al MsgSubText"><a name="msg_num_{VAR: m_num}"></a><a name="msg_{VAR: obj->id}"></a>{TEMPLATE-DATA: msg_icon}{VAR: obj->subject}{TEMPLATE-DATA: rpl}</td>
<td class="MsgR1 vt ar"><span class="DateText">{TEMPLATE: dmsg_post_date}</span> {TEMPLATE-DATA: prev_message}{TEMPLATE-DATA: next_message}</td>
</tr>
</table>
<table width="100%" cellspacing=0 cellpadding=0 class="MsgTable">
<tr>
<td class="MsgR2" width="25%" height="100%">
<table cellspacing="0" cellpadding="2" height="100%" class="ContentTable">
<tr><td class="msgud">{TEMPLATE-DATA: online_indicator} {TEMPLATE-DATA: user_link}</td></tr>
<tr>{TEMPLATE-DATA: avatar}</tr>
<tr><td class="msgud">{TEMPLATE-DATA: dmsg_tags}</td></tr>  
<tr><td class="msgud">{TEMPLATE-DATA: dmsg_user_info}</td></tr>
<tr><td class="msgud">{TEMPLATE-DATA: dmsg_bd_il}</td></tr> 
<tr><td class="msgud">{TEMPLATE-DATA: dmsg_im_row}</td></tr>
<tr><td class="msgud">{TEMPLATE-DATA: host_name}</td></tr>
<tr><td class="msgud">{TEMPLATE-DATA: ip_address}</td></tr>
<tr><td height="100%">&nbsp;</td></tr>
</table></td>
<td class="MsgR3" height="100%">
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr><td height="100%" valign=top>
{TEMPLATE-DATA: msg_body}{TEMPLATE-DATA: drawmsg_file_attachments}
{TEMPLATE-DATA: modified_message}{TEMPLATE-DATA: signature}
</td></tr>
<tr><td>{TEMPLATE-DATA: report_to_mod_link}</td></tr>
</table>
</td></tr>
{TEMPLATE-DATA: message_toolbar}
</table></td></tr>

I don't think it is optimal, but it just works for me.
Also dmsg_location would be changed to:
<br /><b>{MSG: location} </b><br>
{FUNC: (strlen($obj->location) > $GLOBALS['MAX_LOCATION_SHOW'] ? substr($obj->location, 0, $GLOBALS['MAX_LOCATION_SHOW']) . '...' : $obj->location)}

for decreasing width of location string to fit it in left column
Width of left column could be changed from 25% to another acceptable value.

[Updated on: Thu, 23 December 2004 03:23]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon12.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3 Themes - Black bg, white bg and greys
Next Topic: Theme Gallery ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Sep 17 02:47:23 GMT 2024

Total time taken to generate the page: 0.05444 seconds