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

Andreas 06-15-2005 02:39 PM

The code must be there, otherwise you would have no Header :)
Carefully search again, and make sure you are searching in the correct global.php.

TEAMBAJAMARINE 06-15-2005 02:42 PM

Kirby, the GLOBAL.PHP in the admincp root folder correct?

TEAMBAJAMARINE 06-15-2005 02:44 PM

Ah,ha! It is in the FORUM root file, not ADMINCP, might want to clarify in the .txt install file. Thanks Kirby for helping!

Andreas 06-15-2005 02:46 PM

It's "obvious" that the global.php in forum root was meant, otherwise the instructions would say admincp/global.php I guess :)

TEAMBAJAMARINE 06-15-2005 02:48 PM

Not exactly "obvious" as the installation starts you in the ADMINCP folder and doesnt say to leave. Its cool, though.

Andreas 06-15-2005 02:50 PM

I just read the instructions and it nowhere states anything of admincp?

TEAMBAJAMARINE 06-15-2005 08:09 PM

From the instructions I have...

<!-- INSTRUCTIONS -->


1. Upload "install_adcolumns.php" to your ADMINCP directory, and execute (ex. http://www.yourforums.com/forums/adm..._adcolumns.php)

2. Perform the following FILE edit:

2a. In GLOBAL.PHP:

It doesnt matter, with a few tweaks today and after my install, I am rockin! :squareeyed:

Check it out....
http://www.teambajamarine.com/forum

Andreas 06-15-2005 08:17 PM

Quote:

Originally Posted by TEAMBAJAMARINE
From the instructions I have...

<!-- INSTRUCTIONS -->


1. Upload "install_adcolumns.php" to your ADMINCP directory, and execute (ex. http://www.yourforums.com/forums/adm..._adcolumns.php)

2. Perform the following FILE edit:

2a. In GLOBAL.PHP:

These are other instructions then I do have ...

cmiller1014 07-22-2005 09:36 AM

Is there anything like this that will work "out of the box" for 3.0.7?

lewisbeech 07-25-2005 07:45 AM

hey, i have a problem,

i tried to edit the footer template, and i get this error:

Quote:

Not Acceptable
An appropriate representation of the requested resource /admincp/template.php could not be found on this server.

Apache/1.3.33 Server at www.a-2z.com Port 80
please help,

Lewis

Chris 96 WS6 07-31-2005 10:35 PM

OK, I tried this, it didn't work, so I went with PHPadsnew and actually got it working despite the fact I know nothing of PHP coding. Guess I'm good at trial & error.

Anyway, how do I delete out this mod totally? I reverted the header & footer templates and replaced global.php with the original file, and deleted the new templates the install script added.

So how do I eliminate the "advertisement column(s)" option in the VB options part of the Admincp? Somebody said something earlier about deleting it out of the settingsgroup table, but nothing seems obvious to me to delete.

SamirDarji 08-02-2005 09:40 PM

It sounds like a piece of code from the hack is still in one of the files. You'll have to revert all the php files that were modified in the installation of the hack. The best way to uninstall a hack is just do the installation steps in reverse. Hope this helps.

Moncal 08-03-2005 02:46 AM

Great hack!

*Moncal clicks install*

cmiller1014 08-03-2005 04:25 AM

<font size="4">This thread is pretty funny. 18 pages of nothing but problems.

Can someone please tell me if there is a comparable hack that works as is, right "out of the box" for 3.0.7?

Thank you</font>

dethfire 08-04-2005 01:04 AM

after installing the hack my forum seems to be going past 100% width and people with 800x600 resolutions are getting the scrollbar. Anyone know how to fix it?

cybermomcafe 08-31-2005 10:04 PM

just installed on 3.0.8 with no problems... just some extra padding on showthread

Clayton 09-23-2005 07:59 PM

Hi there

is it possible to add this to all the pages except the /forums/index.php page, where I have CMPS added?

Ideally I would like to have this in all my normal forum pages, please?

Thank you

C

Underlab 09-24-2005 03:55 AM

Ok I installed it. But the thing is it spreads the tables alright for a left/right side to be there but I tried to so insert some html coding and t wont show up. I turned it off for now. My site is www.underlabstudios.com . You can tell what kind of other hacks i've used. I am trying to have some ads on my site and every hack i try seems to have this issue. WTF. can you please help me. Thanks.

sross 10-17-2005 10:16 AM

Hi, I have an issue because I need it to only display on the right side. I have tried everything and it just does not work. Because it has $rightsidebar in the footer i get a sidebar in my footer. Can anyone explain how to make this only appear on the right side? I have 2 forum styles "left side bar" and "right side bar" and would like to get the right one working. thanks!

Alphawolf83 10-23-2005 07:14 PM

*clicks install* :)

Works great, altough I had to insert some corrections, but now it works ;)

Big Daddy 10-25-2005 09:21 PM

I tried to install this. It created a space on the left side of the page, but nothing appeared in the space. I am running 3.0.7

I did enter some content, but nothing showed up. Can someone help me out with this???

MajorFm.com 09-04-2006 10:07 PM

I know its a old hack but seems simple, do you think this will work with 3.6.0?

peterska2 09-04-2006 10:10 PM

There is a 3.5.x version by amykhar which works on 3.6.x

John3971 11-08-2007 09:10 PM

im using this mod but i have problem with one thing and would need help with it. https://vborg.vbsupport.ru/showthread.php?p=1378497 there is my problem go down a little bit for more details.

tiekie 02-12-2008 08:51 PM

How do i install this ? should i manually add this to my templates ?

Eagle Creek 02-13-2008 11:59 AM

Quote:

Originally Posted by Dark_Wizard (Post 457359)
Here you go....

404?

sv1cec 03-21-2008 11:18 AM

You know, I find it amazing that after 19 pages of questions, the original author hasn't bother telling us how to solve the of the postbits. And he didn't even bother adding a fix in his instructions. Someone should tell the mods that this hack is NOT supported.

And just to add something constructive, here is a thread in vBulletin.com which explains how to add a column without doing crazy things with the table widths etc.

http://www.vbulletin.com/forum/showthread.php?t=101599

It's mentioned before, somewhere in those 19 pages I read.

rubberduck 07-30-2008 11:13 AM

Quote:

Originally Posted by Big Daddy (Post 804813)
I tried to install this. It created a space on the left side of the page, but nothing appeared in the space. I am running 3.0.7

I did enter some content, but nothing showed up. Can someone help me out with this???


I am having the same problem - created a space but nothing will show up. Not even a basic google advert. Nothing.

Please be so kind to advise, its probably something simple I have not noticed.

sv1cec 08-01-2008 06:54 PM

It just doesn't work. Follow the link in the post above yours, works like a charm.


All times are GMT. The time now is 08:08 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.01477 seconds
  • Memory Usage 1,820KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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