TinyPortal

Development => Support => Topic started by: homo512 on September 14, 2007, 03:40:43 AM

Title: How to make Author column wider?
Post by: homo512 on September 14, 2007, 03:40:43 AM
As you can see in this screen shot that the author column is to thin to support the Avatar width and the Rank picture width:

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg459.imageshack.us%2Fimg459%2F4176%2Fauthorwe5.th.jpg&hash=3de1ea5b8fc90c0670d8f99d2641c609e8520757) (http://img459.imageshack.us/my.php?image=authorwe5.jpg)

My question is how do I make the author column wider?  I'm currently using the Helios theme.  Thanks
Title: Re: How to make Author column wider?
Post by: IchBin on September 14, 2007, 05:44:22 AM
The Display.template.php file would be the one you need to change. You'll need to find the right place where it sets the width for the user part. Just make some changes and test it, you'll figure it out.
Title: Re: How to make Author column wider?
Post by: homo512 on September 17, 2007, 02:31:12 AM
Can you help me out?  I looked over my Display.template.php file for 45 min but just couldn't find what I was looking for.  In fact I don't even know what I'm supposed to be look for.  My php skills are still at the Newbie level.


           
Title: Re: How to make Author column wider?
Post by: JPDeni on September 17, 2007, 03:39:01 AM
Look for

// Show information about the poster of this message.
echo '
  <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
    <tr>
      <td valign="top" width="16%" rowspan="2" style="overflow: hidden;">


Change the width to whatever you want. Further down, look for


// Done with the information about the poster... on to the post itself.
echo '
    </div>
  </td>
  <td valign="top" width="85%" height="100%">


Adjust that width, too, making a total of 100%. (I know this adds up to 101%, but it should be 100, I think.) Play around with different values until you get what you want.