vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Re-occurring Calendar Events (https://vborg.vbsupport.ru/showthread.php?t=34240)

Lionel 01-25-2002 03:37 AM

Quote:

Originally posted by Mutt

Now re-occuring events will show un on the getday page

No it does not. Like today 1/25 I have an event on homepage. I selected every year after applying the fix, it stopped showing. Do you have 0000 defines as every year somewhere?

I did like Kevin suggested and yours too (the two posts above this one). I am a little confuse with the 1900 from Kevin and 0000 in yours.

Anyway, I can't get an every year event to show. Any suggestions because this a great time saver hack?

KevinG 01-25-2002 03:51 PM

Sorry Lionel,

I think I confused some here with what I posted. I actually made my own hack to get events and birthdays to display on a non-vb page (homepage). It is a hack of a hack. The original hack was for the displaying of news (pluhnews I believe. Can't remember but thank you to the hacker for this) on a non-vb page.

Using that hack, I made my own for displaying four more things on my homepage;
  • Today's Birthdays
  • Upcoming Birthdays
  • Today's Events
  • Upcoming Events

In my version of the hack, I use 1900 as the year for storing recurring events. I had problems saving years that were 0000. That is the only difference with mine. Any year should work as long as you are consistant in all areas that are looking for recurring events.

If you can post what you have for displaying your events on a non-vb page, I can try to help you sort out the problem.

Kevin

Lionel 01-25-2002 03:59 PM

I am actually using the todaysevents.php hack to display on a vb page, under birthdaybits. I then installed re-occuring events. Problem is when I select that option, it is no longer displaying todays events on forumhome as, I assume, it gets confused with the year. It shows in calendar but not in index page.

KevinG 01-25-2002 04:32 PM

Lionel,

Can you upload that file here?
I can look it over to see what the problem is.

Thanks,
Kevin

Lionel 01-25-2002 04:37 PM

Thanks! PM me your email. They don't like for us to display vb codes on forums. I'll send you a zip.

Mutt 01-28-2002 12:45 AM

this DOES work!
everything in the calendar script has been attended to so that re-occuring events will show up every year.

Lionel
you are talking about a seperate hack which displays calendar events on the main forum page. that will have to be modified just like the caledar script was modifed. I don't have that hack installed so I don't know exactly what will be change. I can tell you that it will be very similar to these changes that I've posted. if you would post the code that gets the events for your main forum page, I could tell you how to modify it.

Mutt 01-28-2002 12:57 AM

New Year's Day: January 1
Groundhog Day: February 2
Mardi Gras: Tuesday, February 12
Ash Wednesday: Wednesday, February 13
Valentine's Day: February 14
President's Day: Monday, February 18
St. Patrick's Day: March 17
Passover (Begins at Sundown*): March 27
Easter: Sunday, March 31
April Fool's Day: April 1
Earth Day: April 22
Cinco de Mayo: May 5
National Teacher's Day: May 7
Mother's Day: Sunday, May 12
Memorial Day: Monday, May 27
Flag Day: June 14
Father's Day: Sunday, June 16
Gay Pride Day: Sunday, June 30
US Independence Day: July 4
Labor Day: Monday, September 2
Rosh Hashanah (Begins at Sundown*): September 6
Grandparents Day: September 8
Yom Kippur (Begins at Sundown*): September 15
Columbus Day: October 14
Boss' Day: October 16
Halloween: October 31
US Election Day: Tuesday, November 5
Veterans Day: November 11
Thanksgiving Day (US): Thursday, November 28
Chanukah (Begins at Sundown*): November 29
Christmas Day: December 25
Kwanzaa: December 26


doesn't seem like much and several are different every year because of the day of te week. Got em here
http://www.holidays.net/dates.htm

SirSteve 02-21-2002 03:48 AM

I need something like this but instead of every year, how about x amount of days? Like a convention is May 1-7. Currently you would have to enter each day....

Tungsten 04-25-2002 04:40 PM

Hmmmm. How would one tweak the code for this hack so that recurring events could be set for specific days of the week with a starting and ending date?

Example: every Tuesday from April 2nd, 2002 through March 30, 2003 I want the same event to be listed on the calendar.

Thoughts?

Mutt 04-25-2002 09:23 PM

:)
funny, I wanted both of these options. My calendar is so hacked at this point, I stopped playing with it before it got too different from the original

not sure how to handle either, but I'll put some thought into it again.

re-occuring day of week with date range
ex 1 - every monday may to aug
ex 2 - second thurs of the month, every month

one event span multiple days


All times are GMT. The time now is 09:43 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.01120 seconds
  • Memory Usage 1,739KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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