Welcome, Guest. Please Login or Register.
April 29, 2025, 10:45:56 PM
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  |  Development  |  Graphics and Templates  |  a tricky one ! « previous next »
Pages: [1] Reply Ignore Print
Author Topic: a tricky one !  (Read 732 times)
SetiSniper
Noobie
*
Posts: 6


!Faith is nice, but doubt gets you an education!

WWW
a tricky one !
« on: May 11, 2003, 06:08:26 PM »
Reply with quote

okay I hope U understand what I want here !!

I want a line (border line) between the posts !
i can do this with windowbg and windowbg3 but the I get lines in other places where I don't wanna have them !

if one look at a topic, every post starts with "Author name" what  I want is a line just above this !
now I can make a new windowbgX in my template but what I need to know more is which file that "makes" the topic looks so I can add this "bg".

any help ??

cheers
Seti_Sniper
« Last Edit: May 11, 2003, 06:09:26 PM by SetiSniper » Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:a tricky one !
« Reply #1 on: May 11, 2003, 06:20:57 PM »
Reply with quote

Sorry I don't quite understand the question, but I'm pretty sure Display.php is what you're looking for!
Logged

haase
Full Member
***
Posts: 224


Do you feel lucky?

Re:a tricky one !
« Reply #2 on: May 12, 2003, 02:15:06 AM »
Reply with quote

Open up Display.php and look for this:      # Print the post and user info for the poster.
      echo '
         <tr>
            <td>
               <a name="msg' . $mid . '"></a>
               <table cellpadding="3" cellspacing="1" border="0" width="100%">
                  <tr>
                     <td bgcolor="' . $windowbg . '" class="' . $css . '">
                        <table width="100%" cellpadding="4" cellspacing="1" class="' . $css . '" bgcolor="' . $windowbg . '">
                           <tr>
                              <td class="' . $css . '" bgcolor="' . $windowbg . '" valign="top" width="15%" rowspan="2">
                                 ' . $userinfo . '


Where you see $userinfo is the whole left hand side of the post with the name, avatar, post count, im, etc.

If you put in a new row above <tr> there, that should give you what you need.  You could try throwing an <hr> in there:   # Print the post and user info for the poster.
      echo '
         <tr>
            <td>
               <a name="msg' . $mid . '"></a>
               <table cellpadding="3" cellspacing="1" border="0" width="100%">
                  <tr>
                     <td bgcolor="' . $windowbg . '" class="' . $css . '">
                        <table width="100%" cellpadding="4" cellspacing="1" class="' . $css . '" bgcolor="' . $windowbg . '">
            <tr><td><hr></td></tr>               <tr>
                              <td class="' . $css . '" bgcolor="' . $windowbg . '" valign="top" width="15%" rowspan="2">
                                 ' . $userinfo . '
and see what that does. You could also insert a spacer.gif or somekind of background image that's only 1 or 2 pixels high.
Logged
SetiSniper
Noobie
*
Posts: 6


!Faith is nice, but doubt gets you an education!

WWW
Re:a tricky one !
« Reply #3 on: May 12, 2003, 04:07:06 PM »
Reply with quote

Thx both !  :)
just what I needed to know !! now I have something to work on !!

Greg, your code didn't do the whole way but close !! and close enough so that I now know where to code !

Cheers
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  a tricky one ! « 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.331 seconds with 18 queries.