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)

Dark_Wizard 02-19-2004 11:01 AM

Quote:

Originally Posted by FWT
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?

I haven't had the chance to update the file...I will try to do it today. For now just go to your header template and remove this line:

Code:

<td style="width:150px" valign="top">$leftsidebar</td>

BlackTiger 02-26-2004 05:42 PM

Hi.

This is a great hack and ofcourse I clicked "install".:)
I Installed this one with vb3rc4 but still have some problems. Maybe you can help me with these:
1.) The top of the left sidebare box is not aligned with the top of the forumsbox. How can this be fixed?
2.) I also see the left sidebar in the login screen check http://www.satellitefun.org/bbs but I don't want it there. How can I remove it so it still shows up in my forums, but not anymore in the login screen?
3.) It would be nice to put in there the quicklinks, mark forums read etc. Can you give some examples about how to punt them there?
Thanks in advance!

ImportPassion 02-26-2004 11:15 PM

why

BlackTiger 02-27-2004 07:50 AM

Well then I will click uninstall for the moment and hope that the moderator which posted the link to the other navbar in this post (which link is not working) corrects this link and will install that one.
These problems need solving and today I lost my adsl connection, the new one is coming up in 3-6 weeks so the problems need to be solved quickly, I don't have the time nore money to keep busy on dialup.
Sorry.

As soon as my new adsl connection is installed I will take a look at vbulletin.nl.

Dark_Wizard 02-27-2004 08:44 AM

Quote:

Originally Posted by BlackTiger
Hi.

This is a great hack and ofcourse I clicked "install".:)
I Installed this one with vb3rc4 but still have some problems. Maybe you can help me with these:
1.) The top of the left sidebare box is not aligned with the top of the forumsbox. How can this be fixed?
2.) I also see the left sidebar in the login screen check http://www.satellitefun.org/bbs but I don't want it there. How can I remove it so it still shows up in my forums, but not anymore in the login screen?
3.) It would be nice to put in there the quicklinks, mark forums read etc. Can you give some examples about how to punt them there?
Thanks in advance!

Can you provide me a link where I don't have to register to see? Thx.

ashley53680 02-27-2004 11:56 AM

a few answers can be found if you search this thread...

1.) add at the top of your sidebar template <br />, that'll bring it even with your page.

2.) I didn't see it when I clicked the URL

3.) Here you're just using html... make the tables and add the links.

<tr>
<td class="alt1" align="center">
<a href="whatever you want your link to be"> Whatever </a>
</td>
</tr>

This is aligned for centering..... just basic html....

Hope that helps!

Ashley

BlackTiger 02-27-2004 03:03 PM

Thank you very much Ashley.

The reason for not seeying it anymore in the link I gave, was because I removed it after posting my previous message.
1.) I found the answer for question 1 myselve.
2.) For question 2, that's the login screen when installing the hack, the sidebare is visible in that screen too and that's what I don't want.
3.) Thank you, I understand that one, but say you want to put in there things you use for the board like "mark all forums read", it would not be <a href="mark forums read"> would it? That is wat I mean, what should i punt in there then maybe <a href="$markread"> or something like that?

Than another problem occurred. Forumhome display looks good. Thread display looks good too, but when opening a thread or posting a reply, the screen is suddenly to wide, if anyone would have a solution for that problem I would be happy too and maybe reinstall it. But if there was a navbar which only appears on the forumhome and threads display it's oke for me too, I don't need it to appear in login screen, posting & reply display.

Dark_Wizard 02-27-2004 03:46 PM

BlackTiger -> this hack displays in all pages hence the title. If you only want it on forumhome may I suggest you go to vbtemplates.com and use TheAnt's hack.

BlackTiger 02-27-2004 09:37 PM

Thanks Dark Wizard, I will do that then thanks for the link and your being willing to reply to me anyway! I appreciate it!

Kind regards

zsmom 02-29-2004 09:59 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

