vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Put a Column on the Left Side of Every Forum Page (https://vborg.vbsupport.ru/showthread.php?t=91888)

Nordraserei 12-29-2005 12:38 PM

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:

Vierie 12-29-2005 04:03 PM

You put your links in the left column template...

Nordraserei 12-29-2005 05:49 PM

hmm. When ever I tried that it put them in various weird places.

0xid0 12-30-2005 12:14 AM

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

Danny Diamond 01-03-2006 10:37 AM

Man, this might be a stupid question but how do we add links and such to the left column once its installed?

gc1 01-03-2006 11:24 AM

go to adcolums left template and add it there, this is a fantastic hack btw Amy... and I did vote for it as HOTM

silurius 01-10-2006 11:04 PM

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.

NexDog 01-11-2006 11:22 AM

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?

Vierie 01-11-2006 03:10 PM

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>

NexDog 01-11-2006 09:56 PM

Still no worky. :(


All times are GMT. The time now is 01:06 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.01422 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete