Announcement

Collapse
No announcement yet.

help me fix the footer code in blue emerald.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    help me fix the footer code in blue emerald.

    I didnt code anything on the pavilion, so I have no idea how to fix it. see the broken image at the bottom there? well, those two halves are supposed to be linked.

    here's the footer code as-is (including the code for the google ads)

    <br />
    <div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
    <br />
    $spacer_close
    <!-- /content area table -->
    <script type="text/javascript"><!--
    google_ad_client = "pub-8756932698450020";
    google_ad_width = 200;
    google_ad_height = 90;
    google_ad_format = "200x90_0ads_al";
    google_ad_channel ="";
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <td height="20" width="305"><img src="aablueimages/foot1.gif" /></td>
    <td class="thead"> <div align="center"> <strong>
    <a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a> -
    <a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
    <if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> -</if>
    <if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if>
    <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
    <!-- - <a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> - -->
    <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
    </strong></div></td>
    <td height="20" width="305"><img src="aablueimages/foot2.gif" /></td>
    </tr>
    <tr>
    <td colspan="3" class="alt2">
    <br />
    <div align="center">
    <div class="smallfont" align="center">
    <a href="http://webmastersempire.com" target="_black">Forum Skin Released By Webmaster's Empire</a>
    </div>
    <div class="smallfont" align="center">
    <!-- Do not remove this copyright notice -->
    $vbphrase[powered_by_vbulletin]
    <!-- Do not remove this copyright notice -->
    </div>

    <div class="smallfont" align="center">
    <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
    $cronimage
    <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

    $vboptions[copyrighttext]
    </div>
    <br />
    </div>
    </td>
    </tr>
    </table>

    <if condition="$show['dst_correction']">
    <!-- auto DST correction code -->
    <form action="profile.php" method="post" name="dstform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="dst" />
    </form>
    <script type="text/javascript">
    <!--
    var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var utcOffset = new Date().getTimezoneOffset() / 60;
    if (Math.abs(tzOffset + utcOffset) == 1)
    { // Dst offset is 1 so its changed
    document.forms.dstform.submit();
    }
    //-->
    </script>
    <!-- / auto DST correction code -->
    </if>
    <script type="text/javascript">
    <!--
    // Main vBulletin Javascript Initialization
    vBulletin_init();
    // Initialize 'Active' Table Cells
    //activecells_init();
    //-->
    </script>
    anyone know what I do to fix it?




    #2
    Re: help me fix the footer code in blue emerald.

    Try this:


    <br />
    <div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
    <br />
    $spacer_close
    <!-- /content area table -->
    <script type="text/javascript"><!--
    google_ad_client = "pub-8756932698450020";
    google_ad_width = 200;
    google_ad_height = 90;
    google_ad_format = "200x90_0ads_al";
    google_ad_channel ="";
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    <td height="20" width="305"><img src="aablueimages/foot1.gif" /></td>
    <td height="20" width="305"><img src="aablueimages/foot2.gif" /></td>
    <td class="thead"> <div align="center"> <strong>
    <a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a> -
    <a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
    <if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> -</if>
    <if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if>
    <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
    <!-- - <a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> - -->
    <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
    </strong></div></td>
    </tr>
    <tr>
    <td colspan="3" class="alt2">
    <br />
    <div align="center">
    <div class="smallfont" align="center">
    <a href="http://webmastersempire.com" target="_black">Forum Skin Released By Webmaster's Empire</a>
    </div>
    <div class="smallfont" align="center">
    <!-- Do not remove this copyright notice -->
    $vbphrase[powered_by_vbulletin]
    <!-- Do not remove this copyright notice -->
    </div>

    <div class="smallfont" align="center">
    <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
    $cronimage
    <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

    $vboptions[copyrighttext]
    </div>
    <br />
    </div>
    </td>
    </tr>
    </table>

    <if condition="$show['dst_correction']">
    <!-- auto DST correction code -->
    <form action="profile.php" method="post" name="dstform">
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="dst" />
    </form>
    <script type="text/javascript">
    <!--
    var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
    var utcOffset = new Date().getTimezoneOffset() / 60;
    if (Math.abs(tzOffset + utcOffset) == 1)
    { // Dst offset is 1 so its changed
    document.forms.dstform.submit();
    }
    //-->
    </script>
    <!-- / auto DST correction code -->
    </if>
    <script type="text/javascript">
    <!--
    // Main vBulletin Javascript Initialization
    vBulletin_init();
    // Initialize 'Active' Table Cells
    //activecells_init();
    //-->
    </script>
    All I did was group the two "img src" commands back to back.

    That made the image place holders combine when I tested it, but the image itself would not appear (probably your security features at work).

    I hope that helps. I like Blue Emerald!

    Peace.

    <><><>
    EDIT:
    <><><>

    Just for quick reference...

    It went from this (posted code):






    To This (My code):




    This way (with pix) if I screwed up obviously, you can save time testing it.


    <><><><><>
    One Last Edit:
    <><><><><>

    You may need a

    <br>

    before the first Table Data ( <td> ) command that contains the image commands.

    Looking at the pictures I see text on the same line before the image place holders.

    I can't test it properly to be sure.

    It's an easy fix if needed.

    Peace again.
    Last edited by Rodak; 12-21-2005, 05:55 AM.

    MOO!




    Comment


      #3
      Re: help me fix the footer code in blue emerald.

      finally got around to trying this, and it's still a bit goofy. I think I know what needs to be done though.



      Comment


        #4
        Re: help me fix the footer code in blue emerald.

        I could not test it properly, as the screens show, but if you need help I can try again.

        It may just need a </tr> and a <tr> to create a new Table Row for the image bar.

        That would go just before the first <td> where the image commands are.

        Good Luck.

        Peace.

        MOO!




        Comment

        Working...
        X