Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
KrazyFire's Avatar
KrazyFire : Admin
KrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant futureKrazyFire has a brilliant future
offline Joined: Sep 2007 Location: UK Posts: 698 Thanked: 1,001
  #1  
Thread Starter Unread 12-05-07
[Similar] VB.Org Footer

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;
border1px solid #ffffff;
}

.
footer{
font:10px verdanagenevalucida'lucida grande'arialhelveticasans-serif;
color:#ffffff;
background:#202020;
padding:4px
}
.
footer a:link, .footer_alink {
color#ffffff;
text-decorationnone;}

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

.
footer a:hover, .footer_ahover {
color#98773b;
text-decorationnone;} 
Online Demo @ DCFC Forums | Derby County Forum
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
similar, vborg, footer, vb.org, [similar]
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Powered by GYSN Underground 2021