Results 1 to 9 of 9

Thread: WinDrivers Ad

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    WinDrivers Ad

    Would it be possible, as it's been a few weeks now, to get this ad in line with the VBWire box.

    It looks stupid when not inline. And it's not that hard to fix...

    (This is the second time I've brought it up)
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    The 'official' person at Jupitermedia was asked to make that change by Gus (my boss), so I assumed it would happen. I'll follow up on it again.

    I will add...
    Because of the way includes and such are used in this forum, it isn't as easy a fix as it seems it should be.

    Brad
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by brad jones

    I will add...
    Because of the way includes and such are used in this forum, it isn't as easy a fix as it seems it should be.

    Brad
    I've been a programmer of various languages for quite a number of years, trust me, if it isn't easy, they should take a look at the includes.

    There's no reason this should be difficult. Trust me. Maybe you should have your people take some programming and design theory classes.

    Want proof? Give me the code. I'll show you.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    The issue is that you need to align the $bobad item in the left cell with the table (the asp file) in the right cell. The table generated by the asp file can be a dynamic size.

    The graphic that replaces $bobad can be a dynamic size, so you can't use padding charcters or blank lines to space it, nor can you use a static location point. $bobad must work if the graphic is 125 125 pixels tall, 300 pixels tall, or some other value.

    I'd like to hear a suggestion to fix this without re-writing the left side of the table.


    Code:
    <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" ><tr><td valign="top">
    
     <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100">
      <tr> 
        <td valign="top" bgcolor="#0D5692" width="100%" border="0">
    
    <a href="http://vbforums.com">
    <img src="http://www.internet.com/_mocks/vbwire/logo.gif" border="0">
    </a>
    
    <!-- NEWS --> 
      <table cellpadding="0" cellspacing="0" border="0" 
    bgcolor="#0D5692"width="100%" align="left"><tr><td>
       <table cellpadding="4" cellspacing="1" border="0"  width="100%">
    <tr>
            <td bgcolor="#013D6E" width="100%">
                  <font face="verdana, arial, helvetica" size="2"  color="#EEEEFF">
             <b>VB Wire News</b></font>
             </td>
    </tr>
    <tr>
             <td bgcolor="#F1F1F1" width="100%">
             <font face="verdana, arial, helvetica" size="2">         
    <script language="JavaScript"
         src="http://vbwire.com/JSFeed.asp"></script>
             </font></td>
    </tr>
       </table>
    </td></tr>
      </table>
    <!-- End of NEWS -->
    <br clear="all">
    <br>
    <!-- SEARCH --> 
     <table border="0" cellspacing="0" cellpadding="5" >
            <tr> 
              <td> 
                <form method="post" action="search.php">
                  <font face="Trebuchet MS, Verdana, Tahoma, Arial, sans-serif" size="2"><b> 
                  <input type="hidden" name="forumchoice" value="-1">
                  <input type="hidden" name="sortby" value="lastpost">
                  <input type="hidden" name="searchdate" value="-1">
                  </b></font><font face="verdana, arial, helvetica" size="2" >
                  <input type="hidden" name="action" value="simplesearch">
                  </font><font face="Trebuchet MS, Verdana, Tahoma, Arial, sans-serif" size="2" color="#FFFFFF"><b>Search 
                  the forums: 
                  <input type="text" name="query">
                  <input type="submit" value="Go">
                  </b></font> 
                </form>
              </td>
            </tr>
     </table>
    <!-- END OF SEARCH --> 
    
    <!--  Navbar links -->
     <table border="0" cellspacing="0" >
            <tr>
              <td  align="right"><smallfont color="#000020"><a style="color:#000020" href="usercp.php?s=$session[sessionhash]">
    <img src="/images/top_profile.gif" border="0" ></a>
    <!--<b>|</b>--> <a style="color:#000020" href="register.php?s=$session[sessionhash]&action=signup">
    <img src="/images/top_register.gif" border="0"></a> 
               <!--<b>|</b>--> <a style="color:#000020" href="calendar.php?s=$session[sessionhash]">
    <img src="/images/top_calendar.gif" border="0"></a> 
                <!--<b>|</b>--> <a style="color:#000020" href="memberlist.php?s=$session[sessionhash]">
    <img src="/images/top_members.gif" border="0"></a> 
                <!--<b>|</b>--> <a style="color:#000020" href="misc.php?s=$session[sessionhash]&action=faq">
    <img src="/images/top_faq.gif" border="0"></a> 
                <!--<b>|</b>--> <a style="color:#000020" href="search.php?s=$session[sessionhash]">
    <img src="/images/top_search.gif" border="0"></a> 
                <!--<b>|</b>--> <a style="color:#000020" href="member.php?s=$session[sessionhash]&action=logout">
    <img src="/images/top_logout.gif" border="0"></a></smallfont></td>
            </tr>
     </table>
    <!-- End of NAVBAR Links --> 
    
    <!-- BOB AD Location in new column --> 
    </td><td bgcolor="#0D5692" align="right">
    <table align="right">
    <tr><td>
    $bobad
    </td></tr></table>
        </td> </tr>
     </table>
    
    </td></tr>
    </table>
    <!-- End of Header info (but not end of header include) -->

  5. #5

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by brad jones
    The issue is that you need to align the $bobad item in the left cell with the table (the asp file) in the right cell. The table generated by the asp file can be a dynamic size.

    The graphic that replaces $bobad can be a dynamic size, so you can't use padding charcters or blank lines to space it, nor can you use a static location point. $bobad must work if the graphic is 125 125 pixels tall, 300 pixels tall, or some other value.

    I'd like to hear a suggestion to fix this without re-writing the left side of the table.
    I'm off to class right now, but I'll be back around 2:30 EST and give it a look.

    But quick question: why are you using ASP and PHP together? When not do some kind of include code within the PHP header for the forums?

    And also: why can't you change the left side? As long as it looks the same, what's the problem?

    But I'll be back later and see if my arrogance got the better part of me.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  6. #6

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Could I possibly see the script that generates $bobad?

    If you don't want to post it, you could PM me, otherwise I'll just tell you what I'm thinking.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  7. #7

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    I have this, but it's using PHP:

    First ad: http://www.vbshelf.com/work/test.php?ad=1
    Second ad: http://www.vbshelf.com/work/test.php?ad=2

    I'm not sure how you'd implement it without knowing how $bobad is generated, though.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  8. #8
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    $bobad is simply a replacement to a URL that goes to an Ad Server.

    The result of the URL are a link and a graphic ad or nothing when there is no current ad. This is not something that can be changed, so any formatting has to be on the client. You can see one example of the results of this by looking at the source of this page.

    Brad

  9. #9

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Is it just those two ads?
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width