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)

nnjj.net 01-22-2004 10:31 AM

is this ok with vb3rc2?

Dark_Wizard 01-24-2004 11:30 AM

Quote:

Originally Posted by nnjj.net
is this ok with vb3rc2?

it's good with all versions of vb3.x

gmarik 01-26-2004 06:16 AM

Any demo links?

scottct1 01-26-2004 02:24 PM

Any way to make this only display to unregistered users?

Thanks!

dontpanic 01-28-2004 02:42 PM

Great hack, I will be using this for sure.

Question though. If I wanted to have the contect of the block change conditionally depending on what forumid is being viewed...how can that be done?

dutchbb 01-28-2004 03:52 PM

wtf i did everything correct , it just shows a white space, no tabel... and the same problem with the ant's hack!?

dontpanic 01-28-2004 04:51 PM

Quote:

Originally Posted by Triple_T
wtf i did everything correct , it just shows a white space, no tabel... and the same problem with the ant's hack!?

You're most likely missing the template in the correct style.

Dark_Wizard 01-28-2004 05:26 PM

Quote:

Originally Posted by gmarik
Any demo links?

Already posted in the first post I believe.

Dark_Wizard 01-28-2004 05:28 PM

Quote:

Originally Posted by dontpanic
Great hack, I will be using this for sure.

Question though. If I wanted to have the contect of the block change conditionally depending on what forumid is being viewed...how can that be done?

You can use conditionals....

dontpanic 01-28-2004 06:34 PM

Quote:

Originally Posted by Dark_Wizard
You can use conditionals....

Would that work for both when a forum itself is being viewed as well as when an individual thread is being viewed? That's where I think the conditionals will break down...

dontpanic 01-28-2004 06:56 PM

Quote:

Originally Posted by StarCraft
Thanks for this nice mod...all works fine for me but only in the showthread i have problems with the width.

Look at the PIX...hope anyone can help

Any idea on this problem? I've seen this as well.

dontpanic 01-29-2004 07:47 PM

I've figured out the conditionals, just looking for a solution for the problems encounted with the spacing being all screwy as mentioned here: https://vborg.vbsupport.ru/showpost....1&postcount=34

kontrabass 01-30-2004 08:55 PM

I'm getting reports from users using IE 5.0 that with this hack the thread display doesn't start until after the bottom of the left column. So as you look down the page, they'll see the header, left column, then have to scroll down to the end of the left column to where the posts etc start. :(


For example: "I am using IE 5.0, Windoze NT 4.0 and having the same problem. The posts appear below the bottom of the sidebar on the left side of the screen."

Perhaps if the side bar was extended so that it filled up the entire left side, all the way down the bottom. I'm such an HTML idiot I'm not sure how to accomplish this...

Dark_Wizard 01-31-2004 09:29 AM

Quote:

Originally Posted by kontrabass
I'm getting reports from users using IE 5.0 that with this hack the thread display doesn't start until after the bottom of the left column. So as you look down the page, they'll see the header, left column, then have to scroll down to the end of the left column to where the posts etc start. :(


For example: "I am using IE 5.0, Windoze NT 4.0 and having the same problem. The posts appear below the bottom of the sidebar on the left side of the screen."

Perhaps if the side bar was extended so that it filled up the entire left side, all the way down the bottom. I'm such an HTML idiot I'm not sure how to accomplish this...

I find this very odd considering the hack is 100% XHTML compliant...can anyone else confirm this with IE 5.0?

kontrabass 01-31-2004 06:01 PM

Quote:

Originally Posted by Dark_Wizard
I find this very odd considering the hack is 100% XHTML compliant...can anyone else confirm this with IE 5.0?

Perhaps it has something to do with my forum table width (I'm using "100%" for my 'main table width')... Does this need to be a fixed width? Or maybe I need some kind of 'nowrap' statement?

kontrabass 01-31-2004 10:28 PM

Quote:

Originally Posted by Dark_Wizard
I find this very odd considering the hack is 100% XHTML compliant...can anyone else confirm this with IE 5.0?

Here are some screenshots:

kontrabass 02-01-2004 03:56 AM

Update: This only occurs when viewing posts - forum view etc are just fine. May be a postbit issue? Confirmed with 15-20 IE 5.x users so far. Hope I can get this figured out - really need that left column :)

Kwak 02-01-2004 05:05 PM

I would definitely be using this mod if I had the liquid template.
Great job. :)

ChrisLM2001 02-02-2004 02:24 AM

