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
Switch to threaded view of this topic Create a new topic Submit Reply
Return to 2.5ish message layout - How to? [message #16946] Fri, 05 March 2004 06:11 Go to next message
pjcnlv is currently offline  pjcnlv   United States
Messages: 6
Registered: February 2003
Location: Las Vegas, NV
Karma: 0
Junior Member
My users are used to seeing their avatars and such on the left of each message instead of at the top. How do I change this easily under 2.6?

Thanks
Re: Return to 2.5ish message layout - How to? [message #16959 is a reply to message #16946] Sat, 06 March 2004 21:19 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to modify drawmsg.tmpl to change the message display format.

FUDforum Core Developer
Re: Return to 2.5ish message layout - How to? [message #18097 is a reply to message #16959] Fri, 07 May 2004 18:29 Go to previous messageGo to next message
Juanisan is currently offline  Juanisan   United States
Messages: 24
Registered: July 2002
Location: Conshohocken, PA
Karma: 0
Junior Member
1st lemme say that I LOVE FUDforums!!!
Well, I loved <= 2.5rc3

I havent wanted to get involved with this line of discussion because of the smackdown the admins here have been laying on the issue. But why on earth, if it is that easy, cant there be another template as part of the standard FUDforum package? Why is there only one, if it is just that easy?

I have been holding off on upgrading from 2.5rc3 on all my forums. I maintain alot of clan forums and I upgraded one "Game Server Admin" forums to 2.6 and I got the smackdown from all my users.

Why is there only one?

Quote:

[13:55:41] [[RoD]Lord-Working] and why I can do it in other forum?
[13:55:52] [[RoD]Lord-Working] yeah
[13:55:55] [[RoD]Lord-Working] exactly
[13:56:12] [[RoD]Lord-Working] after you upload an image and you press Pre view
[13:56:22] [[RoD]Lord-Working] the forum show you
[13:56:22] [[RoD]Lord-Working] how will look the post
[13:56:24] [[RoD]Lord-Working] with the image
[13:56:26] >BAR|BeerThePenguin< ahh
[13:56:35] >BAR|BeerThePenguin< lemme try it
[13:56:44] [[RoD]Lord-Working] ok
[13:57:51] >BAR|BeerThePenguin< hmmm
[13:57:59] >BAR|BeerThePenguin< it doesnt work for me either... until i finish it
[13:58:01] >BAR|BeerThePenguin< and post
[13:58:11] [[RoD]Lord-Working] hmmm
[13:58:11] >BAR|BeerThePenguin< it just shows the URL
[13:58:24] >BAR|BeerThePenguin< I cant upgrade the forum
[13:58:43] >BAR|BeerThePenguin< 2.5.3RC3 is the last of the 2.5 line
[13:58:51] >BAR|BeerThePenguin< and 2.6 looks like UTadmins forums
[13:58:59] >BAR|BeerThePenguin< it drastically alters the forum layout
[13:59:04] >BAR|BeerThePenguin< im not sure everyone would like it
[14:00:22] [[RoD]Lord-Working] hmmm
[14:00:24] [[RoD]Lord-Working] that fix the bug?
[14:00:34] >BAR|BeerThePenguin< they probably have in 2.6


Never ask a geek why, just nod your head and slowly back away.
Re: Return to 2.5ish message layout - How to? [message #18099 is a reply to message #18097] Fri, 07 May 2004 20:34 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Because it creates inconsistency without any visible advantage.

FUDforum Core Developer
Re: Return to 2.5ish message layout - How to? [message #20571 is a reply to message #16946] Tue, 19 October 2004 19:52 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
I believe that the default template makes it difficult to read shorter messages (I am not the only one). I think it is difficult because the user information sort of runs together with the body of the message.

I added 'padding: 1ex; padding-top: 2ex;' to the 'MsgR3' class in the stylesheet on my board. I think this has made it easier to read short messages.
Re: Return to 2.5ish message layout - How to? [message #20573 is a reply to message #20571] Tue, 19 October 2004 20:09 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you send a screenshot comparing the two?

FUDforum Core Developer
Re: Return to 2.5ish message layout - How to? [message #20576 is a reply to message #16946] Tue, 19 October 2004 21:37 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
Sure thing.
  • Attachment: padding.jpg
    (Size: 154.17KB, Downloaded 1923 times)
Re: Return to 2.5ish message layout - How to? [message #20577 is a reply to message #20576] Tue, 19 October 2004 21:44 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Good idea, let's try it. I've applied the patch to CVS.

FUDforum Core Developer
Re: Return to 2.5ish message layout - How to? [message #20578 is a reply to message #16946] Tue, 19 October 2004 21:47 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
Sweet.
Re: Return to 2.5ish message layout - How to? [message #20661 is a reply to message #16959] Sun, 24 October 2004 00:46 Go to previous messageGo to next message
Sector9 is currently offline  Sector9   Germany
Messages: 5
Registered: October 2004
Location: Germany
Karma: 0
Junior Member
Ilia wrote on Sat, 06 March 2004 22:19

You need to modify drawmsg.tmpl to change the message display format.


Can you provide an example for what exactly has to be modified? Let´s say that all user data should be on the left side from the message.
Re: Return to 2.5ish message layout - How to? [message #20663 is a reply to message #20661] Sun, 24 October 2004 16:20 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The template is pretty much plain HTML, so it shouldn't be that hard to figure out how to re-arrange the data.

FUDforum Core Developer
icon12.gif  Re: Return to 2.5ish message layout - How to? [message #20666 is a reply to message #20663] Sun, 24 October 2004 19:33 Go to previous messageGo to next message
Sector9 is currently offline  Sector9   Germany
Messages: 5
Registered: October 2004
Location: Germany
Karma: 0
Junior Member
Ilia wrote on Sun, 24 October 2004 18:20

The template is pretty much plain HTML, so it shouldn't be that hard to figure out how to re-arrange the data.


@Ilia:

Master Ilia, I can see the wisdom in your words, but I am not able to do what I asked for Very Happy

Please note that not everybody is a web developer who has to do with HTML, PHP etc. daily. For instance, when I would have the knowledge to realize my wish I would do it without asking in this forum Cool

I would really appreciate a little and useful example and it seems that I am not the only one who is looking for help Rolling Eyes
Re: Return to 2.5ish message layout - How to? [message #20669 is a reply to message #20666] Mon, 25 October 2004 02:57 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
If you can't do something you usually hire someone who can, when my car breaks I take it to a mechanic...

We (Advanced Internet Designs Inc.) already provide the forum software for free and resolve any bug related issue and more often then not implement features that people ask for.

However, providing support for the forum is something we do as a means of making money, since we don't make money by charging you a license for using the forum. Heck, most companies who sell you their software, still don't offer the support for free...

If you don't have time/interest in learning the forum's internals or HTML to be able to make the changes you need, please consult our services page Smile


FUDforum Core Developer
Re: Return to 2.5ish message layout - How to? [message #20671 is a reply to message #20669] Mon, 25 October 2004 08:26 Go to previous messageGo to next message
Sector9 is currently offline  Sector9   Germany
Messages: 5
Registered: October 2004
Location: Germany
Karma: 0
Junior Member
Ilia wrote on Mon, 25 October 2004 04:57



However, providing support for the forum is something we do as a means of making money, since we don't make money by charging you a license for using the forum. Heck, most companies who sell you their software, still don't offer the support for free...

If you don't have time/interest in learning the forum's internals or HTML to be able to make the changes you need, please consult our services page Smile


You want to see some dollars for a small hint? Thank you for this clear statement. I was looking for an alternative forum solution for phpBB in our intranet environment and planned to evaluate FUDforum, but meanwhile (after your statement) I think it is better to stay with phpBB and enjoy the excellent support for it.


Re: Return to 2.5ish message layout - How to? [message #20672 is a reply to message #16946] Mon, 25 October 2004 09:56 Go to previous messageGo to next message
Abraxa is currently offline  Abraxa   Germany
Messages: 72
Registered: August 2004
Location: Germany
Karma: 0
Member
Personally I don't see the big deal about it.

Version 2.5.x is still available for download so it's worth a shot to download that, take the drawmsg.tmpl from there, stuff it into a 2.6.x forum, recompile the theme and see what happens. Chances are the templates are fully compatible so if they are then things work just fine - and in the case that they're not it should only take very minor tweaking to make the 2.5.x template work with 2.6.x =)

I do understand Ilia's point of view perfectly: be glad you get such a superb software for free - I sure as hell will never use phpBB as long as I can use FUD.

-Abraxa
Re: Return to 2.5ish message layout - How to? [message #20673 is a reply to message #20672] Mon, 25 October 2004 10:51 Go to previous messageGo to next message
Sector9 is currently offline  Sector9   Germany
Messages: 5
Registered: October 2004
Location: Germany
Karma: 0
Junior Member
Abraxa wrote on Mon, 25 October 2004 11:56



Version 2.5.x is still available for download so it's worth a shot to download that, take the drawmsg.tmpl from there, stuff it into a 2.6.x forum, recompile the theme and see what happens. Chances are the templates are fully compatible so if they are then things work just fine - and in the case that they're not it should only take very minor tweaking to make the 2.5.x template work with 2.6.x =)



Thanks for your hint, I will try this.

Quote:


I do understand Ilia's point of view perfectly: be glad you get such a superb software for free - I sure as hell will never use phpBB as long as I can use FUD.



Unfortunately it seems that there is no other support forum where I could ask "for free" and I am sure not the one who is rather asking before of doing Wink Ilia´s answer was just a surprise for me because I thought this board is an official support board for FUDforum. It seems that I was wrong, because me current impression is rather "paying before asking" Shocked
Re: Return to 2.5ish message layout - How to? [message #20677 is a reply to message #20673] Mon, 25 October 2004 12:55 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
We support people who encounter genuine problems through the usage of the forum, we don't offer free support to people who want a solution given to then without doing any work themselves.

The nature of open source is that everyone has access to the code and consequently can make any modifications they desire. It most certainly does not mean free development to address your needs by other people.


FUDforum Core Developer
Re: Return to 2.5ish message layout - How to? [message #20782 is a reply to message #16946] Thu, 28 October 2004 20:19 Go to previous messageGo to next message
D9rr is currently offline  D9rr   United States
Messages: 12
Registered: October 2004
Karma: 0
Junior Member
How to ask questions the smart way.

http://www.catb.org/~esr/faqs/smart-questions.html#before ->
Quote:

When you ask your question, display the fact that you have done these things first; this will help establish that you're not being a lazy sponge and wasting people's time. Better yet, display what you have learned from doing these things. We like answering questions for people who have demonstrated that they can learn from the answers.

Never assume you are entitled to an answer. You are not; you aren't, after all, paying for the service. You will earn an answer, if you earn it, by asking a question that is substantial, interesting, and thought-provoking — one that implicitly contributes to the experience of the community rather than merely passively demanding knowledge from others.


Dean

[Updated on: Thu, 28 October 2004 20:20]

Report message to a moderator

Re: Return to 2.5ish message layout - How to? [message #20788 is a reply to message #20782] Thu, 28 October 2004 21:22 Go to previous messageGo to next message
Sector9 is currently offline  Sector9   Germany
Messages: 5
Registered: October 2004
Location: Germany
Karma: 0
Junior Member
D9rr wrote on Thu, 28 October 2004 22:19

How to ask questions the smart way.



I would prefer a "How to answer questions the smart way" Razz
Re: Return to 2.5ish message layout - How to? [message #20792 is a reply to message #16946] Thu, 28 October 2004 22:06 Go to previous messageGo to next message
D9rr is currently offline  D9rr   United States
Messages: 12
Registered: October 2004
Karma: 0
Junior Member
Tutorial on editing FUDforum themes: http://fudforum.org/forum/index.php?t=msg&th=4222&start=0&
HTML Manual: http://w3.org/MarkUp/#recommendations
CSS Manual: http://w3.org/Style/CSS/#specs
HTML Basics: http://webmonkey.wired.com/webmonkey/authoring/html_basics/
HTML & CSS Tutorials: http://w3.org/MarkUp/#tutorials


Dean
Re: Return to 2.5ish message layout - How to? [message #20827 is a reply to message #16946] Fri, 29 October 2004 13:14 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
I wouldn't exactly call those two W3C pages "manuals". While I use them as a reference, most people will not understand them because they are written for technical people. They are mostly helpful to technically inclined web developers and web browser developers.
Re: Return to 2.5ish message layout - How to? [message #20838 is a reply to message #20827] Fri, 29 October 2004 17:53 Go to previous messageGo to next message
D9rr is currently offline  D9rr   United States
Messages: 12
Registered: October 2004
Karma: 0
Junior Member
Manual, directions, specifications - whatever you call it, it's the definitive reference for how to use HTML and CSS and http://W3.org is where it's located.

For those who need it written at a lower grade-level, here's a good tutorial site geared towards beginners:
http://virtuallyignorant.com/webtutor/other/toc/toc-tutor.html


Dean

[Updated on: Fri, 29 October 2004 19:24]

Report message to a moderator

Re: Return to 2.5ish message layout - How to? [message #21736 is a reply to message #16946] Mon, 13 December 2004 16:54 Go to previous messageGo to next message
dennisp is currently offline  dennisp   Belize
Messages: 49
Registered: December 2004
Location: Belize
Karma: 0
Member
<tr><td class="MsgSpacer">
<table width="100%" cellspacing=0 cellpadding=0 class="MsgTable" style="border-bottom-width: 0px;">
<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" style="border-top-width: 0px;">
<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_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 class="msgud">{TEMPLATE-DATA: buddy_link}</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 align=right>{TEMPLATE-DATA: ignore_link}<br>{TEMPLATE-DATA: report_to_mod_link}</td></tr>
</table>
</td></tr>
{TEMPLATE-DATA: message_toolbar}
</table></td></tr>

[Updated on: Mon, 21 February 2005 10:54]

Report message to a moderator

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 next message
SergK is currently offline  SergK   Ukraine
Messages: 1
Registered: December 2004
Location: Ukraine, Simferopol
Karma: 0
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

Re: Return to 2.5ish message layout - How to? [message #22033 is a reply to message #21736] Mon, 10 January 2005 11:17 Go to previous messageGo to next message
ikemuc is currently offline  ikemuc   Germany
Messages: 7
Registered: December 2003
Location: Poing, Germany
Karma: 0
Junior Member
Hi Dennisp,

thank you very much for posting your code! This works for me perfectly and I'm happy again! Smile

I had to change the code in one line from "{TEMPLATE: dmsg_post_date}" to "{TEMPLATE-DATA: dmsg_post_date}", because FUDforum complained about TEMPLATE: being unknown. But after that, everything worked. Smile

Thanks and greetings from Munich!

ikemuc
Re: Return to 2.5ish message layout - How to? [message #22034 is a reply to message #22033] Mon, 10 January 2005 12:57 Go to previous messageGo to next message
dennisp is currently offline  dennisp   United States
Messages: 49
Registered: December 2004
Location: Belize
Karma: 0
Member
Great. Glad to be of Help and thanks for informing me of the mistake. Fixed.
Regards
Re: Return to 2.5ish message layout - How to? [message #22056 is a reply to message #21874] Tue, 11 January 2005 18:39 Go to previous messageGo to next message
ggray is currently offline  ggray   Ukraine
Messages: 96
Registered: October 2004
Location: Crimea: Simferopol
Karma: 0
Member

2 SergK
please use [spoiler=code]code example[/spoiler] for comfortable views Wink
Re: Return to 2.5ish message layout - How to? [message #22070 is a reply to message #22034] Wed, 12 January 2005 13:23 Go to previous messageGo to next message
welshchris is currently offline  welshchris   United Kingdom
Messages: 35
Registered: December 2004
Karma: 0
Member
Dennis, I tried your code and get the following errors on my board:

----------------

Notice: Undefined variable: dmsg_post_date in /var/www/html/arsenalw/fudforum/theme/default/tree.php on line 442

Notice: Undefined variable: buddy_link in /var/www/html/arsenalw/fudforum/theme/default/tree.php on line 453

Notice: Undefined variable: ignore_link in /var/www/html/arsenalw/fudforum/theme/default/tree.php on line 457

----------------

Any ideas why this is? - You can see the board at http://www.awimb.com/fudforum/

Cheers

Chris
Re: Return to 2.5ish message layout - How to? [message #22114 is a reply to message #22070] Sun, 16 January 2005 13:31 Go to previous messageGo to next message
dennisp is currently offline  dennisp   United States
Messages: 49
Registered: December 2004
Location: Belize
Karma: 0
Member
Chris,
I am not getting the same error message as you posted. I visited your site. I also noticed that you have changed the theme on your site. It appears that you have done some changes to other parts of the code which I am not familiar with. You might have made a small mistake somewhere thats causing it to error out with the error message that I am getting now on viewing a post on your site.

FYI, the code I posted was done on 2.6.8
I just tried it on 2.6.9 and it seems to work fine.
BTW ikemuc, the change "{TEMPLATE: dmsg_post_date}" to "{TEMPLATE-DATA: dmsg_post_date}" does not work for me, i.e. I set it to Template: dmsg_post_date beacuse thats what it was at first and that works for me. I wonder why you would be getting that error that it does not recognize that variable...maybe Ilia can help..
ikemuc which version are you using?

Chris I noticed that you are using 2.6.9 on your site. The code i posted should be working fine unless you modified code elsewhere that might have affected it.

BTW, the two variables: {TEMPLATE-DATA: buddy_link} and {TEMPLATE-DATA: report_to_mod_link} have been split up. It was originally {TEMPLATE-DATA: dmsg_bd_il}. Thsi variable combines both of them into one. I did not like them like that and therefore I split them up..actually it was not me who split them...., they have been defined individually elsewhere, I just called them by their individual names Smile.
According to the errors you posted, it means that those split variables are undefined in your theme or src for some reason. did you do vast modification?

Chris, Copy and paste the code again. I changed the {TEMPLATE-DATA: dmsg_post_date}" back to "{TEMPLATE: dmsg_post_date}. Also, after you have copied the code, if you get the same errors you can re-combine the ignore user and buddy list link. Delete {TEMPLATE-DATA: buddy_link} and {TEMPLATE-DATA: report_to_mod_link} and in any one of the places insert {TEMPLATE-DATA: dmsg_bd_il}. That should hopefully fix it. I still don't understand why it would work for me and not for you. Weird. Anyhow. Best of luck,
regards
Dennis
Re: Return to 2.5ish message layout - How to? [message #23372 is a reply to message #16946] Mon, 14 March 2005 15:19 Go to previous messageGo to next message
dennisp is currently offline  dennisp   Belize
Messages: 49
Registered: December 2004
Location: Belize
Karma: 0
Member
Here is the message entry code that makes a message look more like the pre 2.6 ver of FudForum.
Tested with Ver 2.6.11 Final

Toggle Spoiler

[Updated on: Mon, 14 March 2005 18:26]

Report message to a moderator

Odp: Return to 2.5ish message layout - How to? [message #26652 is a reply to message #16946] Sat, 30 July 2005 16:14 Go to previous messageGo to next message
Sebastian_T is currently offline  Sebastian_T   Poland
Messages: 33
Registered: January 2004
Location: Warsaw, Poland
Karma: 0
Member
And here is also "user to the left" (as in pre 2.6 versions), working wih 2.6.15 version (previous example was not working)

Cytuj:



<tr><td class="MsgSpacer"><table cellspacing=0 cellpadding=0 class="MsgTable">
<tr>
<td colspan=2><table cellspacing=0 cellpadding=0 class="ContentTable"><td class="MsgR1 vt al MsgSubText" width="85%"><a name="msg_num_{VAR: m_num}"></a><a name="msg_{VAR: obj->id}"></a>{IF: $obj->icon && !$hide_controls}<img src="images/message_icons/{VAR: obj->icon}" alt="{VAR: obj->icon}" />&nbsp;&nbsp;{ENDIFI}{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></table></td></tr>

<tr class="MsgR2">
<td class="MsgR2" width="15%" valign="top">
<table cellspacing="0" cellpadding="0" class="ContentTable">
<tr class="MsgR2">{TEMPLATE-DATA: avatar}</tr><tr class="MsgR2"> <td class="msgud">{TEMPLATE-DATA: online_indicator}{TEMPLATE-DATA: user_link}{IF: !$hide_controls}{IF: $obj->user_id}<br /><b>{MSG: posts_c}</b> {VAR: obj->posted_msg_count}<br /><b>{MSG: registered}</b> {TEMPLATE: dmsg_join_date} {TEMPLATE-DATA: location}{ENDIFI}{ENDIFI}</td></tr><tr class="MsgR2"><td class="msgud">{TEMPLATE-DATA: dmsg_tags}</td></tr><tr class="MsgR2"><td class="msgud">{TEMPLATE-DATA: dmsg_bd_il}{TEMPLATE-DATA: dmsg_im_row}{IF: !$hide_controls}{IF: ($obj->host_name && $o1 & 268435456)}<b>{MSG: from}</b> {VAR: obj->host_name}<br />{ENDIFI}{IF: ($b & 1048576 || $usr->md || $o1 & 134217728)}<b>{MSG: dmsg_ip}</b> <a href="{TEMPLATE: dmsg_ip_address_url}" target="_blank">{VAR: obj->ip_addr}</a>{ENDIFI}{ENDIFI}</td></tr></table></td>

<td class="MsgR3" width="85%" valign="bottom">{TEMPLATE-DATA: msg_body}{TEMPLATE-DATA: drawmsg_file_attachments}
{TEMPLATE-DATA: modified_message}{IF: !$hide_controls}{IF: ($obj->sig && $o1 & 32768 && $obj->msg_opt & 1 && $b & 4096 && !($a & 67108864))}<p /><hr class="sig" />{VAR: obj->sig}{ENDIFI}{TEMPLATE: dmsg_report_to_mod_link}{ENDIFI}
</td></tr>{IF: !$hide_controls}{TEMPLATE: dmsg_message_toolbar}{ENDIFI}</table></td></tr>




Sebastian
Re: Return to 2.5ish message layout - How to? [message #26884 is a reply to message #21874] Fri, 19 August 2005 05:05 Go to previous messageGo to next message
Astoria is currently offline  Astoria   United States
Messages: 227
Registered: April 2004
Karma: 0
Senior Member
Version 2.7 seems to no longer have "message_entry" in drawmsg.tmpl. Where has the message layout gone?

Edit: D'oh! Never mind -- it shows up in my "default" template set, but not in the test set I created. I will try recreating the test template set.

addendum: update was successful. Sebastian_T's code above is functional in V2.7.0RC1

[Updated on: Fri, 19 August 2005 06:27]

Report message to a moderator

Re: Return to 2.5ish message layout - How to? [message #27118 is a reply to message #16946] Sat, 27 August 2005 03:50 Go to previous messageGo to next message
Astoria is currently offline  Astoria   United States
Messages: 227
Registered: April 2004
Karma: 0
Senior Member
Here is my candidate for a side-format message_entry template. Seems to work well so far with V 2.7.1.


Toggle Spoiler


edit: "ContentTable" class in sub tables was messing up page format -- removed

[Updated on: Sun, 02 July 2006 23:08]

Report message to a moderator

Re: Return to 2.5ish message layout - How to? [message #30277 is a reply to message #27118] Wed, 15 February 2006 11:55 Go to previous messageGo to next message
Mal'ton is currently offline  Mal'ton   Satellite Provider
Messages: 1
Registered: February 2006
Karma: 0
Junior Member
V 2.7.3. Wink

drawmsg.tmpl____message_entry


drawpmsg.tmpl____private_message_entry


[Updated on: Sat, 18 February 2006 22:45]

Report message to a moderator

Re: Return to 2.5ish message layout - How to? [message #159282 is a reply to message #30277] Wed, 20 May 2009 12:54 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
FUDforum version 2.8.1 has two additional themes (user_info_left & user_info_right) that can be used to display member info to the left or right of posts.
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Thu Nov 21 18:43:56 GMT 2024

Total time taken to generate the page: 0.02672 seconds