Game:

The Spam Club

» The Spam Club - Life, The Universe and Everything - Site Issues - Forum glitch: long titles
ReplyNew TopicNew Poll

Forum glitch: long titles

Posted at 09:27 on August 1st, 2006 | Quote | Edit | Delete
Avatar
Member
Retired Gumby
Posts: 713
When the most recent thread in one of the forums has a long title, it screws up the layout of the main page.
The bug in action: http://allspark.net/cypherswipe/Spamclub-forum-bug-1.png
After making a short titled thread become the most recent one:
http://allspark.net/cypherswipe/Spamclub-forum-bug-2.png
-----
At the end of the day, you're left with a bent fork & a pissed off rhino.
Posted at 10:57 on August 1st, 2006 | Quote | Edit | Delete
Avatar
Admin
Reborn Gumby
Posts: 8541
Hmm, well, it's behaving as expected. The text has to go somewhere and line breaks in the right column aren't allowed, because they're screw up the indented text. All this would be easy to solve, but not with this kind of HTML code this forum version uses.
-----
Now you see the violence inherent in the system!
Posted at 08:52 on August 2nd, 2006 | Quote | Edit | Delete
Avatar
Member
Retired Gumby
Posts: 713
The best solution would be to cutoff title displays on the main page after a certain number of characters, rendering a title such as "glitches on operation stealth - need help - i love this game too much " into something like "glitches on operation stealth...". I don't know how hard that'd be to actually achieve though.
-----
At the end of the day, you're left with a bent fork & a pissed off rhino.
Posted at 13:09 on August 2nd, 2006 | Quote | Edit | Delete
Avatar
Admin
Reborn Gumby
Posts: 8541
Good idea :) It's actually just one additional line of code, so I quickly did it.
-----
Now you see the violence inherent in the system!
Posted at 05:24 on August 28th, 2006 | Quote | Edit | Delete
Avatar
Member
Retired Gumby
Posts: 713
What about applying the same idea to URLs in the forum? Could the same code be used to cutoff the display of long URLs at a given point without also truncating the actual link?
-----
At the end of the day, you're left with a bent fork & a pissed off rhino.
Posted at 07:00 on August 28th, 2006 | Quote | Edit | Delete
Avatar
Admin
Reborn Gumby
Posts: 8541
Sure, no problem. Define 'long URL' and 'given point', though.
-----
Now you see the violence inherent in the system!
Posted at 08:41 on August 28th, 2006 | Quote | Edit | Delete
Avatar
Member
Retired Gumby
Posts: 713
Defining one defines the other.
50 or 60 characters seems like a good number (the google search link I posted in the other thread was 46 chars, several others on the forum are around 57 chars). When viewed in the context of the forum, these are about the longest links that look "right" ("right" being highly subjective of course ;) ).
-----
At the end of the day, you're left with a bent fork & a pissed off rhino.
Posted at 11:41 on August 28th, 2006 | Quote | Edit | Delete
Avatar
Admin
Reborn Gumby
Posts: 8541
I think I've done it. I put in 50 characters as maximum length, because when I set my browser to 640 pixels width, between 55 and 60 characters can be displayed in the forum without enlarging the post table. A few less to be safe.
-----
Now you see the violence inherent in the system!
Posted at 12:37 on August 28th, 2006 | Quote | Edit | Delete
Avatar
Member
Retired Gumby
Posts: 713
Yeah, stretching the forum was the main reason I brought it up. Of course, it's impossible to make certain it won't stretch, since it also depends on how people have their fonts set on their computers an in their browsers.
-----
At the end of the day, you're left with a bent fork & a pissed off rhino.
ReplyNew TopicNew Poll
Powered by Spam Board 5.2.4 © 2007 - 2011 Spam Board Team