PDA

View Full Version : Last post column wider?


HossHuge
11-30-2011, 12:09 AM
Is it possible to make the last post column wider? Lots of titles get cut off because it is too narrow.

twilyth
11-30-2011, 12:33 AM
Not through the user CP AFAIK. If you know javascript, you can probably do it with greasemonkey - assuming you use firefox.

Jizzler
11-30-2011, 02:00 AM
Not through the user CP AFAIK. If you know javascript, you can probably do it with greasemonkey - assuming you use firefox.

Wider, but the names are cut down in code before being outputted (and not being hidden by text-overflow:ellipses)

But still possible as the full post name is in the title attribute:

http://www.generalnonsense.net/attachment.php?attachmentid=1018&stc=1&d=1322621656


var tds = document.getElementsByClassName('thead');

for (i = 0; i < tds.length; i++) {
if (tds[i].width == '100%') {
tds[i].width = '';
break;
}
}

var links = document.getElementsByTagName('a');

for (i = 0; i < links.length; i++) {
if (links[i].title != '') {
links[i].innerHTML = links[i].title.replace('Go to first unread post in thread ', '');
}
}