Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2003, 09:19 PM
eddieeddie eddieeddie is offline
 
Join Date: Jan 2003
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Image border

I have searched and for threads about how to make a border along the side of your forums, like http://www.osxserver.ch/forums/

I have tried looking at the ones for a border and modifying it by adding a picture instead of just a line, but no luck. If anyone knows how please help.

Thanks.
Reply With Quote
  #2  
Old 03-29-2003, 02:31 PM
imported_Blindchild02 imported_Blindchild02 is offline
 
Join Date: Sep 2002
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*also was lookin for it*
Reply With Quote
  #3  
Old 03-29-2003, 03:34 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i thought you'd gotten this to work blindchild02?

all you have to do is nest your forum within another table. so create a table with the images and with a blank td in the middle that you place your forum within.

it all depends on the size of the images and wether you want it to frame the entire forum or just the sides or just the top and bottom. also depends on whether you'll be using CSS to set those background images or HTML... i recommend CSS.

so in the header template, just add the top portion of the new table that will have the background frame, as well as the left side (if you're doing the sides as well), and then in the footer template, add the right side td (if you are doing the sides as well) and the bottom.

example
you would put something like this at the very top of your header template, being careful to edit it so that it matches your forum (style, size, image locations, etc). if you don't understand this, go to www.w3schools.com and brush up on your html, k?

<table><tr><td background="TOP IMG URL" colspan=3 width=XX height=XX></td></tr><tr><td background="LEFT SIDE IMG URL" width=XX></td><td>

then in your footer, you'd place your right side and the bottom.

</td><td background="RIGHT SIDE IMG URL" width=XX></td></tr><tr><td background="BOTTOM IMG URL" colspan=3 width=XX height=XX></td></tr></table>

and you're done.
again, make certain to adjust your width as well as your height for the top and bottom tags, and tinker with it until it's just right. i suggest you use CSS instead, but that's a personal preference.

as a last note, this won't add nice rounded off corners to your forum, as you would need to create each corner seperately and place them into their own td's in the corners, which then affects the colspans and such within all of the above noted example. if you plan to go that advanced, then study tables at w3schools, and git to work... lol.
Reply With Quote
  #4  
Old 03-29-2003, 06:35 PM
imported_Blindchild02 imported_Blindchild02 is offline
 
Join Date: Sep 2002
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nah i got the rounded BG to work, not image border
Reply With Quote
  #5  
Old 03-29-2003, 08:48 PM
eddieeddie eddieeddie is offline
 
Join Date: Jan 2003
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured out how to get this to work yesterday, but it stops half way down the forums, I am now looking through templates to find what is closing my <td>

Do you happen to know off hand the method to do it via css, I found some things online, but they wouldnt work.
Reply With Quote
  #6  
Old 03-29-2003, 09:21 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just set the images as bg through a linked css stylesheet, and then set the width and height of the tables.
Reply With Quote
  #7  
Old 03-29-2003, 11:58 PM
eddieeddie eddieeddie is offline
 
Join Date: Jan 2003
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont know how to do it viw the css.
Reply With Quote
  #8  
Old 03-30-2003, 01:34 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

check www.w3schools.com and they have a css section. that will help greatly.

good luck.
Reply With Quote
  #9  
Old 03-30-2003, 01:51 PM
eddieeddie eddieeddie is offline
 
Join Date: Jan 2003
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I couldnt see anything on how to make an image a border with CSS
Reply With Quote
  #10  
Old 03-30-2003, 06:25 PM
Buddha Buddha is offline
 
Join Date: Jan 2002
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have to create the tables around the outer edge that act as the border, and then set the image as the background in those tables using css.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:13 PM.


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.04398 seconds
  • Memory Usage 2,238KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete