vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Nice Calendar Looking ( Yearly ) (https://vborg.vbsupport.ru/showthread.php?t=197293)

christian8a 11-25-2008 10:00 PM

Nice Calendar Looking ( Yearly )
 
1 Attachment(s)
This is just a small modification/edit to the yearly calendar look.
The standard one will put 4 columns with each month in fixed size, now this version will just put 3 columns on a 100% width so each month is close to each other.

Demo http://www.eibuddy.com/calendar.php?...playyear&year=

########## INSTALL ##########

Template edit:
Calendar Templates >> calendar_yearly

This is for 3.8.x vbulletin, so replace all content with:

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>


crkgb 11-26-2008 10:26 PM

Looks great. could you also make a Monthly view based on the way Weekly view looks. From top to bottom I mean ))

Arcade Fire 11-27-2008 06:22 AM

Modificated, thanks ;)

arauf 12-05-2008 12:36 AM

* Reserved

Marcel Adam 03-31-2009 02:25 AM

Thank u Man

steve1966 03-31-2009 09:25 AM

thanks

FReeSTER 04-09-2009 05:15 PM

Thanks !;)

shinng 05-29-2009 09:47 AM

simple and quick. installed


All times are GMT. The time now is 11:44 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.01103 seconds
  • Memory Usage 1,754KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete