PDA

View Full Version : Left Sidebar on all pages.


Pages : [1] 2

Dark_Wizard
01-05-2004, 10:00 PM
Provides a left, right or both sidebars on all pages.

FleaBag
01-06-2004, 01:11 PM
Any possibility of a screenshot?

Dark_Wizard
01-06-2004, 01:16 PM
Any possibility of a screenshot?


Here (http://www.dpclan.us/forums) you go....

hume
01-06-2004, 01:43 PM
wow very nice mod
thz for sharing

Dark_Wizard
01-06-2004, 01:50 PM
wow very nice mod
thz for sharing

Your welcome...please click install if you use this, thx!

subu1
01-06-2004, 02:22 PM
cool i install it at evening;)

greetz subu1

Stadler
01-06-2004, 02:27 PM
mmh ... it's broken in Firebird (Gecko/20040102 Firebird/0.7+)

Dark_Wizard
01-06-2004, 02:31 PM
mmh ... it's broken in Firebird (Gecko/20040102 Firebird/0.7+)

Hmmm...strange. Can you post a screenshot?

Stadler
01-06-2004, 02:36 PM
works now ... probably just a rendering-problem, when loading the page the first time. The left bar filled the whole window, when I've looked at the demo for the first time. I'm having similar problems with gamespot from time to time, btw, so never mind

Dark_Wizard
01-06-2004, 02:47 PM
works now ... probably just a rendering-problem, when loading the page the first time. The left bar filled the whole window, when I've looked at the demo for the first time. I'm having similar problems with gamespot from time to time, btw, so never mind

Ok...cause I checked and the code is compliant...

Martz
01-06-2004, 02:58 PM
Is there any chance:
Add this above:
************************************************** **********
eval('$sidebar = "' . fetch_template('sidebar') . '";');

Could go in the php include?

subu1
01-06-2004, 03:15 PM
ups i have a errot on my index.php

Fatal error: Call to undefined function: fetch_template() in /home/virtual/site1/fst/var/www/html/board/global.php on line 333

i don' have this on my vb 2.2.8

Open global.php and find this:
************************************************** **********
eval('$header = "' . fetch_template('header') . '";');
************************************************** **********
Add this above:
************************************************** **********
eval('$sidebar = "' . fetch_template('sidebar') . '";');

on my global.php find this

eval("\$header .= \"".gettemplate('header')."\";");

what can i do?

Dark_Wizard
01-06-2004, 04:23 PM
ups i have a errot on my index.php

Fatal error: Call to undefined function: fetch_template() in /home/virtual/site1/fst/var/www/html/board/global.php on line 333

i don' have this on my vb 2.2.8

Open global.php and find this:
************************************************** **********
eval('$header = "' . fetch_template('header') . '";');
************************************************** **********
Add this above:
************************************************** **********
eval('$sidebar = "' . fetch_template('sidebar') . '";');

on my global.php find this

eval("\$header .= \"".gettemplate('header')."\";");

what can i do?

:rolleyes: This is for vb3.0...hence the forum name "Code Modifications vB3"...you need to remove this hack.

TheAnt
01-06-2004, 07:41 PM
wow, it's strange how all that code is identical to mine.

Dark_Wizard
01-06-2004, 08:19 PM
wow, it's strange how all that code is identical to mine.

Huh? Dude...the only thing thats the same is the variable $sidebar...other than that you can go around saying that for anyones hack....mellow out.

MGM
01-06-2004, 11:35 PM
niiiiiice! I'm adding this for sure..... and I'll be merging it somewhat with the one TheAnt created to have the "stats" there as well ;)

plusss..... it looks better on the left :p

* MGM clicks Install

MGM out

dsotmoon
01-07-2004, 12:06 AM
is there anyway to make this where it only shows on the forums index page and after clicking on a forum the showthreads page would widen to 100% (no side bar)

MGM
01-07-2004, 12:17 AM
you'll have to use TheAnt's version to do that, because his is only on forumhome I believe

MGM out

Dark_Wizard
01-07-2004, 09:25 AM
you'll have to use TheAnt's version to do that, because his is only on forumhome I believe

MGM out

Thats correct...

assassingod
01-07-2004, 08:23 PM
How is your hack different from a previously released one (https://vborg.vbsupport.ru/showpost.php?p=454996&postcount=1)?

HiDeo
01-07-2004, 08:24 PM
Very nice :D

Dark_Wizard
01-07-2004, 08:27 PM
How is your hack different from a previously released one (https://vborg.vbsupport.ru/showpost.php?p=454996&postcount=1)?

It appears on all vb's pages not just the forum home.

assassingod
01-07-2004, 08:28 PM
Thanks:)

Dark_Wizard
01-07-2004, 08:55 PM
Thanks:)


Your welcome. ;)

Nmidia
01-08-2004, 04:46 AM
Your welcome. ;)
Can you take a look at my site

http://legionsofloki.com/Forum

the side bar has added fine (on the second attempt but that was my fault! - I edited the offline version of config.php and upped it - boom!!!!) but it has not aligned with the top of the page. Is there a fix for this? Thanks

Nmidia
01-08-2004, 04:49 AM
Can you take a look at my site

http://legionsofloki.com/Forum

the side bar has added fine (on the second attempt but that was my fault! - I edited the offline version of config.php and upped it - boom!!!!) but it has not aligned with the top of the page. Is there a fix for this? Thanks
on the subject of sidebars, anyone know how I could get something like the Shoutbox or another sidebar to permanantly reside on the right hand side as well as the left?

Cheers

Dark_Wizard
01-08-2004, 09:31 AM
Can you take a look at my site

http://legionsofloki.com/Forum

the side bar has added fine (on the second attempt but that was my fault! - I edited the offline version of config.php and upped it - boom!!!!) but it has not aligned with the top of the page. Is there a fix for this? Thanks

The box is where it's supposed to be the navbar adds extras <br />'s in there...you can edit the navbar template to bring the forums higher or add a <br /> to the to top of the sidebar template.

Dark_Wizard
01-08-2004, 09:34 AM
The box is where it's supposed to be the navbar adds extras <br />'s in there...you can edit the navbar template to bring the forums higher or add a <br /> to the to top of the sidebar template.

Edit this part in my instructions:

where it says to add this above the footer:

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


Change it to this instead:

<!-- Sidebar -->
</td>
<td align="right" valign="top">$shoutbox</td>
</tr>
</table>
<!-- /Sidebar -->

Nmidia
01-08-2004, 10:10 AM
The box is where it's supposed to be the navbar adds extras <br />'s in there...you can edit the navbar template to bring the forums higher or add a <br /> to the to top of the sidebar template.
Ahh yes, why didn't I think of that. Oh, yes, cos I'm a muppet:) Thanks

subu1
01-10-2004, 07:23 AM
:rolleyes: This is for vb3.0...hence the forum name "Code Modifications vB3"...you need to remove this hack.

ups :rolleyes: :rolleyes: :rolleyes:

can everybody take that for vb2

danbc
01-13-2004, 02:05 PM
Dark Wizard:

How did You make the COD links scroller on the bottom left?

Dark_Wizard
01-13-2004, 03:50 PM
Dark Wizard:

How did You make the COD links scroller on the bottom left?

It's just a simple marquee...very easy to do.

danbc
01-13-2004, 03:59 PM
Ahhh, okie :)

StarCraft
01-16-2004, 09:46 PM
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

gmarik
01-17-2004, 07:46 AM
simple but good

VeoMorphine
01-20-2004, 01:43 PM
just an FYI: http://www.dpclan.us/forums/memberlist.php?&order=DESC&sort=posts&pp=30&ltr=

the members list seems to break from this.

Dark_Wizard
01-20-2004, 01:59 PM
just an FYI: http://www.dpclan.us/forums/memberlist.php?&order=DESC&sort=posts&pp=30&ltr=

the members list seems to break from this.

Looks fine to me...can you be more specific, like browser and version etc...

Wolfy.2k
01-21-2004, 04:14 PM
hey, will this hack work wit vbindex?

rinkrat
01-22-2004, 03:48 AM
Just a heads up if you are upgrading to RC3, you'll have to do the global.php edit again then you're back up and running.

Dark_Wizard
01-22-2004, 09:22 AM
hey, will this hack work wit vbindex?

Yes.....

nnjj.net
01-22-2004, 10:31 AM
is this ok with vb3rc2?

Dark_Wizard
01-24-2004, 11:30 AM
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
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
Any demo links?

Already posted in the first post I believe.

Dark_Wizard
01-28-2004, 05:28 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?

You can use conditionals....

dontpanic
01-28-2004, 06:34 PM
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
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 helpAny 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.php?p=463591&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
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
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
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
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 (http://browsers.evolt.org/download.php?/ie/32bit/5.5_SP2/ie55sp2_nt.zip)

IE 5.5 sp2
http://browsers.evolt.org/download.php?/ie/32bit/5.5_SP2/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:

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
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:

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


To:

<!-- 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:

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


Add below:

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
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?

Dark_Wizard
02-19-2004, 11:01 AM
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:


<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
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
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
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
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
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
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
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
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...
* BarBeQue clicks install
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:
<!-- 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:
<!-- 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
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
having the same problem here

frustrating.
ok

in your postbit template, replace $spacer_open with

<!-- 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
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
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
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.php?p=490118&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
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.

feujman
03-31-2004, 06:59 PM
hi, first of all i have to say that im french so sorry for my english

Hi have to thanks the person who have made this hack, its great !

i have read the forum and i havnt see an answer about this problem (appear only on the post)

(see attachment)

Thanks alot !

BarBeQue
03-31-2004, 08:54 PM
i have read the forum and i havnt see an answer about this problem (appear only on the post)

Then you haven't been reading too good :p
I reported it already here:
https://vborg.vbsupport.ru/showpost.php?p=490045&postcount=106

And pete posted a fix for it too, here:
https://vborg.vbsupport.ru/showpost.php?p=490118&postcount=110

It worked for me, so try it out!

feujman
03-31-2004, 09:01 PM
Then you haven't been reading too good :p
I reported it already here:
https://vborg.vbsupport.ru/showpost.php?p=490045&postcount=106

And pete posted a fix for it too, here:
https://vborg.vbsupport.ru/showpost.php?p=490118&postcount=110

It worked for me, so try it out!
i allready done this, it reduce the space as show the picture but not correct the problem

BarBeQue
04-01-2004, 05:32 AM
Show me the code you fixed...

Cause it's excactly the same prob me and pete had so it should wrk for you as well....

Mayeb we can see what you did wrong

feujman
04-01-2004, 07:04 AM
ok that's the beginning of my code in the postbit template:

<!-- post #$post[postid] -->
<if condition="$show['spacer']">
<!-- 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>

<!--FIN_DE_LA_MODIF-->
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>

BarBeQue
04-01-2004, 08:05 AM
Hmm, well that is EXCACTLY the same as what I have in my $posttemplate.
So the prob isn't there

Hmm, i checked your boards source code versus mine and found 1 difference:
<!-- open content container -->

<div align="center">
<div class="page" style="width:98%; text-align:left">
<div style="padding:0px 0px 0px 0px">

That is from your forum. Mine shows style="width:100%".
All the rest is the same. So it seems you have your board at 98% instead of 100% and that makes the postbit slightly smaller then the header above it.

feujman
04-01-2004, 08:08 AM
Hmm, well that is EXCACTLY the same as what I have in my $posttemplate.
So the prob isn't there

Hmm, i checked your boards source code versus mine and found 1 difference:


That is from your forum. Mine shows style="width:100%".
All the rest is the same. So it seems you have your board at 98% instead of 100% and that makes the postbit slightly smaller then the header above it.
omg ! thx i didnt notice to this ! thants alot !

Codeman05
04-01-2004, 03:37 PM
I'm also having the same problem as feujman and I've already tried Pete's fix with no luck. Here is the post bit code...any ideas?


<!-- post #$post[postid] -->
<if condition="$show['spacer']">

<!-- 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>

<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>


and from the source:

<!-- open content container -->

<div align="center">
<div class="page" style="width:100%; text-align:left">
<div style="padding:0px 25px 0px 25px">

feujman
04-01-2004, 03:39 PM
I'm also having the same problem as feujman and I've already tried Pete's fix with no luck. Here is the post bit code...any ideas?


<!-- post #$post[postid] -->
<if condition="$show['spacer']">

<!-- 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>

<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>
</if>


have you try the solution that he told me ?

Codeman05
04-01-2004, 03:42 PM
yea sure did, added it to the post about 2 seconds before you replyed hehe

Codeman05
04-01-2004, 03:45 PM
I guess could this be it?


<!-- open content container -->

<div align="center">
<div class="page" style="width:100%; text-align:left">
<div style="padding:0px 25px 0px 25px">

feujman
04-01-2004, 03:46 PM
I guess could this be it?


<!-- open content container -->

<div align="center">
<div class="page" style="width:100%; text-align:left">
<div style="padding:0px 25px 0px 25px">

i think you could be right !

Codeman05
04-01-2004, 03:48 PM
umm. changing that does fix the problem...but it also shoves the entire forum to the left of the page....I guess thats just a consequence. Or is there someway to get around that?

BarBeQue
04-01-2004, 04:26 PM
show me what it looks like now.

your menu is to the left and the forum gets moved against it? or something else?

Codeman05
04-01-2004, 10:09 PM
No basically what happens is when the 0 25 0 25 is used.
The forums are spaced 25 pixels from the left of the browser window.

So when I make it 0 0 0 0, the forums are completely to the left, up against the left side of the browser.
Not really a big deal, but its kinda annoying me lol, I'll play with it tonight and see what I can come up with

BarBeQue
04-02-2004, 07:21 AM
Oh, well i have it set at 0 0 0 0 so my logo does indeed allign to the top left (i hate space between a logo and the browser.
BUT
The rest of the forum has a 10 pixel spacing around it. You can specify that seperatly.
I'll check later when i get home where i specified that, but i'm fairly sure it was in the style screen, right below the logo url... i set the body or table margin there

BarBeQue
04-02-2004, 04:58 PM
Ok this hack causes the board to use 1 extra querie because the sidebar template isn't added to the cache.
In order to do so do this:

open global.php

find this:

'STANDARD_REDIRECT'
//'board_inactive_warning'

replace with this:

'STANDARD_REDIRECT',
'sidebar'
//'board_inactive_warning'

Dark_Wizard, please update your hack with this info!

msimonds
04-08-2004, 02:46 PM
Has anyone successfully installed this without any of the problems that are posted in this thread. I dont want it for every page, is there another solution

Mike

[FG]Omega
04-09-2004, 06:45 PM
Omega]Well, this hack works great, but I have a question: How do I need to change the template (forumhome) to get the right sidebar ONLY on forumhome? I tried changing code, but it messed up the board ^_^;
Thanks for help :)