Was this problem fixed yet? I don't see it...thanks!

DarkSavior 02-29-2004 11:25 PM

Great hack! Didn't have a single problem with it. :)

Cyricx 03-01-2004 04:36 PM

Request :)

Can you give instructions for adding conditionals? Because on some pages, I want the right sidebar to show up along with the left sidebar (the right sidebar would give more navigation options inside a specific category). Just one simple code will be enough. I'll modify it for other categories. :)

Cyricx

FleaBag 03-04-2004 04:26 PM

Thanks for the screenshot lol. I might add this but I'm not sure how well it will go with my 800 pixel width.

spence2 03-05-2004 01:19 PM

Just to let you know, vBtemplates has deleted The Ant's hack. So, there is no need directing people there as an alternative.

Dark_Wizard 03-06-2004 11:05 AM

Quote:

Originally Posted by spence2
Just to let you know, vBtemplates has deleted The Ant's hack. So, there is no need directing people there as an alternative.

I didn't know, thx for the update.

Dark_Wizard 03-06-2004 11:07 AM

Quote:

Originally Posted by FleaBag
Thanks for the screenshot lol. I might add this but I'm not sure how well it will go with my 800 pixel width.

It should work fine, if not let me know and we will make it work.

Dark_Wizard 03-06-2004 11:10 AM

Quote:

Originally Posted by Cyricx
Request :)

Can you give instructions for adding conditionals? Because on some pages, I want the right sidebar to show up along with the left sidebar (the right sidebar would give more navigation options inside a specific category). Just one simple code will be enough. I'll modify it for other categories. :)

Cyricx

This would require coding as well as conditionals.

drumsy 03-13-2004 02:02 AM

Quote:

Originally Posted by kontrabass
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

:)


This method did not work for me and I am using magnus's AdColumns v1.0 hack, which he used this HTML to make work. In fact, I get the same problem with the "squeezing" of the thread when I do this code, even before I activate the AdColumn. Are there any other ideas out there? The changing the one StyleVar to auto does not work either.

mofohead 03-15-2004 06:46 PM

I like this hack but does anyone know of something similar that will give you a horizontal bar on top and bottom for banner ads???

Thanks.

PlenoJure 03-21-2004 11:36 AM

Installed on vB3 Gold, simple install & works perfectly!

Thanks :)

poliveira 03-21-2004 07:43 PM

I have added this hack but I only see whitespace, no data is visible?

Any ideas?

http://forums.apsion.com/vb3/

poliveira 03-21-2004 07:45 PM

How can I make the Navbar the full width of the screen and have the left column start beneath the Navbar?

Here is a sample of what I want it to look like:
http://forums.apsion.com/

Here is what is actually looks like:
http://forums.apsion.com/vb3/

Spencer F. 03-24-2004 01:37 AM

Quote:

Originally Posted by poliveira
I have added this hack but I only see whitespace, no data is visible?

Any ideas?

http://forums.apsion.com/vb3/

Yeah, all my hacks are not showing up since upgrading to /vb3/.

www.musicbanter.com

edeab220 03-25-2004 01:28 AM

Quote:

Originally Posted by Marulatree
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

Where do you change that?

noreturn 03-25-2004 03:01 PM

Originally Posted by Marulatree
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

I can not locate where to change that option to auto either.

BarBeQue 03-25-2004 06:36 PM

That option is here:
admincp / styles & templates / all styles options

then browse down to "Sizes and Dimensions" part. it's the 9th option there.

But setting it to auto didn't fix the show thread header error for me.
It still looks like this (only on the threadview thought! forumhome and forumview are fine)

BarBeQue 03-25-2004 06:44 PM

I kinda wanna change the place of the menu.
I would like it to be BELOW the navbar, so that the navbar uses 100% like before and the menu is top alligned with the first forum.

Like the pic i made in the attachment.

