vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Calendar Enhancements - Updated Monthly Calendar View (https://vborg.vbsupport.ru/showthread.php?t=165635)

Wayne Luke 12-18-2007 10:00 PM

Updated Monthly Calendar View
 
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.

ssvp 12-19-2007 11:29 PM

Excellent.. Worked like a champ.

Snake 12-20-2007 03:36 PM

Thank you!

TheMilkCarton 12-21-2007 04:02 PM

Wow... I just did almost the exact same thing by myself. It's quite uncanny actually. The only real differences are that I centered the Monday-Friday headers, and instead of "WEEK" I used "VIEW" (Makes more sense to me, I guess).

I moved a LOT more of the style to CSS though... makes it extremely customizable without template edits. Too bad I can't release this now without people accusing me of ripping you off. :rolleyes:

I also had replaced all the Editor buttons with that same Silk set too, like your other Template Mod. Although I just saved them as GIFs and didn't have to bother with any template edits. :) I swear you've hacked into my test board and stolen my modifications. :p:D

GrendelKhan{TSU 12-21-2007 07:30 PM

OMG THANK YOU.

WHY isn't this default calendar style? current calendar is barely useable, imo.

C.ooder 12-21-2007 08:44 PM

Thank you .. nice work

Mixibiza 12-22-2007 02:36 AM

Nice... installed :)

Wayne Luke 12-26-2007 03:10 PM

Quote:

Originally Posted by TheMilkCarton (Post 1406291)
I moved a LOT more of the style to CSS though... makes it extremely customizable without template edits. Too bad I can't release this now without people accusing me of ripping you off. :rolleyes:

Go ahead and release it. Who cares. I plan on releasing things to give people ideas and don't care if others modify them and re-release them or if they come up with similar ideas on their own. Let's get back to releasing many different options insteadof having to deal with one option.

Quote:

I also had replaced all the Editor buttons with that same Silk set too, like your other Template Mod. Although I just saved them as GIFs and didn't have to bother with any template edits. :) I swear you've hacked into my test board and stolen my modifications. :p:D
Great minds think alike?

ssvp 12-26-2007 03:50 PM

Quote:

Originally Posted by Wayne Luke (Post 1409485)
Go ahead and release it. Who cares. I plan on releasing things to give people ideas and don't care if others modify them and re-release them or if they come up with similar ideas on their own. Let's get back to releasing many different options insteadof having to deal with one option.



Great minds think alike?

Wayne Luke for President!

nurawtek 12-28-2007 04:00 AM

I installed this and now the header in my forum is gone the logo still shows but the header section and the navbit is not looking how it is suppossed to how can I fix this my forum: http://www.bassaddict.net

Reeve of shinra 12-28-2007 04:48 AM

very clean looking!

Wayne Luke 12-28-2007 02:19 PM

Quote:

Originally Posted by nurawtek (Post 1410553)
I installed this and now the header in my forum is gone the logo still shows but the header section and the navbit is not looking how it is suppossed to how can I fix this my forum: http://www.bassaddict.net

This shouldn't touch any templates outside the Calendar group. I can't recreate the problem. Though I see you uninstalled it. The change may be incompatible with your custom style.

glorify 12-30-2007 01:31 PM

Installed on all 3 of my styles. Just makes sense and looks great. Thanx.

Tungsten 01-03-2008 02:11 PM

Nicely done! *installed*

gator777 01-03-2008 03:20 PM

Installed! I would like to see the date numbers larger and bolded to stand out more. They are the same size as the birtdays and do not stand out at their current size. How would I do this?

Edited:

Wayne Luke 01-03-2008 03:32 PM

Edit the CSS that is included in the first post. It controls the look of the date numbers in the calendar view. If you didn't add the CSS yet, add it to the second (lower) Additional CSS Definitions box under MainCSS. I didn't want to put it inline and people often customize their CSS.

I have them set at 115% with today set at 130% of the normal size. You can increase those values, make them bold, change the font all by editing the two CSS classes.

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;}


IvyKeepMommy 01-03-2008 06:36 PM

I've installed this and now Farcaster's RSVP system is no longer accepting RSVP's (It shows who has already RSVP'd but won't let anyone new RSVP or change their existing responses).

Any thoughts on why this happened or how I can fix it? I've tried reinstalling the RSVP system and that hasn't worked.

IvyKeepMommy 01-04-2008 01:48 PM

Well, I'm not quite sure why, but the only way I could get the RSVP system to work again was to revert all the calendar templates and reinstall the RSVPS all over again.

Wayne Luke 01-04-2008 06:15 PM

I don't use Farcaster's system anymore but if he is rewriting the monthly view template than there might be a conflict. I don't really see how though as this has absolutely no PHP code behind it and is just template edits to the month view.

IvyKeepMommy 01-04-2008 06:54 PM

If I try and reinstall again, is there a quick way to undo the template edits? I really like the design :)

IvyKeepMommy 01-04-2008 06:59 PM

well because I appear to be a glutton for punishment, I applied the style again and it removed the visibility of the RSVPs again (I can see the existing responses but it has removed the option for new responses). So it is definitely a style conflict.

IvyKeepMommy 01-04-2008 07:02 PM

It looks like the problem might be in the calendar_showeventsbit template. When I apply the style it removes the $rsvp_form line and changes it

Wayne Luke 01-04-2008 09:54 PM

I'll see if I can come up with a template conditional for compatibility this weekend.

DrKNickel 01-21-2008 08:01 AM

Any news on this one? I am using farcasters mod too :)

Greets

Wayne Luke 01-21-2008 04:50 PM

There was a template edit included that should not have been on the calendar_showeventsbit template. This has been removed from the XML file and removes the conflict with Farcaster's modification.

bfburger 02-08-2008 03:12 PM

Has anyone loaded this successfully on 3.6.8? I want to try this mod but I'm not willing to upgrade to beta just yet.

Boofo 02-08-2008 09:41 PM

Looks great, Wayne, thank you.

But there is a small problem. The additional CSS stuff I had in there for other things was wiped out and replaced by yours. Shouldn't or just add it to the end and not erase the other stuff? And I have a new replacement for photoplog called Gallery now. Was that intentional? I don't have a photoplog or gallery. I am using the default skin, by the way.

Wayne Luke 02-08-2008 11:50 PM

The style I am exporting from doesn't have either of those changes in it. It must be pulling it from the parent style. However I know I told it to take changes from that style only. I will look into this and see if I can make corrections.

Boofo 02-09-2008 12:28 AM

It's not too big a deal but I thought you should know about it, sir. The only thing I was concerned about was that is erased my additional CSS stuff and replaced it with yours, instead of adding it to the end. Luckily, I found the stuff in a few text files and reconstructed it. The Gallery and photoplog thing got me confused for a second. I was wondering who had been in my Admin CP and then I looked in your xml file and all was well again.

But it is 1,0000 percent better than the default one. Nice work, Wayne. ;)

Oh, and I re-hit the re-install button.

Caerydd 02-10-2008 09:35 PM

Quote:

Originally Posted by bfburger (Post 1438942)
Has anyone loaded this successfully on 3.6.8? I want to try this mod but I'm not willing to upgrade to beta just yet.

seconded. I may test it myself after work tomorrow though, will let folks know how it goes.:rolleyes:

Wayne Luke 02-11-2008 03:01 PM

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

Caerydd 02-12-2008 07:11 AM

That's awesome, thanks Wayne :D

Boofo 02-12-2008 08:15 AM

Wayne, did you ever find out the Gallery replacement problem or why it is deleting the additonal CSS stuff? Just checking, sir. ;)

Caerydd 02-12-2008 09:25 AM

I had the gallery replacement crop up too, btw, although it was simple enough to just delete the replacement.

Boofo 02-12-2008 09:43 AM

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.

bfburger 02-13-2008 05:57 AM

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!

Bilderback 02-20-2008 02:54 AM

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.

Boofo 02-20-2008 03:01 AM

Quote:

Originally Posted by Bilderback (Post 1447051)
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. ;)

Wayne Luke 02-21-2008 04:55 PM

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.

Brew 03-01-2008 10:44 PM

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?


All times are GMT. The time now is 06:16 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.01343 seconds
  • Memory Usage 1,821KB
  • 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
  • (3)bbcode_code_printable
  • (6)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
  • (40)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