Welcome, Guest. Please Login or Register.
November 30, 2024, 03:42:23 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  how to change the width of the "last post" window « previous next »
Pages: [1] Reply Ignore Print
Author Topic: how to change the width of the "last post" window  (Read 394 times)
10eastern
Noobie
*
Posts: 3


I'm a llama!

how to change the width of the "last post" window
« on: October 11, 2003, 08:23:57 PM »
Reply with quote

YaBB SE Version: 1.5.4
PHP Version: 4.3.2
MySQL Version:
Server Platform:
Link to Forum: http://www.10eastern.com/yabbse/index.php

Problem Description:
I'm trying to fine tune my forum, how do I extend the width of the last post window at the end (there is a heading for forum name, topics, posts and then last post)

or can I just minimize the width of another one to achieve that?

I don't like how the text wraps down to three, sometimes four lines in the last post window.  It makes the entire block too tall, I like it compact.  Thanks!

here's my forum
http://www.10eastern.com/yabbse/index.php

Logged
A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:how to change the width of the "last post" window
« Reply #1 on: October 12, 2003, 10:32:32 AM »
Reply with quote

in BoardIndex.php look for:
               <tr>
                  <td class="windowbg" width="6%" align="center" valign="top">' . $new . '</td>
                  <td class="windowbg2" align="left" width="60%">
                     <a name="b' . $row_board['ID_BOARD'] . '"></a>
                     <font size="2"><b><a href="' . $scripturl . '?board=' . $row_board['ID_BOARD'] . '&ordrmindex=' . $ordrmindex . '">' . $row_board['boardName'] . '</a></b><br />
                     ' . $row_board['description'] . '</font>' . $showmods . '
                  </td>
                  <td class="windowbg" valign="middle" align="center" width="6%">
                     ' . $row_board['numTopics'] . '
                  </td>
                  <td class="windowbg" valign="middle" align="center" width="6%">
                     '. $row_board['numPosts'] . '
                  </td>
                  <td class="windowbg2" valign="middle" width="%">
                     <font size="1">
                        ' . $latestPostTime . '<br />
                        ' . $txt['yse88'] . ' ' . $latestPostSubject . '<br />
                        ' . $txt[525] . ' ' . $latestPostName . '
                     </font>
                  </td>
               </tr>';
o

of course you need to change every columns to make width fits a 100% total.
Logged

teemes
Noobie
*
Posts: 10


I'm a llama!

Re:how to change the width of the "last post" window
« Reply #2 on: October 16, 2003, 01:13:26 PM »
Reply with quote

nice thanks for that

and 10eastern im sure youre wondering about the "last post" section for each "board", like I was

In MessageIndex.php

search for:

$mydate . '<br />'

change it to:

$mydate . ' '

leave that little space between instead of:

$mydate . ''

« Last Edit: October 16, 2003, 01:14:21 PM by teemes » Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:how to change the width of the "last post" window
« Reply #3 on: October 16, 2003, 06:24:38 PM »
Reply with quote

he should modify the width of that table's column, no just remove a space, he'll have more control

I changed mine in www.laakademia.com and it looks good and could control it much better with the width attribute
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
teemes
Noobie
*
Posts: 10


I'm a llama!

Re:how to change the width of the "last post" window
« Reply #4 on: October 16, 2003, 07:13:11 PM »
Reply with quote

Quote from: Anguz on October 16, 2003, 06:24:38 PM
he should modify the width of that table's column, no just remove a space, he'll have more control

I changed mine in www.laakademia.com and it looks good and could control it much better with the width attribute


well the width of his last post table is wide enough to support screen names, unless one is ridiculously long

he's trying to avoid 3-4 lines
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:how to change the width of the "last post" window
« Reply #5 on: October 16, 2003, 07:41:01 PM »
Reply with quote

Quote from: teemes on October 16, 2003, 07:13:11 PM
well the width of his last post table is wide enough to support screen names, unless one is ridiculously long

he's trying to avoid 3-4 lines

I see... then he could just crop the screen name after a certain number of characters using substr
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  how to change the width of the "last post" window « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.169 seconds with 20 queries.