vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Rounded Corners Question (https://vborg.vbsupport.ru/showthread.php?t=43801)

Dan Flynn 09-22-2002 04:12 AM

Rounded Corners Question
 
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 09-22-2002 04:12 AM

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=\"http://www.pixeljunction.com/forum/images/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=\"http://www.pixeljunction.com/forum/images/top_register.gif\" alt=\"Registration is free!\" border=\"0\"></a>";}

include("adblock.php");

$header="<center><table border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr> <td width=10> </td> <td valign=\"top\" align=\"left\" background=\"http://www.pixeljunction.com/forum/images/menu_background.gif\"><a href=\"index.php?s=$session[sessionhash]\"><img src=\"images/vBulletin_logo.gif\" 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=\"http://www.pixeljunction.com/forum/images/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=\"http://www.pixeljunction.com/forum/images/top_calendar.gif\" alt=\"Calendar\" border=\"0\"></a> <a href=\"memberlist.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"http://www.pixeljunction.com/forum/images/top_members.gif\" alt=\"Find other members\" border=\"0\"></a> <a href=\"vbgalleryindex.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"http://www.pixeljunction.com/forum/images/galleries.gif\" alt=\"Member galleries\" border=\"0\"></a> <a href=\"misc.php?s=$session[sessionhash]&action=faq\"><img width=\"53\" height=\"25\" src=\"http://www.pixeljunction.com/forum/images/top_faq.gif\" alt=\"Frequently Asked Questions\" border=\"0\"></a> <a href=\"search.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"http://www.pixeljunction.com/forum/images/top_search.gif\" alt=\"Search\" border=\"0\"></a> <a href=\"index.php?s=$session[sessionhash]\"><img width=\"53\" height=\"25\" src=\"http://www.pixeljunction.com/forum/images/top_home.gif\" alt=\"Home\" border=\"0\"></a> <!-- <a href=\"member.php?s=$session[sessionhash]&action=logout\"><img width=\"55\" height=\"25\" src=\"http://www.pixeljunction.com/forum/images/top_logout.gif\" alt=\"Logout\" border=\"0\"></a> --> <!-- /toplinks --> </td></tr></table><!-- /logo and buttons --><!-- content table --><table bgcolor=\"#F3F3F3\" width=\"100%\" 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;\"> </td> <td>";?>

And this is the code in vB cp footer

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

</table>
<table border="0" width="100%" 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 ©2000, 2002, Jelsoft Enterprises Limited.<br>
<!-- Do not remove this copyright notice -->
$copyrighttext

Thanks


All times are GMT. The time now is 07:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01892 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete