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)

TitanJeff 12-19-2005 05:26 PM

Okay, different question...

Is there any options to this hack if you need a side column on your index?

0xid0 12-19-2005 06:48 PM

Is it that nobody is going to help us? :ermm: :ermm: :ermm: :ermm:

reesev 12-19-2005 09:17 PM

i have the same issue with the gap on the right side..

DefenceTalk 12-20-2005 05:57 PM

The vB php includes function doesnt work if you place the include in the columns for this mod.

0xid0 12-20-2005 09:18 PM

There is no alternative to this hack? As that it has many failures and nobody helps us to solve them.

metropost 12-21-2005 02:20 AM

was able to put up a left column using this, only problem is behavior of column, when site loads and when a person clicks on a forum link, the new left column starts in the middle pf the screen and floats to the left - everytime! Slows users down and feels a bit strange. Am I doing something wrong or is this normal? Is there a quick fix? Example is at http://metroforum.com/main

Thug 12-24-2005 10:10 AM

Anyone post a modifyed left column template with forum stats,welcome message and todays birthdays please

Thug 12-24-2005 08:38 PM

anyone no why the forum stats code wont work on this colomn

Snake 12-25-2005 01:17 PM

Quote:

Originally Posted by peterska2
@ StarBuG: I'll look into it but it won't be till w/c 02 Jan 06 as I'm offline till then after today.

Well no news yet? We're still waiting.

tgmorris 12-27-2005 03:15 AM

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.

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. :(

peterska2 01-11-2006 10:57 PM

NexDog

I've done a bit of poking around for you and this should work.

Download this mod and import the plugin.

The template edit to do in the readme file apply to your left_column template instead of the navbar.

If it doesn't work, you can hit me with a big stick.

Viks 01-12-2006 02:31 AM

Amykhar, Is it possible for the left coloumn to be the EXACT same hieght as the forumshome coloumn on the right.

I mean the length of the LEFT coloumn should match the one on the right...even if it is blank.

is it possible?

NexDog 01-12-2006 03:03 AM

Quote:

Originally Posted by peterska2
NexDog

I've done a bit of poking around for you and this should work.

Download this mod and import the plugin.

The template edit to do in the readme file apply to your left_column template instead of the navbar.

If it doesn't work, you can hit me with a big stick.

Actually, already tried that and it doesn't work. But if I put the $navbar variable in the forumhome template the navbar comes up with the avatar in there. :(

peterska2 01-12-2006 03:24 AM

I'll play with it tomorrow and see what I can come up with

NexDog 01-12-2006 04:28 AM

Hey, thanks, I really appreciate that. It amazes me that people are always willing to give up valuable time to help people on this board. :)

NexDog 01-13-2006 10:17 AM

One of our coders got this to work.

1) He modified the left_column plugin code to create a variable called
"UserAvatar".

2) He modified the left column template to show said variable.

3) He had to hack one file - includes/class_core.php to force the function
fetch_user() to return avatar details. This is where we need help.

The other plugin (Avatar_In_Navbar) has a specific define that tells the
code to include the avatar stuff. How can we activate that define through a
plug in so that we don't need to modify the core files? Otherwise, each
time I do a security update, I'll kill the hack....

NemoTech 01-16-2006 03:55 PM

Quote:

Originally Posted by amykhar
Header
Code:

<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6,27)))">
<!-- Left Column Code  -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="left">
<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 -->
</if>

Footer
Code:

<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6,27)))">
<!-- Left Column Code  -->
</td></tr>
</table>
</td></tr>
</table>
<!-- End Left Column Code -->
</if>

This example would only show the column to the people in usergroups 6 and 27

What if you wanted to exclude certain forums from having the left column? What changes do I make in the if statement?

Thanks.

todd222222 01-18-2006 05:47 PM

How would I go about having the column show up on every page except my vbadvanced home page? Any help would be greatful.

Thanks
Todd

Langly 01-20-2006 11:07 PM

Quote:

Originally Posted by BiReL41r
This is a good hack to display your google adsense ads on the left. Some other sites do this aswell apposed to the top or footer of the site.


Can you give an example of the code and where to put the google ads at in this hack?

Z28.com 01-30-2006 01:40 AM

pardon my ignorance,

but how exactly do I import the XML file?? I have installed the script in the header/footer and the column works fine. I just dont understand what the XML file is about?

Thanks

Smiry Kin's 01-30-2006 01:45 AM

Quote:

Originally Posted by Z28.com
pardon my ignorance,

but how exactly do I import the XML file?? I have installed the script in the header/footer and the column works fine. I just dont understand what the XML file is about?

Thanks

is in the Plugin section..

Vierie 01-30-2006 11:39 AM

You don't have to change your header and footer, if you use the product.
But it works fine if you just change these two. You don't need the product then.

Z28.com 01-30-2006 11:40 PM

not sure I am quite following you....

I installed the script in my header/footer templates. So now you are saying I dont need to install the XML file???

here is what I am trying to do, perhaps someone can offer me some direction.

I would like to do a left column, then do the vertical navigation, then possibly add a few things of my own (sponsor links) in the left column as well. What would be the best way to approach this?


here is a link to the vertical navigation mod I am trying to do..
https://vborg.vbsupport.ru/showthread.php?t=99318

Vierie 01-31-2006 08:17 AM

In the beginning this hack was no product. You had to make the changes in the header/footer templates yourself.

Now Amy has upgraded the hack to product status. Therefore you don't have to make the changes yourself, the product makes them for you. The only difference I can see is that you get some example html code if you use the product. If you made the template changes yourself you don't have that.

Should work with peterskas hack anyway.

Langly 02-11-2006 04:43 AM

How can I add a google adsense skyscraper ad in this and where/how should it be setup please?

tommyxv 02-11-2006 08:42 PM

Not sure if this has been posted, but i had uneven spacing after i added the left and or right column. Here is was did to fix it.

https://vborg.vbsupport.ru/showpost....1&postcount=71

peterska2 02-12-2006 01:56 AM

Quote:

Originally Posted by Z28.com
not sure I am quite following you....

I installed the script in my header/footer templates. So now you are saying I dont need to install the XML file???

here is what I am trying to do, perhaps someone can offer me some direction.

I would like to do a left column, then do the vertical navigation, then possibly add a few things of my own (sponsor links) in the left column as well. What would be the best way to approach this?


here is a link to the vertical navigation mod I am trying to do..
https://vborg.vbsupport.ru/showthread.php?t=99318

Give me a poke with exactly what you want to achieve (pics are helpful if possible) along with all mods you've installed that need navbar links and I'll see what I can do.

Dekra 02-12-2006 12:13 PM

Hiya, im trying to get a left column and possible a right one on my forum but we have a template on it, everytime we add the plugin to make the side columns our forum in the middle shrinks to a really silly skinny size lol. Is there any way of adding side columns without shrinking the size of my forum?? Or am i just being really stupid here? I'm not very experienced at coding and adding all this stuff so any help would be much appreciated! :nervous:

My forum is located here so you can see the template we have on etc :- http://www.enchantedentertainment.co.uk/forum

tommyxv 02-12-2006 11:00 PM

Quote:

Originally Posted by Dekra
Hiya, im trying to get a left column and possible a right one on my forum but we have a template on it, everytime we add the plugin to make the side columns our forum in the middle shrinks to a really silly skinny size lol. Is there any way of adding side columns without shrinking the size of my forum?? Or am i just being really stupid here? I'm not very experienced at coding and adding all this stuff so any help would be much appreciated! :nervous:

My forum is located here so you can see the template we have on etc :- http://www.enchantedentertainment.co.uk/forum

When your adding these columns your making the width of the main forum table smaller so the columns can fit. By default the width of the columns are 160px, I changed it to 120px. I would use only left or right.

Smiry Kin's 02-13-2006 12:44 AM

Amy could you make a lil code for that photo post thingy??? i can't figure it out! :S


All times are GMT. The time now is 11:59 AM.

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.02224 seconds
  • Memory Usage 1,855KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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