Host Visions
04-14-2004, 06:13 PM
What am I doing wrong here? I installed the hack and made the template mods. I enabled the left column and on my forums it mades the space on the left side, but nothing is displayed. I did SAVE the settings to the adcolumn area as the instructions said, but nothing is displaying. If I look at the left column template code is there and it should be at least display the column heading.

HELP?!?!

DS MrSinister
04-16-2004, 04:58 AM
nice hack DW..

going to install it later..

but I lcik INSTSALL BUddy!!!!

poliveira
04-16-2004, 02:38 PM
What am I doing wrong here? I installed the hack and made the template mods. I enabled the left column and on my forums it mades the space on the left side, but nothing is displayed. I did SAVE the settings to the adcolumn area as the instructions said, but nothing is displaying. If I look at the left column template code is there and it should be at least display the column heading.

HELP?!?!

I have the exact same problem :ermm:
For now it is installed but not active

krohnathlonman
04-16-2004, 07:07 PM
not working in 3.0.1! Whats done differently in 3.0.1?

BarBeQue
04-18-2004, 11:37 AM
Reading the code i don't see anything that would cause a problem with any vbb versions (unless there is a major structure change)

You create a template and add it to your forumhome template, nothing more really

krohnathlonman
04-18-2004, 05:23 PM
Yeah, I don't get it... all my templates related to this I didn't revert back, and just inserting that 1 $sidebar in global doesn't pull it up..... I looked over the 2 versions for code changes and couldn't figure it out. I ended up using the older version and threw in a couple extra variable definitions.

