Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 04-08-2011, 09:49 PM
Llandy's Avatar
Llandy Llandy is offline
 
Join Date: Mar 2009
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Adding custom links below footer

I wanna do something like www.theadminzone.com has done it in the bottom of the footer. Basically, I want to add links below the footer, in rows, but I have no idea how to or what to input to get it to look similar to TAS links.

I know that TAZ uses a custom theme, but I can't believe that it's not possible to add custom links like they have done it.
Reply With Quote
  #2  
Old 04-09-2011, 03:33 AM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's possible, and it's easy..

Replace your footer template with this one:
Code:
$ad_location[ad_footer_start]
$spacer_close
<!-- /content area table -->
<br />
<div class="footerblah">
<div class="sitelinks">
<font style="font-size:15px; font-weight:bold">Site Links</font><br />
? <a href="#" rel="nofollow" accesskey="9">Home</a>
<br />
? <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a></if>
<br />
? <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a></if>
<br />
? <a href="#">Privacy Statement</a>
<br />
? <a href="#">Terms of Service</a>
<br />
</div>
<div class="communitylinks">
<font style="font-size:15px; font-weight:bold">Some Links</font> <br />
? <a href="#" target="_blank">Link 1</a>
<br />
? <a href="#" target="_blank">Link 2</a>
<br />
? <a href="#" target="_blank">Link 3</a> 
<br />
? <a href="#" target="_blank">Link 4</a>
<br />
? <a href="#" target="_blank">Link 5</a>
<br />
</div>
<div class="copyrightinfo">
<!-- Do not remove this copyright notice -->
Copyright by <a href="#">Your site</a><br />
$vbphrase[powered_by_vbulletin]
</div>

</div>
	<!-- Do not remove this copyright notice -->
	<!-- 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>
$ad_location[ad_footer_end]
<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="securitytoken" value="$bbuserinfo[securitytoken]" />
	<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>
Add this in additional.css:

Code:
.footerblah {
background: #660000;
border-top: 1px solid #FF0000;
height: 100px;
padding: 10px;
}
.sitelinks {
padding: 5px;
float:left;
width: 150px;
border-right: 1px dotted #FFFFFF;
}
.communitylinks {
padding: 5px;
margin-left: 15px;
width: 200px;
float:left;
}
.copyrightinfo {
text-align: right;
padding-top: 30px;
}
Change the colors to the ones you want.
Reply With Quote
  #3  
Old 04-09-2011, 07:11 AM
Llandy's Avatar
Llandy Llandy is offline
 
Join Date: Mar 2009
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks my friend for the quick reply!

--------------- Added [DATE]1302337526[/DATE] at [TIME]1302337526[/TIME] ---------------

Trying to figure out where to edit the width of the background and get the footer to connect with the bottom of the forums, instead of as a separate "box".
Reply With Quote
  #4  
Old 04-09-2011, 07:31 AM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to Style Manager - Your Style - Main CSS -

And the body part.. In the extra CSS attributes add this:

margin: 0;
padding: 0;

If there's something else, just replace it with those values.. Margin has to be 0 if you want to have full width footer..
Reply With Quote
  #5  
Old 04-09-2011, 07:40 AM
Llandy's Avatar
Llandy Llandy is offline
 
Join Date: Mar 2009
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FallenBeauties View Post
Go to Style Manager - Your Style - Main CSS -

And the body part.. In the extra CSS attributes add this:

margin: 0;
padding: 0;

If there's something else, just replace it with those values.. Margin has to be 0 if you want to have full width footer..
I must be missing something obvious. I've input the "margin: 0;" and "padding: 0" into the extra css attributes, but it doesn't really change anything (as far as i can tell).

I hate to ask for help, but I'm so terrible with CSS and HTML, you might as well be speaking Greek lol :erm:
Reply With Quote
  #6  
Old 04-09-2011, 07:45 AM
Frosty Frosty is offline
 
Join Date: Apr 2011
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



You put it in the first block, it says "Body".. Has to work..
Reply With Quote
  #7  
Old 04-09-2011, 07:50 AM
Llandy's Avatar
Llandy Llandy is offline
 
Join Date: Mar 2009
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I've done so. I've sent you a PM

--------------- Added [DATE]1302346324[/DATE] at [TIME]1302346324[/TIME] ---------------

You should really post your footer code as a mod, I'm sure a lot of people would use it
You've been really helpful and i can't thank you enough.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 09:05 PM.


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.04635 seconds
  • Memory Usage 2,222KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete