vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Advanced Footer Rework (https://vborg.vbsupport.ru/showthread.php?t=282099)

The Rocketeer 05-02-2012 09:55 AM

Quote:

Originally Posted by Savraj (Post 2324921)
Hi I inputted the code as stated, and images. However, I cannot see any difference..

Can someone please help?

Thanks in advance...

Why? i dont understand whats the problem? very little info..but have you refreshed your cache and saved the templates properly?:confused:

Savraj 05-10-2012 09:53 AM

Hi Rocketeer..

I basically, added the code. However, cannot see any change to my footer..

Did I install it incorrectly?

The Rocketeer 05-12-2012 09:47 AM

Quote:

Originally Posted by Savraj (Post 2327953)
Hi Rocketeer..

I basically, added the code. However, cannot see any change to my footer..

Did I install it incorrectly?


maybe you installed it wrong? because everyone else got it working.. you should reinstall. make sure you got the right template, go to additional.css then copy paste the #1. code. then save and find the template named footer and replace it with the #2. code. then upload the images. simple.. :)

GameOverViper 05-13-2012 04:58 PM

Say I want to remove the logo completely and make 4 columns of links, boxed in with an outline/header, and centered? Any help? I tried to swap the coding around, but I honestly don't know what I'm doing. I'd appreciate it a lot if you put something like this together for me :)

The Rocketeer 05-14-2012 12:45 AM

Quote:

Originally Posted by Americanbang (Post 2329042)
Say I want to remove the logo completely and make 4 columns of links, boxed in with an outline/header, and centered? Any help? I tried to swap the coding around, but I honestly don't know what I'm doing. I'd appreciate it a lot if you put something like this together for me :)

Should be doable, let me have a look. :) have you tried replacing the the image and text box of code with just the link side of the codes, that should produce all linked columns :o

GameOverViper 05-15-2012 06:31 PM

Quote:

Originally Posted by The Rocketeer (Post 2329150)
Should be doable, let me have a look. :) have you tried replacing the the image and text box of code with just the link side of the codes, that should produce all linked columns :o

I did, but they were all right next to each other. I'm not sure how to space them so they are evenly spaced across the footer.

Angle4cor 05-15-2012 10:04 PM

1 Attachment(s)
After adding this all my footer links disappeared. Do you know how to fix this? And how to change the background color to black and font color to grey (like I have had before)?

Thanks for this footer rework. Great idea!

Its my old footer template:

Code:

<vb:if condition="!empty($ad_location['ad_footer_start']) or !empty($ad_location['global_above_footer'])">
<div style="clear: {vb:stylevar left}">
  {vb:raw ad_location.ad_footer_start}
  {vb:raw ad_location.global_above_footer}
</div>
</vb:if>
<div id="footer" class="floatcontainer footer">
       
        <vb: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="{vb:raw session.sessionhash}" />
                        <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                        <input type="hidden" name="do" value="dst" />
                </form>
                <script type="text/javascript">
                <!--
                        var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw 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 -->
        </vb:if>
       
        <script type="text/javascript">
        <!--
                // Main vBulletin Javascript Initialization
                vBulletin_init();
        //-->
        </script>
        {vb:raw template_hook.footer_javascript}
</div>
</div> <!-- closing div for body_wrapper -->
<div class="below_body">
{vb:raw ad_location.ad_footer_end}
<vb:if condition="$vboptions['enablefacebookconnect']">
        {vb:raw facebook_footer}
</vb:if>
</div>

<!-- Custom Content Wrap -->
                </div>
                </div>
                <div id="footerBar">
<div class="skinSelect">
        <form action="{vb:link forumhome|nosession}" method="get" id="footer_select" class="footer_select">

                <vb:if condition="$show['quickchooser']">
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="{vb:rawphrase quick_style_chooser}"><option class="hidden"></option></optgroup>
                                <vb:if condition="$quickchooserbits1">
                                        <vb:if condition="$quickchooserbits2">
                                        <optgroup label="&nbsp;{vb:rawphrase standard_styles}">
                                        </vb:if>                               
                                        {vb:raw quickchooserbits1}
                                        <vb:if condition="$quickchooserbits2">
                                        </optgroup>
                                        </vb:if>                                       
                                </vb:if>
                                <vb:if condition="$quickchooserbits2">
                                        <vb:if condition="$quickchooserbits1">
                                        <optgroup label="&nbsp;{vb:rawphrase mobile_styles}">
                                        </vb:if>
                                        {vb:raw quickchooserbits2}
                                        <vb:if condition="$quickchooserbits1">
                                        </optgroup>
                                        </vb:if>                                       
                                </vb:if>
                        </select>       
                </vb:if>
               
                <vb:if condition="$show['languagechooser']">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="{vb:rawphrase quick_language_chooser}">
                                        {vb:raw languagechooserbits}
                                </optgroup>
                        </select>
                </vb:if>
        </form>
</div>
                        <a href="#header" class="backTop">Back to top</a>
                       
                </div>
                <div class="footerNav"><div class="footerNavWrap">


        <ul>
                <vb:if condition="$show['contactus']"><li><a href="{vb:raw vboptions.contactuslink}" rel="nofollow" accesskey="9">{vb:rawphrase contact_us}</a></li></vb:if>
                <vb:if condition="$vboptions['hometitle']"><li><a href="{vb:raw vboptions.homeurl}">{vb:raw vboptions.hometitle}</a></li></vb:if>
                <vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase admin}</a></li></vb:if>
                <vb:if condition="$show['modcplink']"><li><a href="{vb:raw modcpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li></vb:if>
                <vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase archive}</a></li></vb:if>
                {vb:raw template_hook.footer_links}
                <vb:if condition="$vboptions['privacyurl']"><li><a href="{vb:raw vboptions.privacyurl}">{vb:rawphrase privacy_statement}</a></li></vb:if>
                <vb:if condition="$vboptions['tosurl']"><li><a href="{vb:raw vboptions.tosurl}">{vb:rawphrase terms_of_service}</a></li></vb:if>
                <li><a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a></li>
        </ul>
                </div></div>
                <div id="footerMain">
                        <div class="copyright">
<div>
        <!-- Do not remove this copyright notice -->
        {vb:rawphrase powered_by_vbulletin}
        <!-- Do not remove this copyright notice -->       
</div>
<div>
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw cronimage}
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw vboptions.copyrighttext}
</div>
<div>{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div>
<div>Original Skins shared by crackiss</div>
                        </div>
                        <div class="footerLogo">
                                <a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}"><img src="{vb:stylevar imgdir_themedir}/footerLogo.gif" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a>
                        </div>
                <div style="clear:both;"></div>
                </div>
        </div>
<!-- Custom Content Wrap End -->

Any help will be greatly appreciate. Thanks in advance!

The Rocketeer 05-16-2012 05:11 AM

Quote:

Originally Posted by Angle4cor (Post 2329708)
After adding this all my footer links disappeared. Do you know how to fix this? And how to change the background color to black and font color to grey (like I have had before)?

Thanks for this footer rework. Great idea!

Its my old footer template:

Code:

<vb:if condition="!empty($ad_location['ad_footer_start']) or !empty($ad_location['global_above_footer'])">
<div style="clear: {vb:stylevar left}">
  {vb:raw ad_location.ad_footer_start}
  {vb:raw ad_location.global_above_footer}
</div>
</vb:if>
<div id="footer" class="floatcontainer footer">
       
        <vb: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="{vb:raw session.sessionhash}" />
                        <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                        <input type="hidden" name="do" value="dst" />
                </form>
                <script type="text/javascript">
                <!--
                        var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw 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 -->
        </vb:if>
       
        <script type="text/javascript">
        <!--
                // Main vBulletin Javascript Initialization
                vBulletin_init();
        //-->
        </script>
        {vb:raw template_hook.footer_javascript}
</div>
</div> <!-- closing div for body_wrapper -->
<div class="below_body">
{vb:raw ad_location.ad_footer_end}
<vb:if condition="$vboptions['enablefacebookconnect']">
        {vb:raw facebook_footer}
</vb:if>
</div>

<!-- Custom Content Wrap -->
                </div>
                </div>
                <div id="footerBar">
<div class="skinSelect">
        <form action="{vb:link forumhome|nosession}" method="get" id="footer_select" class="footer_select">

                <vb:if condition="$show['quickchooser']">
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="{vb:rawphrase quick_style_chooser}"><option class="hidden"></option></optgroup>
                                <vb:if condition="$quickchooserbits1">
                                        <vb:if condition="$quickchooserbits2">
                                        <optgroup label="&nbsp;{vb:rawphrase standard_styles}">
                                        </vb:if>                               
                                        {vb:raw quickchooserbits1}
                                        <vb:if condition="$quickchooserbits2">
                                        </optgroup>
                                        </vb:if>                                       
                                </vb:if>
                                <vb:if condition="$quickchooserbits2">
                                        <vb:if condition="$quickchooserbits1">
                                        <optgroup label="&nbsp;{vb:rawphrase mobile_styles}">
                                        </vb:if>
                                        {vb:raw quickchooserbits2}
                                        <vb:if condition="$quickchooserbits1">
                                        </optgroup>
                                        </vb:if>                                       
                                </vb:if>
                        </select>       
                </vb:if>
               
                <vb:if condition="$show['languagechooser']">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="{vb:rawphrase quick_language_chooser}">
                                        {vb:raw languagechooserbits}
                                </optgroup>
                        </select>
                </vb:if>
        </form>
</div>
                        <a href="#header" class="backTop">Back to top</a>
                       
                </div>
                <div class="footerNav"><div class="footerNavWrap">


        <ul>
                <vb:if condition="$show['contactus']"><li><a href="{vb:raw vboptions.contactuslink}" rel="nofollow" accesskey="9">{vb:rawphrase contact_us}</a></li></vb:if>
                <vb:if condition="$vboptions['hometitle']"><li><a href="{vb:raw vboptions.homeurl}">{vb:raw vboptions.hometitle}</a></li></vb:if>
                <vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase admin}</a></li></vb:if>
                <vb:if condition="$show['modcplink']"><li><a href="{vb:raw modcpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li></vb:if>
                <vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase archive}</a></li></vb:if>
                {vb:raw template_hook.footer_links}
                <vb:if condition="$vboptions['privacyurl']"><li><a href="{vb:raw vboptions.privacyurl}">{vb:rawphrase privacy_statement}</a></li></vb:if>
                <vb:if condition="$vboptions['tosurl']"><li><a href="{vb:raw vboptions.tosurl}">{vb:rawphrase terms_of_service}</a></li></vb:if>
                <li><a href="{vb:raw relpath}#top" onclick="document.location.hash='top'; return false;">{vb:rawphrase top}</a></li>
        </ul>
                </div></div>
                <div id="footerMain">
                        <div class="copyright">
<div>
        <!-- Do not remove this copyright notice -->
        {vb:rawphrase powered_by_vbulletin}
        <!-- Do not remove this copyright notice -->       
</div>
<div>
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw cronimage}
        <!-- Do not remove cronimage or your scheduled tasks will cease to function -->
        {vb:raw vboptions.copyrighttext}
</div>
<div>{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div>
<div>Original Skins shared by crackiss</div>
                        </div>
                        <div class="footerLogo">
                                <a name="top" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}"><img src="{vb:stylevar imgdir_themedir}/footerLogo.gif" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a>
                        </div>
                <div style="clear:both;"></div>
                </div>
        </div>
<!-- Custom Content Wrap End -->

Any help will be greatly appreciate. Thanks in advance!

you should be able can change the text, style, background colors from the additional.css code, to fix the lines upload the breadcrumb image i uploaded here -https://vborg.vbsupport.ru/showpost.php?p=2324796&postcount=9, that should probably do it. post a link to your forum, looks like you are using a custom style, so you might have to do the edits manually instead of just replacing the footer. That would explain why it looks kind of out of place and the links disappearing. For any links you had in the footer, well it you might have to revert the template or reinsert those links from the old template as this changed the entire footer template(stock or custom) :p

Angle4cor 05-16-2012 08:50 AM

Theres no image attached to this post - https://vborg.vbsupport.ru/showpost....96&postcount=9

I dont know, if I can post link to my forum, but - wrestlingforum.pl On the basic style is my original footer. Your footer rework is in Pro fluid style.

Yes, I'm using custom style. What I should do now?

The Rocketeer 05-16-2012 01:09 PM

Quote:

Originally Posted by Angle4cor (Post 2329813)
Theres no image attached to this post - https://vborg.vbsupport.ru/showpost....96&postcount=9

I dont know, if I can post link to my forum, but - wrestlingforum.pl On the basic style is my original footer. Your footer rework is in Pro fluid style.

Yes, I'm using custom style. What I should do now?

there is an attachment, but its so small that you cant see it. okay let me see if i can come up with instructions for custom styles and also include the other small image in the attachment. can you post your footer template so that i can get a better idea. should be do able :)


All times are GMT. The time now is 12:29 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.01206 seconds
  • Memory Usage 1,831KB
  • 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_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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