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)

nogerorob 08-18-2004 05:29 PM

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

r

jesse 08-21-2004 01:33 AM

Quote:

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


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

in forum home what code goes in there
$rightsidebar
or

the code that was put into the nav bar

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

jesse 08-21-2004 02:16 AM

Quote:

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

in forum home what code goes in there
$rightsidebar
or

the code that was put into the nav bar

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

wel here you go

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

Host Directory 08-26-2004 06:03 PM

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

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

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

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

Any help appreciated

Host Directory 08-26-2004 10:33 PM

How would you make this work in postbit_legacy?

Quote:

Originally Posted by pete_brady
ok

in your postbit template, replace $spacer_open with

PHP Code:

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

</if> 

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

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


Host Directory 08-26-2004 10:34 PM

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

Quote:

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

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

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

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

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

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

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


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


italks 09-11-2004 04:45 AM

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

dave6901_2000 09-11-2004 09:50 PM

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

fiber1 09-12-2004 01:46 AM

Quote:

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

Read the thread the fix is posted.

dave6901_2000 09-12-2004 02:50 PM

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

Thx.


All times are GMT. The time now is 02:14 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.01307 seconds
  • Memory Usage 1,766KB
  • 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
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete