Welcome, Guest. Please Login or Register.
April 27, 2025, 02:35:50 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Graphics and Templates  |  another small prob « previous next »
Pages: [1] Reply Ignore Print
Author Topic: another small prob  (Read 752 times)
Ally6
Jr. Member
**
Posts: 70


I'm a llama.......watch it i spit!

another small prob
« on: July 06, 2002, 11:30:50 AM »
Reply with quote

I'm not sure where to look to solve this problem.

On a normal thread the type area width is changing depending on how long the persons name is.  It seems that the default measurements for the members details on the left of each post is now smaller, therefore those with long names are pushing their text area over.  i hope this makes sense lol, difficult to explain.  Id like all the text to be on the smae vertical line as you scroll down the page so i guess the question is where do i look to change the dimensions?
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:another small prob
« Reply #1 on: July 06, 2002, 03:48:24 PM »
Reply with quote

Not sure if this can be done. Table columns tend to get wider as defined if there is larger text without blanks.
Logged

Ally6
Jr. Member
**
Posts: 70


I'm a llama.......watch it i spit!

Re:another small prob
« Reply #2 on: July 06, 2002, 06:08:08 PM »
Reply with quote

It must be possible as this is how the Yabb Gold works, there is more available space on the left meaning that most peoples names fit in the space and the text lines up all the way down.  only occasionally does one name move it out of allignment.
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:another small prob
« Reply #3 on: July 06, 2002, 06:26:35 PM »
Reply with quote

Sure you can modify the sources such that the profile column is something wider. But then again, as soon as a name is to large the column will change the width.
Logged

Ally6
Jr. Member
**
Posts: 70


I'm a llama.......watch it i spit!

Re:another small prob
« Reply #4 on: July 06, 2002, 06:32:52 PM »
Reply with quote

yep i get that, it would just be nice to have most of the peoples names fitting, it makes the setup look more professional.  If u could give me details of where to look and the code (she says hopefully  ;)) id be a happy bunny.
Logged
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:another small prob
« Reply #5 on: July 06, 2002, 09:51:35 PM »
Reply with quote

Not 100 % sure if this is the right place to change it because I didn't test it but you can try it :)

Find in Display.php:
<td class="$css" bgcolor="$windowbg" valign="top" width="15%" rowspan="2">
            $usernamelink<br><font size="1">$title
            $memberinf<br>
EOT;
if($muserID != "-1") {
    //Messy crap - perhaps someone can alter this later
            $ptext=$userprofile[$mname]['personalText'];
            $ptext = str_replace ("&quot;", "\"", $ptext);
            $ptext = str_replace ("&#039;", "'", $ptext);
            $ptext = str_replace ("&amp;", "&", $ptext);
            $ptext = str_replace ("&lt;", "<", $ptext);
            $ptext = str_replace ("&gt;", ">", $ptext);
   print "            $star<br><BR>\n$online            ".$userprofile[$mname]['gender'];
   if (($sa[0] == 1) OR ($username == "Guest")) { print "\n            $postinfo\n           ".$userprofile[$mname]['avatar'].$ptext; }
   elseif ($sa[0] == 0) { print "\n            $postinfo\n           ".$ptext; }
   print "\n            {$userprofile[$mname]['ICQ']} $icq $msn $yim {$userprofile[$mname]['AIM']}<BR>\n";
}
if($muserID == '-1') {
   print "            <BR><a href=\"mailto:$memail\">$img[email_sm]</a>\n";
}else if ($userprofile[$mname]['hideEmail'] != "1" || $settings[7] == "Administrator" || $allow_hide_email != '1') {
   print "            $profbutton".$userprofile[$mname]['websiteUrl']." <a href=\"mailto:$memail\">$img[email_sm]</a>$sendm\n";
} else {
   print"    $profbutton{$userprofile[$mname]['websiteUrl']}$sendm \n";
}
print <<< EOT
         </font>
         </td>
            <td class="$css" bgcolor="$windowbg" valign="top" width="85%" height="100%">

There you can notice two cells, first has the width of 15 % and the second is 85 %. By changing these you can control the member info column and the post column. :) Try changing them to 20/80 for example.
« Last Edit: July 06, 2002, 09:51:57 PM by Hypocrite » Logged
Ally6
Jr. Member
**
Posts: 70


I'm a llama.......watch it i spit!

Re:another small prob
« Reply #6 on: July 06, 2002, 10:26:34 PM »
Reply with quote

Yr a star, much much better. thankyou  :-*
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  another small prob « 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.056 seconds with 21 queries.