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 - Center or remove - Forum Title & Welcome Message (https://vborg.vbsupport.ru/showthread.php?t=257765)

Drucifer 02-11-2013 07:47 PM

I'm looking for ways to add a TimeAndDate.com countdown calendar to the header that is top of all my Mets Paradise forums.

The HTML code for the countdown calendar I customized is . . . .
PHP Code:

<iframe src="http://free.timeanddate.com/countdown/i3hziqy1/n179/cf100/cm0/cu3/ct4/cs1/ca0/cr0/ss0/cacfff/cpc000/pc039/tcfff/fs100/szw240/szh120/tatCiti%20Field%20Opening%20Game/tacf71/tptTime%20since%20Event%20started%20in/tpc000/matstarts%20in/macf71/mpc000/iso2013-04-01T13:10:00/bas7/bat4/bacf71" frameborder="0" width="254" height="134"></iframe

I would like the calendar box to appear in the upper left corner of the header. At the same height as the Welcome line.

craigvm 06-08-2013 03:42 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2165830)
IMPORTANT: Always backup your database before making any edits.

In navbar look for:

PHP Code:

<ul class="floatcontainer">
        <
li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>

        {
vb:raw navbits.breadcrumb}
        {
vb:raw navbits.lastelement}
    </
ul

READ CLOSELY:

Delete everything there except for

PHP Code:

{vb:raw navbits.breadcrumb

So the surrounding code will look like this when done....

PHP Code:

<div id="breadcrumb" class="breadcrumb">
    

        {
vb:raw navbits.breadcrumb}
    <
hr />
</
div

This will remove the "Home" icon and the word "Forum" on your Forum Homepage, but still keep your quick navigation links within your forums.

FUN FACT: Removing this seems to speed up the page load. I would suspect its because it queries less in the CSS for browsers to decode.

just done this and it only got rid of the house image the word forum is still there

gariksher 06-18-2013 09:25 AM

Thanks, Installed!

illusioN-tEk 11-29-2014 08:32 PM

working for 4.2.2 :up:

kf4eok 12-05-2014 04:04 AM

Thanks for the great work to get this done. It sure makes the forum look much cleaner.
I am using VB 4.2.3 beta and this works great even with my custom style.
Thanks

OldSchoolDSL 07-17-2017 02:28 PM

No longer supported as I no longer use vBulletin having moved to both WoltLab Burning Board and Invision Power Board.

I give 100% permission to reuse, modify, improve, enhance, and redistribute this code as freeware to anyone, everyone, and everywhere.

Good luck :)

iamme_meisi 12-17-2017 06:04 AM

While this can be deemed as 'old' I'd like to thank you for the effort. I appreciate the time taken, and being able to remove the home button as well was just an added bonus.


All times are GMT. The time now is 03:57 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.01068 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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