Announcement

Collapse
No announcement yet.

Rounded Corners

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

  • Rounded Corners

    I am upgrading my vb from 2.0.3 to 2.2.7. That's a story in it's self.

    But I had someone round my corners off on my old vb and put in an banner ad thing at the top. He used a header.php file where the code is for the top corners and a file call adblock.php for the banners. those files go in the root dir and he put include("header.php"); in the PHP parsed code: are. the header.php file has the include adblock in it to call the banners. and I think he use the footer in the cp of the vb

    My problem is this. before I figured out the above all I could find was his footer code in the cp and I copied to the new vb footer area. the bottom corners turned out fine. But I had no upper corners and there wasn't any code in the cp header. so as I said I figured out the top stuff and now I have the banner and the upper corners looking good and the lower corner are out of place.

    Not sure why the foot code worked before I install the headder.php and adbock.php in this new dir for this vb. Hope someone can understand this.

    The skill I have is pretty much a few years playing with stuff and altering other peoples code like hacks and html. but I really don't no this stuff.

    This I do know is a very easy fix. PLEASE HELP
    http://www.powerwashnetwork.com/forum/ take a look at the bottom


    Thanks
    Dan Flynn
    http://www.powerwashnetwork.com

  • #2
    Is this what you want?

    http://www.vbulletin.com/forum/showt...ers#post158946
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Here what I found. I have it figured out to the point I know it's in the header.php file..... Or I think it is. As I said above this guy design this using a header.php file instead of the header in the vB cp. But he did the footer in the vB cp.

      When I remove the header.php file from the forum root dir the corners in foot work. but when i upload the header.php file back to the root dir head corners work and the bottom does not.

      Here is the code in the header.php fil

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

      <?if ($bbuserid > 0) { $profileOrRegister = "<a href=\"usercp.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"{imagesfolder}/top_profile.gif\" alt=\"Here you can view your subscribed threads, work with private messages and edit your profile and preferences\" border=\"0\"></a>";} else { $profileOrRegister = "<a href=\"register.php?s=$session[sessionhash]&action=signup\"><img width=\"53\" height=\"25\" src=\"{imagesfolder}/top_register.gif\" alt=\"Registration is free!\" border=\"0\"></a>";}



      include("adblock.php");



      $header="<center><table border=\"0\" width=\"{tablewidth}\" cellpadding=\"0\" cellspacing=\"0\"><tr> <td width=10> &nbsp;</td> <td valign=\"top\" align=\"left\" background=\"{imagesfolder}/menu_background.gif\"><a href=\"index.php?s=$session[sessionhash]\"><img src=\"{titleimage}\" border=\"0\" alt=\"$bbtitle\"></a> <br> <a href=\"http://www.zepmfg.com\"><img src=\"/sponsors/serviceof.gif\" border=0 width=\"264\" height=\"32\"></a> </td> <td valign=\"bottom\" align=\"right\" nowrap background=\"{imagesfolder}/menu_background.gif\"> <div style=\"margin-bottom: 5px;\"> <table border=0 cellspacing=0 cellpadding=0> <tr> <td> <a href=\"$adlink1\"><img border=\"0\" src=\"$adimage1\" width=\"400\" height=\"53\"></a> <!--img border=\"0\" src=\"sponsors/sponsor.gif\" width=\"14\" height=\"53\"--> </td> </tr> </table> </div> <!-- toplinks --> $profileOrRegister <a href=\"calendar.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"{imagesfolder}/top_calendar.gif\" alt=\"Calendar\" border=\"0\"></a> <a href=\"memberlist.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"{imagesfolder}/top_members.gif\" alt=\"Find other members\" border=\"0\"></a> <a href=\"vbgalleryindex.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"{imagesfolder}/galleries.gif\" alt=\"Member galleries\" border=\"0\"></a> <a href=\"misc.php?s=$session[sessionhash]&action=faq\"><img width=\"53\" height=\"25\" src=\"{imagesfolder}/top_faq.gif\" alt=\"Frequently Asked Questions\" border=\"0\"></a> <a href=\"search.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"{imagesfolder}/top_search.gif\" alt=\"Search\" border=\"0\"></a> <a href=\"index.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"{imagesfolder}/top_home.gif\" alt=\"Home\" border=\"0\"></a> <!-- <a href=\"member.php?s=$session[sessionhash]&action=logout\"><img width=\"55\" height=\"25\" src=\"{imagesfolder}/top_logout.gif\" alt=\"Logout\" border=\"0\"></a> --> <!-- /toplinks --> </td></tr></table><!-- /logo and buttons --><!-- content table --><table bgcolor=\"{pagebgcolor}\" width=\"{tablewidth}\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr> <td> <img src=\"/images/corner1_ul.gif\"></td> <td bgcolor=\"#ffffff\" width=100% style=\"font: 4pt arial;\"><img src=\"/headers/images/pixel.gif\" width=1 height=1></td> <td align=\"right\"> <img src=\"/images/corner1_ur.gif\"></td></tr><tr> <td width=4 style=\"font: 4pt arial;\">&nbsp;</td> <td>";?>


      And this is the code in vB cp footer

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

      </table>
      <table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0"><tr>
      <td>
      <img src="/images/corner1_ll.gif"></td>
      <td bgcolor="#ffffff" width=100% style="font: 4pt arial;"><img src="/images/pixel.gif" width=1 height=1></td>
      <td align="right">
      <img src="/images/corner1_lr.gif"></td>
      </tr>
      </table>
      <!-- /content area table -->
      </center>

      <p align="center">
      <normalfont><font color=#ffffff><b>&lt; <a style="color:#ffffff;" href="$contactuslink">Contact Us</a> - <a style="color:#ffffff;" href="$homeurl">$hometitle</a>
      <!-- - <a href="$privacyurl">Privacy Statement</a> --> &gt;</b></font></normalfont>
      </p>

      <p align="center"><smallfont><font color=#ffffff>
      <!-- Do not remove this copyright notice -->
      TimberLand Pressure Wash /
      Powered by: vBulletin Version $templateversion<br>
      Copyright &copy;2000, 2002, Jelsoft Enterprises Limited.<br>
      <!-- Do not remove this copyright notice -->
      $copyrighttext


      Thanks
      Dan Flynn
      http://www.powerwashnetwork.com

      Comment


      • #4
        I think you might have better success asking this at vbulletin.org since header.php and adblock.php are not standard vB files.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          I just thought you might see something in the code were the header and footer divide. I know it's probably one litle thing.

          Thanks though
          Dan Flynn
          http://www.powerwashnetwork.com

          Comment

          Loading...
          Working...
          X