Marulatree
04-20-2004, 11:48 AM
Question: this hack has had some fixes along the way, I want to know if these fixes are now updated in the 1st post attachment?

dbroomjr
04-23-2004, 10:01 AM
[QUOTE=BlackTiger]
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?
QUOTE]

To fix this problem of showing on the login screen add:

<if condition="$show['member']">

at the very top of your sidebar template. At the very bottom of your sidebar template, add:

</if>

I didn't see that question answered here and thought I would post the solution for future reference.

Thanks,

Dave

BlackTiger
04-23-2004, 11:20 AM
You're great, it wasn't answered indeed. Thanks!
I've got now vb 3.01 and will have a look this week if I can install it again.
Thanks again!

ashley53680
04-23-2004, 01:19 PM
<if condition="$show['member']">

at the very top of your sidebar template. At the very bottom of your sidebar template, add:

</if>


Where do you add the first code??


Sorry my brain isn't working right this morning! :nervous:

dbroomjr
04-24-2004, 01:38 AM
Where do you add the first code??


Sorry my brain isn't working right this morning! :nervous:

Open your sidebar template. The very first line is where you will add:

<if condition="$show['member']">

Now, go to the very last line of the sidebar template and add:

</if>

Thanks,

Dave

Trunks ssj4
04-25-2004, 07:20 PM
How i do to displaying the Sidebar only of the indexpage ?

Tanks.

btw: sorry for my bad english

KeithMcL
05-01-2004, 08:03 PM
wow very nice mod
thz for sharing
How do you go about removing the changes made by version 1.0? I've reverted out the adcolumns_left and adcolumns_right already. How do you remove the Advertisement Column(s) option from the vBulletin Options menu?

KeithMcL
05-01-2004, 08:08 PM
It's ok, I found it. I used phpmyadmin to remove it from the settinggroup table.

hooolala
05-06-2004, 04:50 AM
will this work woth vBadvance?

if so, is there any code i need to change to make it code

jcbklyny
05-07-2004, 02:58 AM
To only display the sidebar on your forumhome (index page) add the header and footer code to the FORUMHOME template and Call the sidebar into index.php instead of global.php (just add the eval command to the bottom of index.php instead).

Create the new sidebar template as is in the instructions and your done.

- JCB

Hades-1
05-11-2004, 05:32 PM
ihave a problem, i know i am suing VB 3.0.0 i am not a novice

but there is not global.php not @ all

BTW i am helping out somone else so maylbe they just did'nt upload it, but then the forum would not work right?

carneyvore
06-10-2004, 03:14 PM
wtf i did everything correct , it just shows a white space, no tabel... and the same problem with the ant's hack!?

This has been asked a few times.
Is there a solution?

New to vBulletin.

ashley53680
06-10-2004, 03:21 PM
Did you add the sidebar template?

carneyvore
06-10-2004, 04:14 PM
Did you add the sidebar template?

Yes, I followed the instructions.

I got it working when I moved the openning tables from the header template to the navbar template.

Perhaps there were overlapping html tags?!?

Thanks for the quick response.

http://peoplesnation.com/memberforums/

ashley53680
06-10-2004, 07:24 PM
Well you should have a code in the header *and* footer templates. (from what I remember) But if it works, who cares! lol

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
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
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
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/membersarea.php?do=viewmanual&productid=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?

ok

in your postbit template, replace $spacer_open with

<!-- 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?

Ok, i solved my own request in the previous post :D

instead of adding this to the end of the header template:
<!-- 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:
<!-- 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
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.php?p=463591&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
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 (www.briskoda.net/home/?styleid=28).

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
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

<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
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
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.php?p=463591&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:

<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
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
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

steven s
12-03-2004, 12:14 AM
Until I can figure out how to do the above post.
I'd like to have only a right sidebar.
How do I do that?

Edit: To answer my own post
https://vborg.vbsupport.ru/showpost.php?p=478442&postcount=81

...steven

jluerken
12-03-2004, 08:41 AM
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

I have the same problem like StarCraft and want to know how to fix this.
Also I want the leftbare to start under the navbar and not in the header.
How can I do so?

jluerken
12-03-2004, 09:51 AM
I have the same problem like StarCraft and want to know how to fix this.
Also I want the leftbare to start under the navbar and not in the header.
How can I do so?


Ok, I have three small errors left.

I changed the style option 9 to AUTO and the forum size to 100%.
I moved the sidebar unter the navbar and changed the postbit template but I have still three small problems.

See attachments!
In the last picutre (sidebarbug3.jpg) you can see the portal cmps where the sidebar should NOT be shown at all.

Who can help?

steven s
12-04-2004, 12:39 AM
I have the same problem like StarCraft and want to know how to fix this.
Also I want the leftbare to start under the navbar and not in the header.
How can I do so?

Did you see this?
https://vborg.vbsupport.ru/showpost.php?p=490081&postcount=108

Edit: In my right siderbar template I added <br /><br /> to the top.
This lined up the right column. I don't know if this is a good way of doing it, but it works.

Is there a way to draw the page quicker?
When the page is loaded first the forum is displayed, then the page is resized for the forum and right side column.

jluerken
12-06-2004, 08:42 AM
Did you see this?
https://vborg.vbsupport.ru/showpost.php?p=490081&postcount=108



Yes I tried this but it is not working for me :surprised:

Chad F.
12-21-2004, 08:26 PM
Is it possible to have the sidebar on just forumhome, showthread and forumdisplay only?

Eagle Creek
01-03-2005, 05:09 PM
Here (http://www.dpclan.us/forums) you go....


4-0-4

Eagle Creek
01-03-2005, 05:10 PM
Could somebody give me screenshots?

SeanThomps
01-05-2005, 01:46 AM
Anyone figure out how to have it just on the right side? That's what I need :D

jbell
01-12-2005, 03:34 PM
How is your hack different from a previously released one (https://vborg.vbsupport.ru/showpost.php?p=454996&postcount=1)?


why can't i see this link? I am searching to have sidebars on my forums here: www.xtremeresources.com

madeonmoon
01-14-2005, 02:32 PM
can someone post a link to a forum using this mod or perhaps a screenshot. the original link in the beginning of the thread seems to be outdated (can't open the site).

thanks!
james

fino
01-16-2005, 04:25 PM
I need some help!

I want the left column to go all the way to the left !

See attachment.

BadDosage
01-31-2005, 12:04 AM
Installed and thank you. No problems getting it to work.

smsmasters
01-31-2005, 02:50 PM
How do you stop this from showing up on a vbadvanced portal and how do you only show this on forumhome?

http://www.smsmasters.co.uk/

RetroDreams
02-01-2005, 11:43 PM
How do I use the sidebar to display useful info... like latest threads, etc?

RetroDreams
02-03-2005, 03:05 AM
How do you stop this from showing up on a vbadvanced portal and how do you only show this on forumhome?

http://www.smsmasters.co.uk/

Don't put it in global, but rather only the pages you want to call it in.

RetroDreams
02-03-2005, 03:13 AM
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 (http://www.318ti.org)

How is this done?

smsmasters
02-05-2005, 09:23 AM
I want to add this on forumhome (index.php) only, which templates do I add the code to and which php file do I include the template with?

smsmasters
02-05-2005, 09:36 AM
I managed to edit it so that it only shows the sidebar on forum home:

http://www.smsmasters.co.uk/forum/

smsmasters
02-05-2005, 10:10 AM
The footer looks messed up, how do I fix this?

Firewire
02-17-2005, 03:31 PM
Any chance I could see a screenshot? The linky above doesn't work. Thanks :D

mholtum
02-17-2005, 05:00 PM
Here (http://www.dpclan.us/forums) you go....
Tried to view. No luck

smsmasters
02-17-2005, 05:04 PM
I did it here

http://www.smsmasters.co.uk/forum/

tercede
02-18-2005, 02:16 PM
I want to add this on forumhome (index.php) only, which templates do I add the code to and which php file do I include the template with?

I also would like to know how to put the left menu/content to all forum pages and not vbadvanced pages. I took out the thing from global. How do I make the content show on all forum pages not vbadv pages? Help is greatly appreciated!

cheers,

oldfan
02-21-2005, 06:29 PM
* oldfan clicks install :)
Only thing I like changed is not having it show up on the vbadvanced

oldfan
02-22-2005, 03:13 AM
* oldfan clicks install :)

Only thing I like changed is not having it show up on the vbadvanced

n/m figured it out :)

oldfan
02-22-2005, 03:35 AM
oh, how do I add other fields/boxes?
My google ads don't fill enough of the space :(
http://members.metallifukinca.com/index.php?

Takamine334
02-23-2005, 12:01 AM
I tried to install on the right side, but I have one on the left and right that are dupicates of each other...how do I fix this?

Johnny
02-23-2005, 01:53 AM
I tried to install on the right side, but I have one on the left and right that are dupicates of each other...how do I fix this?
you have probably added the code twice for both left and right instead of once for each.

Takamine334
02-26-2005, 03:46 AM
deleted

Takamine334
02-26-2005, 06:09 AM
deleted

Takamine334
02-26-2005, 06:13 AM
deleted

Lars-Christian
02-28-2005, 06:09 PM
With the fix for the thread display bug, this works fine :) *clicks install*

madeonmoon
03-02-2005, 01:08 PM
is there a quick way to exclude the sidebars from appearing on some of the forum pages such as login, register pages?

thanks!
james

pguy
03-18-2005, 09:53 AM
I managed to edit it so that it only shows the sidebar on forum home:

http://www.smsmasters.co.uk/forum/

How were you able to get individual sponsor bars for every ad on the left column ? Can you elaborate on how you did that?

Thanks,

hobartimus
05-03-2005, 12:52 AM
My host just upgraded to PHP 5 and now I am getting errors such as this:

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /online.php on line 285

I've checked the VB forums and others having this problem have pointed it to installed hacks. Since "Left Sidebar" is the only hack I am using, I figured I would start troubleshooting here.

Any ideas about this?

Kaishi
05-05-2005, 04:14 PM
n/m figured it out :)
mind telling me how u did it?

guile09
05-10-2005, 09:34 PM
I'm having the same exact problem as show in the screenshot below...I just can't seem to figure out what code to modify in order to have the showthread page all lineup like it should.


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.php?p=463591&postcount=34

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

Does anyone know where exactly to change the table width?

Almotmaiz.Net
05-12-2005, 08:47 AM
nice work ,,

jurrie
05-21-2005, 02:15 PM
after playing around a bit with the templates, this is the result on my page thanks to this hack :) my compliments to the creator

