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

Home » FUDforum » How To » 1 row per post?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
1 row per post? [message #16760] Tue, 17 February 2004 15:20 Go to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Hi all.

At the moment the forums have two lines per post. Top left is subject and bottom right is poster and info.
I was wondering if it is possible to modify the css to move these onto one like? It takes up too much vertical space on my forums.

Regards.
Re: 1 row per post? [message #16761 is a reply to message #16760] Tue, 17 February 2004 15:21 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 the drawmsg.tmpl template to do this.

FUDforum Core Developer
Re: 1 row per post? [message #16762 is a reply to message #16761] Tue, 17 February 2004 15:22 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Holy Moly that was a quick reply Smile
Re: 1 row per post? [message #16774 is a reply to message #16761] Tue, 17 February 2004 16:15 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Actually I don't think I was clear on that. I meant in the topic lists, that's the thread and non threaded lists of topics. I think I need to edit thread.tmpl and threadt.tmpl.

For the non threaded I've just removed the DIV TopBy around the right hand info. On the threadt it's much harder as removing the div pulls the right hand info to be left aligned.

Re: 1 row per post? [message #16776 is a reply to message #16774] Tue, 17 February 2004 16:17 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
Ah yes, that's correct you need to edit thread.tmpl & threadt.tmpl for that. For threadt you may need to remove the BR or move the data all into the same div.

FUDforum Core Developer
Re: 1 row per post? [message #16779 is a reply to message #16776] Tue, 17 February 2004 16:34 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member

Moving the DIV caused the same problem of everything shifting to the left. And I can't find a BR Very Happy
Re: 1 row per post? [message #16780 is a reply to message #16779] Tue, 17 February 2004 16:52 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 <div> from the thread_row section it should put everything on the same line, UNLESS your browser window does not have enough room to fit it all on one line and wraps the text.

FUDforum Core Developer
Re: 1 row per post? [message #16781 is a reply to message #16780] Tue, 17 February 2004 18:45 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Again, this draws everything together making everything move to the left. For anyone intrested I had to do add a nowrap to the td around the right hand information.




Re: 1 row per post? [message #16782 is a reply to message #16781] Tue, 17 February 2004 18:51 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Ah, joy. Something weird is now happening in IE, not Firefox.

IE appears to load about 500 items and you can see the count scroll away on the bottom left of your explorer. Is this a javascript png thing? It makes the page look like it's bloated with 500 images Smile

Re: 1 row per post? [message #16783 is a reply to message #16782] Wed, 18 February 2004 00:17 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
This is a know issue that will be fixed in the next release.

IE cannot render alpha-transparent PNG images properly. So, I used an activeX hack to make it work, which is DAMN slow with many images.
So, I added a different hack, that simply replaces PNG images with GIF alternatives for IE.


FUDforum Core Developer
Re: 1 row per post? [message #16787 is a reply to message #16783] Wed, 18 February 2004 11:40 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
So can I just grep the code replace *.png with *.gif then replace the gifs? And if so what do I need to cut out to get rid of the hacks? 90% of my users use IE, I probably they only firefox users Smile


Thanks.
Re: 1 row per post? [message #16790 is a reply to message #16787] Wed, 18 February 2004 14:29 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 could do that I suppose. You can get rid of the hack in the old code very easily. Simply open lib.js (forum's main web dir) go to the bottom of the file and remove the IE hack, it is clearly labeled.

FUDforum Core Developer
Re: 1 row per post? [message #16798 is a reply to message #16790] Wed, 18 February 2004 15:54 Go to previous message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
And I was wondering why our server's error log was filled up with 404 requests for non existing GIFs Smile. Thanks to this thread I now know the answer.

Olliver
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Upgrade to MySQL 4 from 3.23
Next Topic: Text Locations.
Goto Forum:
  

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

Current Time: Sat Nov 23 16:27:35 GMT 2024

Total time taken to generate the page: 0.02786 seconds