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
  #212  
Old 12-29-2005, 12:38 PM
Nordraserei Nordraserei is offline
 
Join Date: Oct 2005
Location: Texas
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do I add the links? I tried to wrap them in the tags in the header template and it shows up in various weird places outside of the box. Or am I trying to edit the wrong template? :ermm:
Reply With Quote
  #213  
Old 12-29-2005, 04:03 PM
Vierie Vierie is offline
 
Join Date: Apr 2005
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You put your links in the left column template...
Reply With Quote
  #214  
Old 12-29-2005, 05:49 PM
Nordraserei Nordraserei is offline
 
Join Date: Oct 2005
Location: Texas
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm. When ever I tried that it put them in various weird places.
Reply With Quote
  #215  
Old 12-30-2005, 12:14 AM
0xid0 0xid0 is offline
 
Join Date: Sep 2005
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tgmorris
After thinking this was going to be easy I wound up working on this for 3 hours before I finally came up with a solution that works in both FF and IE.

In my case I wanted the vb navbar to extend full width so I made one of my changes at the bottom of that template. If you want the navbar shoved over by the left column then make the change to the header template instead.

After installing the existing product do the following.

Append at bottom of navbar template.
This portion controls the spacing between the left column and the forum.
HTML Code:
<!-- Left Column Code  -->
<div style="width: 100%">
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
  <tr>
    <td valign="top" align="left">
      $leftcolumn
    </td>
    <td><img src="$vboptions[cleargifurl]" width="10"></td><!-- adjust width as desired -->
    <td valign="top" width="100%">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td valign="top">
<!-- End Left Column Code -->
Insert at top of footer template
HTML Code:
<!-- Left Column Code  -->
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</div>
<!-- End Left Column Code -->
Revised template: left_column.
This template controls the width of the left column. Modify the settings to provide the desired appearance (borders, spacing, etc.)
HTML Code:
<table align="left" border="0" cellpadding="0" cellspacing="0" width="120">
  <tr>
    <td align="center" bgcolor="#ffffff">

<!-- Begin custom code -->
Your custom code goes in here.
<!-- End custom code -->

    </td>
  </tr>
</table>
BTW - This in no way is meant to diminish the work that was done to come up with the original work. It was workling fine for me in FF but I was installing it on another site. Testing in IE revealed the situation where the "All times are GMT" text was pushed out to the right of the forum. After reading all 14 pages of the thread I discovered nobody had really solved it - at least the posted solution didn't work for me.
THANK YOU VERY MUCH!!!!!!!! It me has worked correctly, now I have a couple of questions:

- Might one say the code to me to put in left_column in order that me a block appears as with the plugin without modifying?

- Does it know if there is some way of doing that the blocks of the left side do not appear at the moment of reading the messages?

Thank you very much again
Reply With Quote
  #216  
Old 01-03-2006, 10:37 AM
Danny Diamond's Avatar
Danny Diamond Danny Diamond is offline
 
Join Date: Oct 2004
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man, this might be a stupid question but how do we add links and such to the left column once its installed?
Reply With Quote
  #217  
Old 01-03-2006, 11:24 AM
gc1 gc1 is offline
 
Join Date: Sep 2002
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

go to adcolums left template and add it there, this is a fantastic hack btw Amy... and I did vote for it as HOTM
Reply With Quote
  #218  
Old 01-10-2006, 11:04 PM
silurius silurius is offline
 
Join Date: Oct 2004
Posts: 404
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KYNSimon
Man, this might be a stupid question but how do we add links and such to the left column once its installed?
It took me a while to find it, but you have to update the left_column template manually. No admincp interface for adding links, so you'll have to play around with it a bit. I agree that this is a fantastic hack to have.
Reply With Quote
  #219  
Old 01-11-2006, 11:22 AM
NexDog's Avatar
NexDog NexDog is offline
 
Join Date: Mar 2002
Location: Lost in the Nexus
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have this working great. We have just upgraded our board from vb 2.3.xx to 3.5.3 and having a hard job with the avatar display on the left column when a user logs in. Forum is here:

http://nexusportal.net

This is the code we have:

Code:
<a href="profile.php?do=editavatar"><if condition="!$bbuserinfo['avatarid']"><img src="nex/noavatar.gif" border="0"><else /><img src="$bbuserinfo[avatarurl]" border="0"></if></a>
No matter what we try, it always returns the noavatar.gif. Is there a simple code mod I can put in to make this work again?
Reply With Quote
  #220  
Old 01-11-2006, 03:10 PM
Vierie Vierie is offline
 
Join Date: Apr 2005
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You probably need:

Code:
<a href="profile.php?do=editavatar"><if condition="!$vbulletin->userinfo['avatarid']"><img src="nex/noavatar.gif" border="0"><else /><img src="$vbulletin->userinfo[avatarurl]" border="0"></if></a>
Reply With Quote
  #221  
Old 01-11-2006, 09:56 PM
NexDog's Avatar
NexDog NexDog is offline
 
Join Date: Mar 2002
Location: Lost in the Nexus
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still no worky.
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 03:53 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.07760 seconds
  • Memory Usage 2,323KB
  • 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
  • (3)bbcode_html
  • (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
  • (2)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