Log in

View Full Version : modified footer and added page to add column


maroceve
11-09-2005, 01:54 PM
Hey guys,

I did a little modification lately on my footer to add another column for my phpadnew vertical banner.

Problem is i can't seem to get rid of this huge space between the columns.

anyone care to help ? :)

maroceve
11-17-2005, 08:58 AM
guys can anyone help please ? :)

TheMusicMan
11-17-2005, 11:58 AM
At guess I'd say it was to do with one of your vBulletin style settings. Not sure which one... try spacer size...?

If you notice, this gap is exactly the same size as the gap on the left between the edge of the page and the main forum table. Check those...

maroceve
11-17-2005, 02:01 PM
ah thanks for tip ..but where is this ..i did a template search for spacer size

found it in spacer_open. going to try editing that hmm

-- 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 $stylevar[spacersize]px 0px $stylevar[spacersize]px">
<else />
<div align="center">
<div class="page" style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]">
<div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
</if>

it's already 0 ..So i don't that's it.

TheMusicMan
11-17-2005, 02:13 PM
No no no... have a lookie in the AdminCP for your style... it is in there.

maroceve
11-17-2005, 02:22 PM
great ;) it works ..but hmm how do i do it just for the right side ..cause it does it for both left and right. ?

TheMusicMan
11-17-2005, 03:00 PM
I think you'd have to put your code within the closing div or td in the footer template rather than right at the end. This way your column will align right next to the main table.

Alternatively I have just seen on here a plugin that allows you to add a column on forumhome either left or right... you might like to take a look at that too.

maroceve
11-17-2005, 03:11 PM
It is that right column trick ur talking about ...that we did.

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- Right Column STOP -->
<td width="175" valign="top" class="page" style="padding: $stylevar[cellpadding]px;"><iframe SRC="http://www.maroceve.com/html/droite.htm" width=175 height=800 scrolling="no" frameborder="0"></iframe>
</td>
</td>
</tr>
</table>
<!-- Right Column STOP -->
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

so where do u think i should add that code ..isn't it in the right place ? :(