Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-10-2006, 09:16 PM
dc1pop dc1pop is offline
 
Join Date: May 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Side Bar

Hi,

How would i go about adding a side bar to my forums for example look at these sites:

http://forums.moneysavingexpert.com/

and

http://forum.digitalspy.co.uk/board/

Thanks for any help

Regards,
Darren
Reply With Quote
  #2  
Old 04-11-2006, 05:14 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking at those two sites, you are looking at a combination of two mods.

1. Creat a left column on all pages by amykhar
2. Vertical site navigation by myself

I hope this helps.
Reply With Quote
  #3  
Old 04-11-2006, 05:56 AM
dc1pop dc1pop is offline
 
Join Date: May 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the help!

Much appricated
Reply With Quote
  #4  
Old 04-14-2006, 03:34 PM
dc1pop dc1pop is offline
 
Join Date: May 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im now using the left side hack but i want the table to auto fill the table so it reaches the footer. How would i go about doing this?

Ive tried using height 100% and also placing

#fullheight{height:100%} in my CSS and then giving the table and id=fullheight statement but i cant get it to work:

Attachment 45659

I want it as the side coloum on the money saving expert links shows above so the table reaches the footer even if it has no content.

Hope someone can help driving me crazy now
Reply With Quote
  #5  
Old 04-14-2006, 04:02 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would imagine that you will need to specify the height in pixels in the td tag. I've not needed to have it full height so haven't actually gone through the motions of finding the right place to specify that. Plus, the height will vary from site to site, and will fluctate depending on any calandar events, birthdays, etc.
Reply With Quote
  #6  
Old 04-14-2006, 04:05 PM
dc1pop dc1pop is offline
 
Join Date: May 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats what i mean i dont want to specifiy the height as threads have varying lengths. I just want it to resize even one cell so it will autofill untill it reaches the footer.

Reply With Quote
  #7  
Old 04-14-2006, 04:20 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, it's not nice code, but it works, so that's all that matters.

make the changes as defined here

HEADER

Find
Code:
<!-- Left Column Code  -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
REPLACE WITH
[cdoe]<!-- Left Column Code -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" height="100%" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->[/code]

LEFT_COLUMN or RIGHT_COLUMN

Find
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
REPLACE WITH
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%" height="100%">
For the bit that you want to stretch

Replace
Code:
<tr>
with
Code:
<tr height="100%" valign="top">
It works on my test board.
Reply With Quote
  #8  
Old 04-14-2006, 04:28 PM
dc1pop dc1pop is offline
 
Join Date: May 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont seem to like that in Internet Explorer but works fine with FireFox maybe il re desgin my nav bar.

Is their anyway that you know of so that the box has no gap on the left hand side and is flush with the page?

Thanks for all your help!!

Darren
Reply With Quote
  #9  
Old 04-14-2006, 05:18 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in your left_column template

change
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" [high]width="90%"[/high]>
to
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" [high]width="100%"[/high]>
I don't know why it doesn't work in IE, but I next to never use it, so I never think about it.
Reply With Quote
  #10  
Old 04-14-2006, 06:15 PM
dc1pop dc1pop is offline
 
Join Date: May 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks still got a few issues so the forums can still be spaced but il read up more so i dont keep bugging you.

Thanks for your help.
Reply With Quote
Reply


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 10:17 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.04453 seconds
  • Memory Usage 2,272KB
  • Queries Executed 14 (?)
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
  • (7)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete