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)

ithf 08-19-2006 04:12 PM

thanks for the hack..

few questions though...

first of all, where exactly in the header template would u add the code...?
i added at the very top, above evrything else and then added it in the footer...

it added the right block, though it wasnt possitioned complete to the left as u have it on your screenshot, there was a gap between the block and the left side of the skin..also, i am not using a fixed template so as I added the blocked it streeched the main skin it self to the right adding a scroll bar at the bottom..

also, where would u edit the content of the block
and also, how would u another one right under it?

thanks

Rik Brown 08-19-2006 08:15 PM

Quote:

Originally Posted by skyecade
I just added this to my forum (3.6) and it works great with 1 minor exception. When I view a thread (showthread.php) it seems to disalign some of the tables. Anyone know a fix to this problem?

Everything else seems to be working okay.

I just added it to 3.6.0 too. Likewise, everything looks fine except that in the threadview, it all expands from 1000 pix (my default vb width) to 1160 pix with the left side bar added in. Again, this is only on thread view and the rest of the site doesn't exceed the normal 1000 pix I have it defaulted to...

If anyone know a fix for this, I'd like to know, too

Thanks. -- Rik

GrantHorizons 08-21-2006 10:25 AM

Amy, any chance of a full upgrade to VB 3.6 for this lovely hack?

I'm not much of a coder and would like to just install and go! :) lazy, I know, but with a busy board it's dangerous to play when you don't know what you're doing! And it DOES seem there are a few problems.

JenniferK 08-21-2006 03:59 PM

Rik - check post #367 ;)

GrantHorizons - It works fine for 3.6 :)

GrantHorizons 08-23-2006 06:00 PM

Quote:

Originally Posted by JenniferK
Rik - check post #367 ;)

GrantHorizons - It works fine for 3.6 :)

Thanks Jennifer! :)

Rik Brown 08-24-2006 02:01 AM

Quote:

Originally Posted by JenniferK
Rik - check post #367 ;)

GrantHorizons - It works fine for 3.6 :)

Jennifer:

Your post #367 fixed almost every page. I'm still just having difficulties on viewing threads (which are still too wide). But all other pages seem fine.

Thank you very much. -- Rik

P.S for Anyone: Also, I'm using this mod for Google Adsense ads. They really shouldn't be displayed on all pages (such as thread editing pages). Is there a way with PHP to know what vbulletin page you are on and then using if/then/else determine whether to display the left column or not?

peterska2 08-24-2006 08:15 AM

Rik,

Have a look at instructions in this post. They explain how to not have it on the register page. You add more pages by using the same variable and getting the script name from the top of the php file and adding an or to your conditional so you might end up with a conditional like this (well actually you won't but I just picked some pages that I kow the script names of)
Code:

<if condition="THIS_SCRIPT!='register' || THIS_SCRIPT!='index' || THIS_SCRIPT!='private' || THIS_SCRIPT!='adv_index'">
Whatever you do don't actually use that conditional as it will not display on your vBAdvanced (if you use it), your forumhome, private messaging, and registration pages. That is just a sample to show how to put more pages into the conditional.

JenniferK 08-24-2006 05:03 PM

Glad I was actually able to be of some help to someone :)

Anyone have any ideas about how to make the footer (What's Going On) not get pushed over by the column?

Rik Brown 08-24-2006 08:48 PM

Kerry-Anne: Fantastic. Your message #377 solved it for me. Thanks. -- Rik

peterska2 08-24-2006 09:06 PM

Quote:

Originally Posted by JenniferK
Glad I was actually able to be of some help to someone :)

Anyone have any ideas about how to make the footer (What's Going On) not get pushed over by the column?

Thats going to be fun, as it will need some fancy conditional work

(actually not really, but it sounds good lol)

In your footer wrap the edit with
Code:

<if condition="THIS_SCRIPT!='index'">additional stuff for the column</if>
Then in your forumhome template above the whats going on box code, add the code normally put in the footer.

It's not tested, but you shouldn't have any problems.


All times are GMT. The time now is 04:00 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.01970 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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