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)

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 :

Quote:

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

Code:

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


Quote:

Originally Posted by guile09
$15 Paypal to whoever can tell me how to fix this :



To see what I am talking about, visit FightForum.com 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

Quote:

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

Quote:

Originally Posted by nighteyes
Quote:

Originally Posted by playboy
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:

Code:

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

Code:

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

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


All times are GMT. The time now is 09:05 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.01422 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (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