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
Updated Monthly Calendar View Details »»
Updated Monthly Calendar View
Version: 1.02, by Wayne Luke (Senior Member) Wayne Luke is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Calendar Enhancements - Version: 3.7.0 Beta 2 Rating:
Released: 12-18-2007 Last Update: 03-19-2008 Installs: 134
Supported Template Edits
Re-useable Code Translations  

A collection of Calendar Modifications

The monthly calendar in the default style is crowded and blocky with the day names on each row, unlabeled week view markers on the left and various other stylistic choices that make it fairly unusable. With this collection of modifications, I am aiming to make it more usable and present a better monthly view.

Some of the features include:
  • Single header row with the days of the week.
  • Better date boxes which have a square instead of a rectangular layout. More like a standard calendar view.
  • Easier to see highlighting of the current dates.
  • Previous month and next month dates removed for better viewing.
  • Link to the Weekly view on the left of each row distinctly says "WEEK".
Installation
Merge the style.xml file into each style you want to apply the changes to. This will only work on styles with unedited calendar templates. To do this follow these steps:
  1. Go to Styles & Templates -> Download / UploadStyles.
  2. In the Upload form, browse to the monthly_calendar.xml file
  3. For the Merge Into Style choose the style that these changes should be applied on.
  4. Tell the system to ignore the version number (just in case).
  5. Click Import.
  6. Repeat for each additional style.
You may need to add the following four lines to the second box under MainCSS -> Additional CSS Definitions:
Code:
#highlight { padding:0px; border:1px solid red; font-weight:bold }
#calendar_today {background-color:transparent;color:red;font-size: 130%;font-style:italic; font-weight:bold;}
.daybox {padding:0px}
#calendar_date {font-size: 115%;font-style:italic;}
This would only need to be done if you have made modifications to the CSS here in the past.

Updates:
20080121 - Removed template edit that was conflicting with Farcaster's Event Signup Modification found at here:
https://vborg.vbsupport.ru/showthread.php?t=129088

Support provided in this thread only to people who marked install.

Show Your Support

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

Comments
  #32  
Old 02-11-2008, 03:01 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it running on both 3.6.8 and the 3.7.0 betas. You can see the 3.6.8 version here:
http://www.swifthandofjustice.net/calendar.php
Reply With Quote
  #33  
Old 02-12-2008, 07:11 AM
Caerydd's Avatar
Caerydd Caerydd is offline
 
Join Date: Mar 2006
Location: UK
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's awesome, thanks Wayne
Reply With Quote
  #34  
Old 02-12-2008, 08:15 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wayne, did you ever find out the Gallery replacement problem or why it is deleting the additonal CSS stuff? Just checking, sir.
Reply With Quote
  #35  
Old 02-12-2008, 09:25 AM
Caerydd's Avatar
Caerydd Caerydd is offline
 
Join Date: Mar 2006
Location: UK
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had the gallery replacement crop up too, btw, although it was simple enough to just delete the replacement.
Reply With Quote
  #36  
Old 02-12-2008, 09:43 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That one didn't bother me as much as deleting all the additional CSS stuff I had in there before I added this. Although it threw me for a second as to where it came from. The first thing I thought is either I had been hacked, which I know couldn't have happened or an Admin changed something without telling me and they hadn't been on there before I noticed it.
Reply With Quote
  #37  
Old 02-13-2008, 05:57 AM
bfburger bfburger is offline
 
Join Date: Feb 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone now how I can move the calendar jump menu to the top of the calendar using this mod. I added $calendarjump to the monthly calendar template but no luck.

Also, the additional css controls the size of the calendar number for today, but can I also control the size of all the other calendar dates/numbers? This is in monthly view. I thought changing
Code:
#calendar_date {font-size: 115%;font-style:italic;}
would do it but no change in monthly view.

Any help is much appreciated!
Reply With Quote
  #38  
Old 02-20-2008, 02:54 AM
Bilderback's Avatar
Bilderback Bilderback is offline
 
Join Date: Sep 2007
Location: Illinois
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whew - that was close. You should warn people that your import deletes existing extra css additions.
I had to pull mine out of a database backup.
great add though- may want to make the CSS manual until the overwrite problem is located.
Someone with less experience will not know what hit them.
Reply With Quote
  #39  
Old 02-20-2008, 03:01 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bilderback View Post
whew - that was close. You should warn people that your import deletes existing extra css additions.
I had to pull mine out of a database backup.
great add though- may want to make the CSS manual until the overwrite problem is located.
Someone with less experience will not know what hit them.
I reported that a few posts up.
Reply With Quote
  #40  
Old 02-21-2008, 04:55 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't had a chance to upgrade my development installation to beta 5 yet. Once I do so, I will make an updated XML file available.
Reply With Quote
  #41  
Old 03-01-2008, 10:44 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was going to install this but then I read that it deletes the extra CSS styles.

Is this true?

If so, is there a work around for that?
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 02:13 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.07185 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete