View Full Version : side bar hack
dawgbone
12-21-2004, 02:04 PM
I am using the left side bar hack for the purpose of ads on my forum... I've had it on for a while (although it is still blank).
On my portal page though, the hack doesn't come up, but an empty space for it does?
I guess my two options would be to either remove it, or incorporate it into my portal page.
The problem is, I took this over from the owner who had started it as hobby, but he doesn't remember what he did, and I am still playing around trying to figure it out.
Anyways, either one would be fine... I've posted my 2 urls so you can see what I am talking about.
www.bigbrotherwarez.com
www.bigbrotherwarez.com/forums
Brian
12-21-2004, 03:26 PM
The space on the left part of your homepage isn't from the sponsors module, it's from some code that was added...
<td style="width:150px" valign="top"></td>
<td style="width:10px" valign="top"> </td>
The reason it doesn't show up on your homepage is most likely because it isn't enabled on your homepage.
dawgbone
12-21-2004, 04:51 PM
Where did they add that?
I can't seem to find it anywhere.
I've gotten rid of the sponsor part, and everything is still shifted to the right. I went to the sidebar section and reversed the instructions in order to get rid of it, with no luck.
Any advice?
Brian
12-21-2004, 05:08 PM
I would guess it's in your 'adv_portal' template.
dawgbone
12-21-2004, 05:21 PM
Not that I can find...
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[hometitle]</title>
$headinclude
</head>
<body>
$header
$navbar
<table align="center" class="page" cellspacing="0" cellpadding="0"width="100%">
<tr valign="top">
<if condition="$show['left_column']">
<td width="$vba_options[portal_leftcolwidth]">
$home[leftblocks]
</td>
<!-- Spacer Cell -->
<td width="$vba_options[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_options[portal_colspacing]" /></td>
<!-- / Spacer Cell -->
</if>
<if condition="$show['center_column']">
<td valign="top">
$home[centerblocks]
</td>
</if>
<if condition="$show['right_column']">
<!-- Spacer Cell -->
<td width="$vba_options[portal_colspacing]"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="$vba_options[portal_colspacing]" /></td>
<!-- / Spacer Cell -->
<td valign="top" width="$vba_options[portal_rightcolwidth]">
$home[rightblocks]
</td>
</if>
</tr>
</table>
$footer
</body>
</html>
I was reading through the sidebar hack thread (the Dark Wizard one, http://www.vbulletin.org/forum/showthread.php?t=59781&page=1&highlight=sidebar+hack), and I think it's one of the 100+ fixes listed in there... but i can't find anywhere that would set everything to the right. That is the one that resmembled the one that was on there (based on appearance)... and the names were the same for both so I followed the instructions in reverse order to get rid of it.
I reverted my footer back to the default, so theoretcially, it should be back to being across the full screen...
dawgbone
12-22-2004, 10:39 AM
basically, it's in both.
In my forum, there is a huge space along the side that is where the sidebar was. On the portal page, the same thing is there.
Basically there are only a couple of places it could be, but I have no idea where.
Any suggestions would be great.
1996 328ti
12-24-2004, 04:45 PM
The problem I ran into was once I installed vBadvanced it included the side bar. In my side bar I had google ads. When I used vIndex it wasn't a problem because I guess it used its own header and footer and I did not have the side bar on the portal page. When I converted to vBadvanced the side bar was there and the column was blank. I uninstalled the side bar hacks from the footer and header until I find some alternative.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.