http://www.designerschat.com

regards

gonecountry
05-23-2005, 06:34 PM
The left sidebar fills the whole window after I installed any suggestions, forums get push way off tothe right.

LloydSev
06-03-2005, 11:48 PM
Just to add here.. I did not use your template to create a left sidebar on all pages...

I used your template to insert ads into a module for vBadvanced. It worked great without making me reprogram everything. Thanks.

guile09
06-08-2005, 11:05 PM
$15 Paypal to whoever can tell me how to fix this :

I'm having the same exact problem as show in the screenshot below...I just can't seem to figure out what code to modify in order to have the showthread page all lineup like it should.


Does anyone know where exactly to change the table width?

To see what I am talking about, visit FightForum.com (http://www.fightforum.com/showthread.php?t=134) and notice that the posts are indented from the Thread Tool bar above. I don't want the Thread Tool bar to overlap the size of the post table. I'd like everything to line up correctly. This problem is somehow related to this mod, if you can help please PM me.

guile09
06-08-2005, 11:56 PM
Nevermind, I figured this out. If anyone has a similar problem, I editted the folowing code in the postbit_legacy template...I'm assuming if you don't use legacy you would edit the same line in the postbit template.

<if condition="$show['spacer']">$spacer_open<if condition="!$post['islastshown']"><div style="padding:0px 0px $stylevar[cellpadding]px 0px">

I removed "$spacer_open" at the very top of the template.


$15 Paypal to whoever can tell me how to fix this :



To see what I am talking about, visit FightForum.com (http://www.fightforum.com/showthread.php?t=134) and notice that the posts are indented from the Thread Tool bar above. I don't want the Thread Tool bar to overlap the size of the post table. I'd like everything to line up correctly. This problem is somehow related to this mod, if you can help please PM me.

playboy
06-13-2005, 10:55 PM
Is There Any Way I Can Make This ONLY Appear On The Forum Home? :blush:

nighteyes
06-14-2005, 10:06 PM
Is There Any Way I Can Make This ONLY Appear On The Forum Home? :blush:

That's what I want to do too :D

welo
06-14-2005, 10:57 PM
Is There Any Way I Can Make This ONLY Appear On The Forum Home?That's what I want to do too :D
I did this for a client. It's fairly straightforward:

1. In your ACP add a new template named 'sidebar' or similar (the example I'm using here assumes the template is named this). This is the template containing your stuff going in the sidebar.

To the FORUMHOME template AFTER $navbar add:

<!-- Added table for left sidebar on forumhome -->
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<b>Menu</b>
<hr />
$sidebar<br />
<img src="clear.gif" height="1" width="120" alt="" />
</td>
<td><img src="clear.gif" height="1" width="2" alt="" /></td>
<td valign="top">

...then immediately ABOVE <!-- what's going on box --> add:

</td>
</tr>
</table>
<!-- /Added table for left sidebar on forumhome -->

*Note - If you want the column wider or narrower just adjust the width of the width="120" clear.gif. The width="2" clear.gif adjusts the spacing between the sidebar and main forum display.

3. Open index.php and immediately ABOVE:

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

...add:
/// Hacked in side menu on forumhome
eval('$sidebar = "' . fetch_template('sidebar') . '";');

4. Add whatever you want to the sidebar template.

That should do it :).

TEAMBAJAMARINE
06-15-2005, 01:33 PM
Installed as specified in the .txt documentation and when I went to edit global.php, this code is not there, any ideas?

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

I am running: vBulletin Version 3.0.7

Andreas
06-15-2005, 02:09 PM
It is there - line 491 in an unmodified global.php

TEAMBAJAMARINE
06-15-2005, 02:37 PM
I guess mine must be modified, because I cannot find it, did a search in the file. Anything I can do to resolve this? Thanks in advance.

Feel free to look at my site at http://teambajamarine.com/forum