Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Yearly Calendar expanded Details »»
Yearly Calendar expanded
Version: 1.00, by christian8a christian8a is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Calendar Enhancements - Version: 3.7.x Rating:
Released: 07-13-2008 Last Update: Never Installs: 23
Template Edits
 
No support by the author.

Neat yearly calendar look.
Brought to you by http://www.eicorvette.com :up:

This is for those with a fixed style but works great with a fluid style also.

====================
What it does?

This fixes is the yearly look on the calendar.
The width by default is 170 and there are 4 on each row. So the fixed styles could probably expand and break the tables if the actuall style is skinny.

This will put 3 mini calendars (on the yearly look) on each row and a 100% on width so they will fill out the blank spaces and not expand a fixed style or break tables.
Now on the fluid styles looks awesome too.

See the DEMO at http://www.eicorvette.com

Go to calendar/yearly view and see how it looks now, change at the bottom of the site between the fixed style and the expanded so you see the difference.

====================
Install:

Open style manager >> Calendar templates >> calendar yearly
and use this template entirelly. (copy/paste)

PHP Code:
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<
tr valign="top">
    <
td align="$stylevar[left]">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month1</table>
    </
td>
    <
td align="center">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month2</table>
    </
td>
    <
td align="$stylevar[right]">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month3</table>
    </
td>
</
tr>

<
tr valign="top">
    <
td align="$stylevar[left]">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month4</table>
    </
td>
    <
td align="center">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month5</table>
    </
td>
    <
td align="$stylevar[right]">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month6</table>
    </
td>
</
tr>
<
tr valign="top">
    <
td align="$stylevar[left]">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month7</table>
    </
td>
    <
td align="center">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month8</table>
    </
td>
    <
td align="$stylevar[right]">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month9</table>
    </
td>
</
tr>
<
tr valign="top">
    <
td align="$stylevar[left]">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month10</table>
    </
td>
    <
td align="center">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month11</table>
    </
td>
    <
td align="$stylevar[right]">
        <
table class="tborder" cellpadding="2" cellspacing="$stylevar[cellspacing]border="0" width="100%" style="margin-bottom:$stylevar[cellpadding]px">$month12</table>
    </
td>
</
tr>
</
table>

<
br />

<
table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<
tr valign="bottom">
    <
td nowrap="nowrap">

    <
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0">
    <
tr>
        <
td class="thead" colspan="3" nowrap="nowrap">$vbphrase[add_new_event]<a name="goto_newevent"></a></td>
    </
tr>
    <
tr>
        <
td class="alt1" nowrap="nowrap">
            <
div class="smallfont">
                <
div>
                    <
img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[single_all_day_event]border="0" />
                    <
a href="calendar.php?$session[sessionurl]do=add&amp;type=single&amp;c=$calendarinfo[calendarid]">$vbphrase[single_all_day_event]</a>
                </
div>
                <
div>
                    <
img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[ranged_event]border="0" />
                    <
a href="calendar.php?$session[sessionurl]do=add&amp;c=$calendarinfo[calendarid]">$vbphrase[ranged_event]</a>
                </
div>
                <
div>
                    <
img class="inlineimg" src="$stylevar[imgdir_misc]/calendar_icon.gif" alt="$vbphrase[recurring_event]border="0" />
                    <
a href="calendar.php?$session[sessionurl]do=add&amp;type=recur&amp;c=$calendarinfo[calendarid]">$vbphrase[recurring_event]</a>
                </
div>
            </
div>
        </
td>
    </
tr>
    </
table>

    </
td>
    <
td width="100%">&nbsp;</td>
    <
td nowrap="nowrap">

    
$calendarjump

    
</td>
</
tr>
</
table
===============================
Enjoy!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-14-2008, 06:31 AM
dvbusuario's Avatar
dvbusuario dvbusuario is offline
 
Join Date: Oct 2007
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great!

Install!!
Reply With Quote
  #3  
Old 07-14-2008, 01:28 PM
BigDog56 BigDog56 is offline
 
Join Date: Jan 2007
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea, love it! Thank you and clicks 'Installed'
Reply With Quote
  #4  
Old 07-14-2008, 06:25 PM
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea. Need to check to see if it works with other mods before I install. Still nice work.
Reply With Quote
  #5  
Old 11-05-2008, 05:57 PM
christian8a's Avatar
christian8a christian8a is offline
 
Join Date: May 2007
Location: Washington State
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works with any version from 3.7 to 3.8, tested
Reply With Quote
  #6  
Old 04-21-2009, 08:48 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, how do I change the highlight from the default red to another color?
Reply With Quote
  #7  
Old 10-07-2009, 08:01 PM
Front Range 4x4 Front Range 4x4 is offline
 
Join Date: Jan 2009
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Answer Here -> https://vborg.vbsupport.ru/showthread.php?t=211605
Reply With Quote
  #8  
Old 10-12-2009, 03:31 PM
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
Reply


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 03:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04320 seconds
  • Memory Usage 2,338KB
  • Queries Executed 21 (?)
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)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_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