vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Left Sidebar on all pages. (https://vborg.vbsupport.ru/showthread.php?t=59781)

SamirDarji 09-15-2004 05:16 AM

I'm considering installing this hack, but I have 2 concerns:
1. What are the known issues (if any) with 3.0.3?
2. What exactly is the logic needed to make it not show up on the vbadvanced cmps?

eblivion 09-19-2004 09:01 PM

FIGURED THIS OUT:

Changed table width to 100% in the postbit template

----------------------------

I'm having problems with the alignment of the contents table in the thread just as mentioned in a previous post

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

I tried all the suggestion I could find in this thread but nothing works.

dave6901_2000 09-21-2004 10:50 AM

dave6901 clicks Installs :)

ashley53680 09-23-2004 06:48 PM

Okay I was able to get it to not show up in the show thread...

instead of putting the tags in the header and footer template. I put both tags in forumdisplay and forumhome. The first one below the $navbar code and then the second tag above the $footer tag.

Okay so that's all the info I know. I am still having a spacing issue in the show thread. Anyone figure this out yet?

eblivion 09-26-2004 02:09 PM

Quote:

Originally Posted by SamirDarji
I'm considering installing this hack, but I have 2 concerns:
1. What are the known issues (if any) with 3.0.3?
2. What exactly is the logic needed to make it not show up on the vbadvanced cmps?

I use it with the vbAdvanced and it works great! I moved around & remove some of the content of vbAdv because I had incorporated them on the left nav instead. I made the vbAdv content 2 columns instead of the 3.

NOTE: I put a search box on the left nav then turned it off on the vbAdv options and it disappeared from my left nav too. Once I turned it back on, it appeared on the left nav again. Therefore, I would not recommend turning off any of the functions that are used in other parts of the site. If you do not want it on the vbAdv page, just remove the code for the content from the index template.

Briskoda 09-27-2004 03:02 PM

I use sidebar with vbadvanced. I do not use the left template in vbadvanced (technically I do for the homepage)
BRISKODA - Skoda forum.

What you see is a customised front page flicked on a conditional in the adv_portal. Sidebar hack is present throughout the site again working heavily on conditionals.

The homepage does have the left column active(latest topics), but this time it's the right hand one and is next to the default right hand column(stats etc).
The centre columns (news) appear on the left (all relative to sidebar).

I just duplicated the php module src (*changed the eval template code) with a template duplication/edititng to suit, although not all done yet.

But shows Sidebar integrating well IMHO with vb3.0.3 and vbadvanced + a few other packages. I prefer it to using the vbadvanced suggested inegration as it's far less editing and manipulation. Sidebar is the classic keeping it simple excellence.

hooolala 10-09-2004 05:59 AM

Quote:

Originally Posted by subu1
ups :rolleyes: :rolleyes: :rolleyes:

can everybody take that for vb2


LOL~~!! i've found a way to make this work with VB2

everything is the same, except change this code in the instraction from

eval('$sidebar = "' . fetch_template('sidebar') . '";');

to

eval("\$sidebar = \"".gettemplate('sidebar')."\";");
(add it on top of eval("\$headinclude = \"".gettemplate('headinclude')."\";"); Globle.php)

gmtalk 10-19-2004 08:37 PM

Now how would I go about excluding the column from differing pages? I am having a brain fart on this. I know that for certain php scripts I can use the following condition

PHP Code:

<if condition="THIS_SCRIPT != 'whatever'"

That will get rid of it on the whatever.php files, but i need it to do this for subfolders. For example I dont want it to appear on http://www.yoursite.com/data where /data pulls info for the headers, navbar and footers from the vb template system.

I know it is something simple that I am over looking, but anyone that can point me in the right direction...it would be appreciated.

TIA.

Natch 10-19-2004 09:37 PM

In those sub-folder scripts, you should define a single "THIS_SCRIPT" value which you can then test on in your conditionals...

Briskoda 10-20-2004 03:36 PM

If the main script is pulling in other scripts it's the first reference to THIS_SCRIPT that counts. Thus all the forums pages report as forum or forums.

So you may have to edit a few pages/templates to stop it appearing or make it appear. I have added conditions within sidebar to affect what is displayed based on page name or this_script. Works fairly well from what I can make out.


All times are GMT. The time now is 07:43 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.01259 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_php_printable
  • (2)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