vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Home Enhancements - [Similar] VB.Org Footer (https://vborg.vbsupport.ru/showthread.php?t=163078)

Davidhin 11-18-2007 10:00 PM

[Similar] VB.Org Footer
 
For a footer layout similar to VB.Orgs

1.replace your footer template with the following

PHP Code:

<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

PHP Code:

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

Quote:

Originally Posted by Shazz (Post 1385318)
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

Quote:

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.


All times are GMT. The time now is 08:56 AM.

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.04816 seconds
  • Memory Usage 1,793KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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