Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Put a Column on the Left Side of Every Forum Page Details »»
Put a Column on the Left Side of Every Forum Page
Version: 1.1, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 07-08-2005 Last Update: 08-16-2005 Installs: 338
Uses Plugins Template Edits
 
No support by the author.

This little PRODUCT will provide you with a template to put content in a column going down the left side of every forum page.

What you put there is limited only by your imagination.

This can easily be combined with the right column product to have a column on both sides.

To use this with the right column product , change the footer code to:
Code:
<!-- Right Column Code  -->
</td>
<td width="160" valign="top" align="left">$rightcolumn</td>
</tr>
</table>
</td></tr>
</table>
<!-- End Right Column Code -->
Changes in 1.1
Some very important changes were made to the header and footer template changes. Please modify your header and footer code to use the new version.

This is now a PRODUCT and not a plugin. Use the product manager to import it. If you are upgrading, copy the contents of your left_column template to notepad BEFORE you install the product. Then, replace the template contents with your backup.

This version now includes sample html in the left_column template. Thanks to iguanairs for that code.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #392  
Old 09-26-2006, 03:02 PM
kwame kwame is offline
 
Join Date: Mar 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, I need to include some php code in this left nav but it won't show up. I tried creating a plugin and then including that in the left nav but that doesn't work either. Can someone please point me in the right direction on this one? Thanks.
Reply With Quote
  #393  
Old 09-28-2006, 05:09 AM
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why is it in the "showthread.php?" after the second/third post does the layout go back to normal?


example > http://www.metallifukinca.com/showthread.php?t=3361
Reply With Quote
  #394  
Old 10-06-2006, 03:50 PM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been searching this thread for the answer but haven't found yet.

This hack works great. However I have a fixed width of 900px (centered) and this hack bumps my content out the length of my left column. I changed the header width and that worked for most of my pages. However the showthread table is still pushed out.

How do I get this to work on the showthread page?

Here's a link to the problem page:

http://www.prenatalyogacenter.com/fo...read.php?t=788
Reply With Quote
  #395  
Old 10-06-2006, 08:55 PM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=JenniferK]Rik, works fine in 3.6.1

Jennifer: Thanks. Got it online. -- Rik
Reply With Quote
  #396  
Old 10-07-2006, 05:28 PM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the fixed width problem here:

http://www.vbulletin.com/forum/showthread.php?t=156775

Admin CP -> Styles & Templates -> Style Manager -> ? ? -> spacer_open

Replace the red code:
Code:
<!-- open content container -->
<if condition="$show['old_explorer']">
	<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center"><tr><td class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
<else />
	<div align="center">
		<div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
			<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
</if>
...with the blue code:
Code:
<!-- open content container -->
<if condition="$show['old_explorer']">
	<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr><td class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
<else />
	<div align="center">
		<div class="page" style="width:100%; text-align:$stylevar[left]">
			<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
</if>

I think this should be added as template change for the iinstall instructions.
Reply With Quote
  #397  
Old 10-15-2006, 10:34 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by attroll
To make them collapsable use this code in your template:

PHP Code:
<table align="center" border="0" cellpadding="6" cellspacing="1" class="tborder" width="100%">
<
thead>
<
tr>
<
td class="tcat" colspan="0">
<
a href="#top" onclick="return toggle_collapse('module_40')" style="float:right"><img alt="" border="0" id="collapseimg_module_40" src="/forum/images/buttons/collapse_tcat.gif" /></a>
<
span class="smallfont"><strong>&raquoTitle here</strong></span></td>
</
tr>
</
thead>
<
tbody id="collapseobj_module_40" style="">
<
td class="alt2">
<!-- 
Begin custom code -->
<
a href ="http://www.yoursite.net">Home</a><br>
<
a href ="http://www.yoursite.net/forum">Forum</a><br>
<!-- 
Begin custom code -->
</
tbody>
</
table
That doesnt work for me. It just looks like all my other tables. www.buy-host.com/forums It is the bottom one that is using your code.
Reply With Quote
  #398  
Old 10-18-2006, 05:47 AM
navjotjsingh navjotjsingh is offline
 
Join Date: Feb 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to put the left column on the left of forums only and what's going on and complete footer should be normal and not pushed by the sidebar. Any ideas on that?
Reply With Quote
  #399  
Old 10-18-2006, 12:22 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by navjotjsingh
How to put the left column on the left of forums only and what's going on and complete footer should be normal and not pushed by the sidebar. Any ideas on that?
That is not possible with this modification as the edits are to the header and footer templates and therefor anything inbetween forms the right column of the two column layout.
Reply With Quote
  #400  
Old 10-20-2006, 07:42 PM
fatal1980 fatal1980 is offline
 
Join Date: Jul 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod works perfectly, except on the showthread.php pages.

It shows the name of the column thats it. works perfectly everywhere else.. any ideas?

thanks
Reply With Quote
  #401  
Old 10-24-2006, 01:07 AM
Oreamnos's Avatar
Oreamnos Oreamnos is offline
 
Join Date: Dec 2004
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to move some of my navbar links to the left column but the template conditionals aren't working.

For example, if I put this:
PHP Code:
<if condition="$show['member']">member info</if> 
in my left_column template nothing shows up. I am a member so it should be showing what is between the <if></if> tags, right?

what am i doing wrong?

thanks
eric
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 06:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05133 seconds
  • Memory Usage 2,331KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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