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
  #102  
Old 08-25-2005, 12:45 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no way for disabling the product to disable all traces of the sidebar because you have to edit the header and footer template. Products don't track changes to existing templates.

Regarding the second, I'm sure it's an HTML or CSS thing. It's just not something I have researched because I've never had cause to use it.
Reply With Quote
  #103  
Old 08-25-2005, 12:53 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To solve 'bug 2':

New header template edit:
HTML Code:
<!-- Left Column Code  -->
<if condition="$vbulletin->registry->products[amykhar_080517_l]">
<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">
</if>
<!-- End Left Column Code -->
new footer:
HTML Code:
<!-- Left Column Code  -->
<if condition="$vbulletin->registry->products[amykhar_080517_l]">
</td></tr>
</table>
</td></tr>
</table>
</if>
<!-- End Left Column Code -->
PS in the above code the extra '<' of bug 1 is also already removed.
Reply With Quote
  #104  
Old 08-25-2005, 12:54 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PS With removing all traces, i ment removing all visible traces (not showing the empty space anymore)
Reply With Quote
  #105  
Old 08-25-2005, 12:59 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops that code will not work. It will remove the traces alright when the product is disabled, but it will also not show when enabled. Give me a bit to come with a good solution.
Reply With Quote
  #106  
Old 08-25-2005, 03:21 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a cool idea though, Marco. If we can get that figured out, it will help for a ton of mods.
Reply With Quote
  #107  
Old 08-25-2005, 03:59 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry i didn't have a look at it now, blame Bobfool for that.
Reply With Quote
  #108  
Old 08-26-2005, 10:35 AM
IFor[You] IFor[You] is offline
 
Join Date: Dec 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, may I know how do we move some components of forum home, like today's birthdays and upcoming events, to the left column?
Reply With Quote
  #109  
Old 08-26-2005, 11:56 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would mean writing some additional code in the plugin to pull the info that you want.

Amy
Reply With Quote
  #110  
Old 08-26-2005, 01:13 PM
ohgenki ohgenki is offline
 
Join Date: Apr 2002
Location: Singapore
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do we include your hottest forum topics there ? can't seem to add any code there at all.
Reply With Quote
  #111  
Old 08-26-2005, 01:16 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, you won't be able to do it with the plugin because that was designed for forumhome. To get dynamic data in the sidebars, you will have to write code in the plugin to pull the info you want.
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 11:27 PM.


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.05659 seconds
  • Memory Usage 2,309KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_html
  • (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