PDA

View Full Version : Forum Home Enhancements - [Similar] VB.Org Footer


Davidhin
11-18-2007, 10:00 PM
For a footer layout similar to VB.Orgs

1.replace your footer template with the following

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

$spacer_close
<!-- /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>

</tr>
<tr>
<td class="footerb" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" width="100%">
<div class="footer">

<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<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>
<div class="footer">
<div style="float:right">
<a href="#">Link 1</a> | <a href="#">Link 2</a> | <a href="#">Link 3</a>

</div>

<div align="left">$vbphrase[powered_by_vbulletin]</div>
<div style="float:right">Forum Design by <a href="member.php?u=1">Your Name</a></div>
<div align="left">$vboptions[copyrighttext]</div>
</div>
</td>
</tr>
</table>

<br />

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


</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" 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>

2. Now add the following CSS to your style

.footerb
{
background: #202020;
color: #ffffff;
border: 1px solid #ffffff;
}

.footer{
font:10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
color:#ffffff;
background:#202020;
padding:4px
}
.footer a:link, .footer_alink {
color: #ffffff;
text-decoration: none;}

.footer a:visited, .footer_avisited, .footer a:active {
color: #ffffff;
text-decoration: none;}

.footer a:hover, .footer_ahover {
color: #98773b;
text-decoration: none;}


Online Demo @ http://www.dcfc-forum.co.uk

Derek Chai
11-19-2007, 04:04 AM
1st nice

Shazz
11-19-2007, 04:12 AM
All I see different from the default on vB.org is its alignment is to the left... :confused:

TasariMerkezi
11-19-2007, 05:41 AM
good job,thanks

Davidhin
11-19-2007, 10:46 AM
All I see different from the default on vB.org is its alignment is to the left... :confused:

Thats why its [similar] I noticed on another post people were asking how it was done, all I'm doing is helping people out who dont know how.

TheBlackPoet
11-19-2007, 12:07 PM
i like it... however it took my round bottom.... but the ends... justifies the means... i like it...

Robru
12-01-2007, 03:48 PM
Now add the following CSS to your style
Please explain how...

PossumX
12-01-2007, 11:40 PM
Add it to the "Additional CSS Definitions" section in "All Style Options". You should be all set from there.

squad22345
01-22-2008, 09:12 PM
smallest pic in the world..

Keepowjunior
02-03-2008, 03:31 PM
Really nice one, was looking for this thnx m8.

Brandon Sheley
02-03-2008, 03:49 PM
smallest pic in the world..

look here then
https://vborg.vbsupport.ru/

:rolleyes:

crkgb
04-11-2008, 03:48 AM
How can we include

Powered by vBadvanced CMPS v3.0.0

into this footer

habilonline
04-11-2008, 09:18 PM
thanks, very good job