vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   GIFs in Borders (https://vborg.vbsupport.ru/showthread.php?t=89721)

CSMatt 08-31-2004 08:41 PM

GIFs in Borders
 
I need to get the borders on my forums to match the borders on the updates to this Web page: http://www.badbadrubberpiggy.com (meaning that they need to be thick, colored accordingly, and include the round corners and the pipe-like GIF images on the sides). Can anyone help me with this?

CSMatt 09-05-2004 01:43 AM

1 Attachment(s)
Here's an example for what I want the boarders to look like.

AshAbed 09-05-2004 03:25 AM

well... for each forum the code would be different to get those kinds of borders, are you looking to pay someone to do this or to get free help? - either way, I might be able to help, is your example how you want it to be or an example of a forum that has it similar to how you want it?

CSMatt 09-05-2004 03:38 AM

I'm hoping I can get assistance for free.

And yes, the example is how I want it to be. I also want this border to appear in most of the same areas that the blue border appears here.

AshAbed 09-05-2004 03:51 AM

I have the code copied right now, you can either PM me the administration information and I'll do it for free right now or if you don't want to give that out then I'll explain how you can do it yourself tomorrow

CSMatt 09-05-2004 04:02 AM

You can explain it for me tomorrow. I don't have the administrative information anyway sense I'm not a full administrator on the forums I work with.

AshAbed 09-05-2004 01:01 PM

Ok here it goes, it would be much easier if I just did it for you but if you can understand these instructions you can give it a try yourself. You need to at least understand HTML to know how to do this correctly.
This is only for the postbit (for now)
open the template postbit (or postbit legacy, depends which your using)
search for where the table with the postbit starts, it should have 'class="tborder"'
right before that table starts add
PHP Code:

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <
tr
          
    <
td width="20" height="20" valign="TOP"><img src="/images/misc/corner-tl.gif"></td>
          
    <
td height="20" width="44" valign="TOP"><img src="/images/misc/fit-tl.gif" width="44" height="20"></td>
          
    <
td background="/images/misc/bar-top.gif" height="20" valign="TOP" width="100%"><img src="/images/misc/1-b.gif"></td>
          
    <
td width="44" height="20" valign="TOP" background="/images/misc/bar-top.gif"><img src="/images/misc/1-b.gif"></td>
          
    <
td width="20" height="20" valign="TOP"><img src="/images/misc/corner-tr.gif"></td>

        </
tr>
        <
tr
          <
td width="20" background="/images/misc/bar-left.gif" height="110"><img src="/images/misc/fit-lt.gif"></td>
          
    <
td rowspan="3" colspan="3" bgcolor="00000"

Now jump to the end of the postbit's table and add:
PHP Code:

  </td>
          <
td width="20" background="/images/misc/bar-right.gif" height="70"><img src="/images/misc/1-b.gif"></td>
        </
tr>
        <
tr
          
    <
td background="/images/misc/bar-left.gif" width="20" height="100%"><img src="/images/misc/1-b.gif" width="1" height="1"></td>
    <
td width="20" background="/images/misc/bar-right.gif" height="100%"><img src="/images/misc/1-b.gif" width="1" height="1"></td>

        </
tr>
        <
tr
          <
td background="/images/misc/bar-left.gif" height="110" width="20"><img src="/images/misc/1-b.gif"></td>
          
    <
td width="20" height="110" valign="BOTTOM" background="/images/misc/bar-right.gif"><img src="/images/misc/fit-lb.gif" width="20" height="110"></td>
        </
tr>
        <
tr
          <
td width="20" height="20" background="/images/misc/corner-bl.gif" valign="BOTTOM"><img src="/images/misc/1-b.gif"></td>
          
    <
td height="20" background="/images/misc/bar-bottom.gif" width="92" valign="BOTTOM"><img src="/images/misc/1-b.gif"></td>
          
    <
td height="20" background="/images/misc/bar-bottom.gif" valign="BOTTOM" align="CENTER" width="100%"><img src="/images/misc/1-b.gif"><img src="/images/misc/fit-b.gif" width="38" height="20"></td>
          <
td height="20" background="/images/misc/bar-bottom.gif" width="300" valign="BOTTOM"><img src="/images/misc/1-b.gif"></td>

          <
td height="20" width="20" valign="BOTTOM"><img src="/images/misc/corner-br.gif"></td>
        </
tr>
      </
table><br /> 

Hopefully you can get it done correctly from my instructions.

CSMatt 09-06-2004 12:26 AM

1 Attachment(s)
That did work, but the new border now surrounds the old white border. How do I get the new border to take the place of the old white border, if possible?

AshAbed 09-06-2004 01:39 AM

Oh forgot about that, simply remove 'class="tborder"' from the table with the postbit

CSMatt 09-06-2004 01:41 AM

OK.

So, do I just use the same procedure for the forum home and forum display templates?


All times are GMT. The time now is 08:13 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.01256 seconds
  • Memory Usage 1,770KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete