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)

WoodiE 06-12-2004 12:47 AM

Does anyone know how to make this display ONLY on the right side? Many pages back and a few months ago Dark_Wizard said he'd write instructions on how to, but hasn't - or I've over looked them.

-Michael

ashley53680 06-12-2004 12:49 AM

I think you just replace where it says "left" to "right"...

WoodiE 06-19-2004 12:48 PM

I can't get forum stats to show in the side bar because the sidebar code isn't part of the ForumHome template (thanks to Tony from vbtemplates for pointing that out). What do I need to do to make it so my forum stats can be displayed on the sidebar as well?

I'm using a right side bar only.

-Michael

WoodiE 06-22-2004 06:59 PM

Sidebar still not working.

Highlander 06-30-2004 04:10 AM

in vb2.* there has been also an sidepanel addon, but the addon allwoed the user to specify it, so every user on his own could declare to get the sidepanel ON or OFF .. if anybody know porting it , please feel free to do so :D ..

the sidepanel option was with an link (wuick link) "show sidepnale" and "disable sidepanel" :D

greetings
from Germany

Cyn 07-28-2004 04:29 PM

Check out my problem - the side bar is pushed off the screen. I've played around with the spacing a bit but so far no luck. We are using postbit_legacy.

ashley53680 07-28-2004 07:21 PM

Did you try setting the forum home at 100% not a certian size?

Cyn 07-28-2004 07:38 PM

Quote:

Originally Posted by ashley53680
Did you try setting the forum home at 100% not a certian size?

Right now I've removed it and am trying out this add-on:

http://www.vbulletin.com/forum/showthread.php?t=101599

This is working fine for me for the forumhome page, the threads list pages, usercp, etc. but it doesn't show up in the individual thread pages. Any idea what to do to make it show on all pages?

99SIVTEC 08-11-2004 11:40 PM

Is it possible to make this hack NOT show on the individual threads? I've tried a couple of these and I only want this to show up on forumhome and forumdisplay, but NOT showthread.

sfowler39 08-12-2004 07:25 PM

The side bar needs to be brought down below the horizontal navbar. How can I make it come down below this navbar? The horizontal navbar needs to be across the hole page from left to right.

nogerorob 08-18-2004 05:29 PM

I had this same problem, couldn't resolve it and ended up removing the hack.

r

jesse 08-21-2004 01:33 AM

Quote:

Originally Posted by Action-N
I just got done making two posts right above this one that answers your question. It's ok to read threw the posts, it's not all random jargon.


by looking at your prior post it didnt help me..
advanced

in forum home what code goes in there
$rightsidebar
or

the code that was put into the nav bar

i need a better explanation because the post above didnt help me..

jesse 08-21-2004 02:16 AM

Quote:

Originally Posted by jesse
by looking at your prior post it didnt help me..
advanced

in forum home what code goes in there
$rightsidebar
or

the code that was put into the nav bar

i need a better explanation because the post above didnt help me..

wel here you go

this is for vdadvanced cms users
http://www.vbadvanced.com/membersare...tid=4&pageid=6

Host Directory 08-26-2004 06:03 PM

Can anyone write in clear instructions what i must do to add ONLY a right sidebar to my pages. I have tryed several attempts from reading the instructions with the hack but they just don't seem to have the full instructions for adding only a right sidebar. As far as displaying advertisments is concerned - adverts in the right hand side have much higher clickthroughs. This is due to the fact that many search engines display their ads on the right and have trained us subconciously to look there.

It would also be good if when writing the instructions if someone could include all the bug fixes needed to apply to get the sidebar to line up properly and without distorting the board- rather than having to wade through this thread trying to work out everything.

I would really like this hack but without the full instructions to install it only for right side i just can't work it out. Even when installing both sides it seems to shrink the forums when it should stretch everything out.

If you goto http://www.hostcompanies.com/forums/?styleid=5 you will see that everything on the board is crunched up... anyone know what i must do to fix this?

Any help appreciated

Host Directory 08-26-2004 10:33 PM

How would you make this work in postbit_legacy?

Quote:

Originally Posted by pete_brady
ok

in your postbit template, replace $spacer_open with

PHP Code:

<!-- open content container -->
<if 
condition="$show['old_explorer']">
    <
table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]align="center"><tr><td class="page" style="padding:0px 0px 0px 0px">
<else />
    <
div align="center">
        <
div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
            <
div style="padding:0px 0px 0px 0px">

</if> 

I don't know if modifying the $spacer_open template would have any knock-on effects elsewhere, so this just changes the div style padding to all zeroes instead of using the style values.

It's neither graceful nor elegant, but it works for me.


Host Directory 08-26-2004 10:34 PM

Any ideas on how to make this work with only the right sidebar?

Quote:

Originally Posted by BarBeQue
Ok, i solved my own request in the previous post :D

instead of adding this to the end of the header template:
PHP Code:

<!-- Sidebar -->
<
table width="$stylevar[tablewidth]cellpadding="0" cellspacing="7" border="0">
    <
tr>
        <
td style="width:150px" valign="top">$sidebar</td>
        <
td valign="top">
<!-- 
Update -->
<
table width="$stylevar[tablewidth]cellpadding="0" cellspacing="0" border="0">
<
tr>
        <
td style="width:100%">
<!-- /
Update -->
<!-- /
Sidebar --> 

I added this to the end of the navbar template:
PHP Code:

<!-- Sidebar -->
<
table width="$stylevar[tablewidth]cellpadding="0" cellspacing="0" border="0">
    <
tr>
        <
td style="width:150px" valign="top">$sidebar</td>
        <
td style="width:10px" valign="top"> </td>
        <
td valign="top">
<!-- 
Update -->
<
table width="$stylevar[tablewidth]cellpadding="0" cellspacing="0" border="0">
<
tr>
        <
td style="width:100%">
<!-- /
Update -->
<!-- /
Sidebar --> 

(I basically changed the cellspacing to 0 to align it with the navbar, and since that removed all space between the menu and the right forums i added a 10 pixel colomn between them)

Works great this way. It now shows for all pages except login/forbidden/redirect or other message screens


But i still have the thread view misallignment i posted 2 pots above, so if someone can help me out there, pls do :D


italks 09-11-2004 04:45 AM

ah i want right sidebar too.Also will it work on version 3.0.3

dave6901_2000 09-11-2004 09:50 PM

I have vbadvance cmps and it shows on the portal page also ?

fiber1 09-12-2004 01:46 AM

Quote:

Originally Posted by dave6901_2000
I have vbadvance cmps and it shows on the portal page also ?

Read the thread the fix is posted.

dave6901_2000 09-12-2004 02:50 PM

gezz vbadvanced... Im not very good in english , Can anyone explain me step by step

Thx.

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.

mcyates 10-22-2004 01:25 PM

Quote:

Originally Posted by Briskoda
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.

Is it possible to get the sidebar so it is all the way down the left hand side, i mean its like to the left of the header and the nav bar? Basically just a navbar all the way down the left hand side so it starts from the Header and not from under the navbar?

CostaRicaForums 10-22-2004 07:39 PM

Quote:

Originally Posted by eblivion
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.


Same problem here.

I tried to fix it changing the width in the "Sizes and Dimensions" options, and it works great on every page, except when you try to see a post or when you try to reply to a post. In both cases the whole thing breaks... any clue?

Thanks for the help!

Check the "good" and "bad" versions attached to see what I mean.


.

CostaRicaForums 10-25-2004 02:10 PM

Hi,

Just solved the problem with the columns and everything looks good on every page now. :banana:


I'm now clicking INSTALL.

:up:

CSS59 11-11-2004 03:57 PM

Ok I cant find the code to replace in the global.php. Is it closer to the top?

Milez 11-14-2004 03:58 PM

This half-hack is looking completely abondoned so I assume we are on our own...

I installed this and have 2 major problems that I have been unable to resolve for quite some time. I have the sidebar on the right hand side, right below the navbar. I do some conditionals to prevent the sidebar from being shown on some pages. I used:

Code:

<if condition="THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'usercp' AND THIS_SCRIPT != 'faq' AND THIS_SCRIPT != 'newreply' AND THIS_SCRIPT != 'newthread' AND THIS_SCRIPT != 'profile' AND THIS_SCRIPT != 'private' AND THIS_SCRIPT != 'calendar' AND THIS_SCRIPT != 'subscription' AND THIS_SCRIPT != 'member'">
uglu yes but seems to work ok for me.

I have 2 problems that you can see labeled in the screenshot:

1) The 'page 2 of 2' nav menu is not aligning to the right. In which template should I be looking for this code? I checked postbit_legacy but it's not there. This has totally stumped me. The top page nav works fine and is aligned to the right.

2) The page (showthread) will not square up nicely at 800x600 yet all the other pages do. I think this is because I set the Message Area Width (pixels) to: 540px. NOTE: When you set it to '100%' or 'auto' it will shrink the form for the newreply page! The big white form beside the smilies. It completely threw off the tables for this page for me at those settings.

Has anyone noticed these anomolies after installing this hack and the plethora of add-ons, modifications, and advice from his thread?

Anyone??

CSS59 11-14-2004 09:40 PM

yea i wish I can get it to work :(

Milez 11-15-2004 06:19 AM

I solved problem #1 (it was a typo in showthread) but problem #2 still exists. How can we make the showthread page fit in an 800x600 window?? I mean if the ads are all pushed off the screen for 800x600 users this hack is fairly useless imo.

Chadi 11-22-2004 01:09 AM

Quote:

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

can everybody take that for vb2

www.talkjesus.com

I cannot get the left one out. Please explain how.

-animal- 11-29-2004 09:31 PM

this is probably a lost cause however i only wanted this hack so i could out an advert in and have a seperate background colour. However in long threads, after the advert is finished the right column just stops. Is there anyway to make it so the table mimics the height of the forums?

steven s 12-01-2004 01:44 AM

Quote:

Originally Posted by 7thgenCivic.Com

Someone should get this integrated with vBIndex so we could have the custom boxes with an editor and all that stuff.

Are there any tutorials on using this with vBindex?

I would like to have recent threads, random polls in the left sidebar.

...steven
www.318ti.org


All times are GMT. The time now is 11:02 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.01665 seconds
  • Memory Usage 1,863KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (12)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