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

Home » FUDforum » How To » 1 row per post?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
1 row per post? [message #16760] Tue, 17 February 2004 10:20 Go to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 10: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
add to buddy list
ignore all messages by this user
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 10:22 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 11:15 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 11: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
add to buddy list
ignore all messages by this user
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 11:34 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

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 11: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
add to buddy list
ignore all messages by this user
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 13:45 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 13:51 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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] Tue, 17 February 2004 19: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
add to buddy list
ignore all messages by this user
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 06:40 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 09: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
add to buddy list
ignore all messages by this user
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 10:54 Go to previous message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Sun Oct 22 22:42:45 EDT 2017

Total time taken to generate the page: 0.00803 seconds