Also i would like (request request :D) to have it shown all ALL but ONLY ALL pages the navbar is showing.
That means it won't show on reg pages, redirect screens, erro messages, empty searches, like that navbar doesn't show on those pages either, but it will show on all other pages.
Is that diff to accomplish?

oh, almost forgot...
[high]* BarBeQue clicks install
[/high]
great addon!

BarBeQue 03-25-2004 07:59 PM

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

pete_brady 03-25-2004 08:49 PM

Quote:

Originally Posted by BarBeQue
That option is here:
admincp / styles & templates / all styles options

then browse down to "Sizes and Dimensions" part. it's the 9th option there.

But setting it to auto didn't fix the show thread header error for me.
It still looks like this (only on the threadview thought! forumhome and forumview are fine)

having the same problem here

frustrating.

pete_brady 03-25-2004 09:09 PM

Quote:

Originally Posted by pete_brady
having the same problem here

frustrating.

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.

FWT 03-29-2004 03:06 PM

I have this working fine, but is there anyway to prevent it from showing on Showthread?

BarBeQue 03-30-2004 06:08 PM

Quote:

Originally Posted by pete_brady
It's neither graceful nor elegant, but it works for me.

Yup, works fine for me.
Thanks!

ashley53680 03-30-2004 08:02 PM

Can I see it now that you have edited those templates?? (purty please?)

Ash

BarBeQue 03-30-2004 09:11 PM

Who are you talking too ashley?
And what do you want to see?

This is how it looks for me atm (board not finished though)

ashley53680 03-31-2004 01:19 AM

Quote:

Originally Posted by BarBeQue
I kinda wanna change the place of the menu.
I would like it to be BELOW the navbar, so that the navbar uses 100% like before and the menu is top alligned with the first forum.

I was wondering if you got it to work under the nav bar... I already have it installed on mine to go on the left side... but I don't like it in the showthread, it's all off.


http://simply-baby.net/forum

Action-N 03-31-2004 01:45 AM

Quote:

Originally Posted by FWT
I have this working fine, but is there anyway to prevent it from showing on Showthread?

Well I just put the code in my FORUMHOME template, sidebar only shows on my forum index page now.

Hey BBQ, I moved mine under the navbar too, looks a whole lot better there. My sig has a link to my forum. Think it's only a matter of time before we have a side blocks system from vBindex or something.

BarBeQue 03-31-2004 04:39 AM

ashley, use the fix that pete suggested above
https://vborg.vbsupport.ru/showpost....&postcount=110

That fixed the alligning on my showthread fine :D


Action-N, where did you put yours?
Cause i duno hopw you want it, but atm for you it only shows on forumhome.
I put mine in the navbar template so it shows on ALL pages (except message display pages such as redirecting, no permission and such.

Action-N 03-31-2004 05:24 AM

I did put it in FORUMHOME template after $navbar and before $footer. Didn't think it looked right on showthread, but I'm trying it again under navbar template. Maybe it'll be better if I add more stuff in it.

I've been uninstalling vbIndex an installing vbAdvance. I just checked an it even shows on the index page. Have to see, maybe can get vbadvance menus to work with this side bar hack. That'd be cool.

jluerken 03-31-2004 05:40 AM

The hack is working fine but I have one question.

I added the vbAdvanced Portal to my page and now the sidebar is also displayed on the portal page.
I only want the sidebar to be shown on forumhome and not within a forum or on the portal page.
Dark_Wizard do you have a solution for this also?

Action-N 03-31-2004 05:50 AM

Quote:

Originally Posted by jluerken
The hack is working fine but I have one question.

I added the vbAdvanced Portal to my page and now the sidebar is also displayed on the portal page.
I only want the sidebar to be shown on forumhome and not within a forum or on the portal page.
Dark_Wizard do you have a solution for this also?

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.


All times are GMT. The time now is 02:25 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.01479 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
  • (3)bbcode_php_printable
  • (15)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