Is there a way to make this on the right side? Got it to work fine on the left but need it on the right (and for the life of me I don't know how to install Ant's). :(

Chris

kontrabass 02-03-2004 07:15 PM

Quote:

Originally Posted by Dark_Wizard
I find this very odd considering the hack is 100% XHTML compliant...can anyone else confirm this with IE 5.0?

Confirmed on your site with IE 5.0.1 sp2. See screenshot. As you can see the error seems to occur right at the beginning of the postbit.

To test for yourself using IE 5.x, download old browsers here (zip file, runs from folder - won't screw up your current IE)

IE 5.0.1 sp2: http://browsers.evolt.org/download.php?/ie/32bit/5.01_SP2/ie501sp2_nt.zip

IE 5.5 sp2
http://browsers.evolt.org/download.p...ie55sp2_nt.zip


edit: Just spent a bit looking over the html and you're right, nothing in this hack is out of the ordinary. The problem looks like it lies in the VBulletin html - something that doesn't show up when the content table isn't in it's own <td> to the right of the sidebar... Too bad, I really need to get in an advert on the left side :(

kontrabass 02-03-2004 08:05 PM

Ok, found the fix for IE 5.x

Notice the spacer_close template:

<if condition="$show['old_explorer']">
</td></tr></table>
<else />
</div>
</div>
</div>
</if>
<!-- / close content container -->

What this does is output three </div> tags if the browser is new (ie 6) or three </td></tr></table> tags if the browser is OLD (ie 5.x)

Now, in the SHOW THREAD template there appears to be an extra call for the $spacer_close at the end of the thread tools table. In IE 6 this doesn't cause any bugs because three </div> tags won't screw up anything. HOWEVER, in IE5, the </tr></td></table> tags will screw up the output - it closes the table and sends the post content to the bottom of the sidebar.

SO, here's the fix:

In SHOWTHREAD template, find:

<!-- / toolbar -->

<!-- end content table -->
$spacer_close
<!-- / end content table -->

and delete the $spacer_close text

:)

ashley53680 02-05-2004 12:39 AM

Okay, this is going to sound so stupid... I can't think!

I have the first menu...basically just edited what already was there. But when I try to add another box... it totally screws up the whole look of it, and it sits ontop of the forum.

http://simply-baby.net/forum

ashley53680 02-05-2004 02:27 AM

n/m figured it out.. but did anyone figure out about the spaces when you open the threads?

Dark_Wizard 02-12-2004 01:42 PM

Ok...what gives...I uploaded a new file with an update and it's not there and in my usercp it says "In Progress"....anyone?

Natch 02-12-2004 11:44 PM

DW - you jjust have to wait unfortunately - when I got his error, it took about 8 hours to clear it out - even robootong wouldn't help it.

Natch 02-13-2004 12:02 AM

Yeah = btw the reason you are getting display errors in early version of IE, is that IE5.x does not properly render compliant XHTML :)

Franki 02-13-2004 10:45 AM

Is there any way to have 2 side bars (custom php pages), one left and one right? I want to separate the page in 3 parts, one custom page on left, the vb pages on the center and another custom page on right.

ImportPassion 02-16-2004 12:44 AM

this is good. I am finally gathering enough hacks that I won't have to wait for vBPortal to be released.

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

Good work!

D

Marulatree 02-16-2004 02:49 PM

How do I add this to the right side?

Marulatree 02-16-2004 03:14 PM

Never mind about my above post. BUT I am having the same problem as:

Quote:

Originally Posted by StarCraft
Thanks for this nice mod...all works fine for me but only in the showthread i have problems with the width.

Look at the PIX...hope anyone can help

Please help me someone.... :)

Marulatree 02-16-2004 03:47 PM

Here's how you fix it:

Message Area Width (pixels)
(This value allows you to specify the width in pixels of the text box used for all message posting in vBulletin) -> set this to AUTO

admiralapril 02-16-2004 09:01 PM

I'd really like to have the sidebar on just the forum home and not each subsequent page. I guess what I want is TheAnt's hack, but it isn't currently available. Can anyone tell me when this will become available again? Thanks so much.

And good job with your hack, Dark Wizard. :squareeyed:

jedimaster 02-17-2004 02:25 AM

Nice mod- installed it tonight. Was the question of how to place the column on the right ever addressed?

Dark_Wizard 02-17-2004 11:58 AM

Quote:

Originally Posted by jedimaster
Nice mod- installed it tonight. Was the question of how to place the column on the right ever addressed?

Just change the footer piece as follows:

From:
Code:

<!-- Sidebar -->
<!-- Update -->
                </td>
        </tr>
</table>
<!-- /Update -->
                </td>
        </tr>
</table>
<!-- /Sidebar -->

To:
Code:

<!-- Sidebar -->
<!-- Update -->
                </td>
        </tr>
</table>
<!-- /Update -->
                </td>
                <td style="width:150px" valign="top">$rightsidebar</td>
        </tr>
</table>
<!-- /Sidebar -->

Then you must create another template as you did before and call it rightsidebar and edit global.php as follows:

Find:
Code:

eval('$sidebar = "' . fetch_template('sidebar') . '";');
Add below:
Code:

eval('$rightsidebar = "' . fetch_template('rightsidebar') . '";');
Then edit your template and add your content....

jedimaster 02-17-2004 07:21 PM

Excellent! But now I have two sidebars- should I get rid of the sidebar template to remedy it?

ImportPassion 02-17-2004 08:17 PM

yes, and the 2 updates u did for it in header and footer templates

jedimaster 02-17-2004 10:30 PM

Thanks! BTW, clicked install- you're awesome!

InsaneContender 02-18-2004 05:15 AM

Excellent hack, though, I might suggest you make 3 installation files. One to install it on the left, one for the right, and one for both.

I found it very difficult in your instructions to just install it on the right.

Dark_Wizard 02-18-2004 10:43 AM

Quote:

Originally Posted by InsaneContender
Excellent hack, though, I might suggest you make 3 installation files. One to install it on the left, one for the right, and one for both.

I found it very difficult in your instructions to just install it on the right.

I will update the file today...good point.

FWT 02-18-2004 07:20 PM

I was testing it here: http://www.seo-talk.com

I wanted just the right sidebar, but it seemed to have added a left one also...

Any ideas?


All times are GMT. The time now is 04:53 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.01509 seconds
  • Memory Usage 1,828KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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