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

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-07-2000 Last Update: Never Installs: 0
 
No support by the author.

Here is the Calendar (finally) v1.03

http://www.hedgehogwheels.com/hacks/calendar1.03.zip

[Features]
- Users can add Private events that only they can see
- Admin can set usergroups to allow those selected to post public events that everyone sees
- Behaves just like a message with smilies, bbcode, etc
- Months are options in Control Panel for easier language changes
- Can specify 0,1, or 2 images to display above each month

[demo]
http://www.hedgehogwheels.com/forums/calendar.php

I do need to update the birthday hack to support birthyear as it is on my forum. I am not sure if the calendar will work as is with the previous birthday hack. If not then just turn that option off in the control panel for now.

[Edited by freddie on 11-18-2000 at 07:48 PM]

Show Your Support

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

Comments
  #12  
Old 11-08-2000, 10:49 AM
Guest
 
Posts: n/a
Default

Works just fine with PM already installed on 1.1.4.

I hope we'll see this in 2.0
Reply With Quote
  #13  
Old 11-08-2000, 01:52 PM
Guest
 
Posts: n/a
Default

Yes Mike I noticed that there seem to be <p> and </p> around everything in the options section. I developed this on my 1.1.3 and then wrote instructions for it as I applied it to v1.1.4 which seems to have the <p>'s. I just didn't feel like inserting them everywhere so it is like that because I was lazy

I will try to update the instructions for v1.1.3 today.
Reply With Quote
  #14  
Old 11-08-2000, 01:54 PM
Guest
 
Posts: n/a
Default

Craig how about I make a switch so you can view the calendar as it is now OR you can view it as your calendar appears.
Reply With Quote
  #15  
Old 11-08-2000, 06:32 PM
Guest
 
Posts: n/a
Default

That sounds superb! I am thinking of including it on the home page of the site, so it would be really great if this were possible
Reply With Quote
  #16  
Old 11-08-2000, 07:22 PM
Guest
 
Posts: n/a
Default

i would just LOVE TO SAY WOW. this is a great hack.
i am in love with this idea.
if you don't want to hear a request from me, don't read anymore. but a great request would be email notification. a day or so before the event happens.

BUT THIS IS GREAT ANYWAYS....
Reply With Quote
  #17  
Old 11-08-2000, 09:19 PM
Guest
 
Posts: n/a
Default

Everyone wants the calendar to send email notifications.

Great idea but how does one implement such a feature on a system that is not in running state to send out emails based on a timer ala a cron job.

One could place checks in global.php that check the current day and if there are events tomorrow then send out emails. After sending the emails than the check could be reset. I see no way to not have this check being run everytime someone loads a page on the board as global.php is always loaded. We could specify that the checks only be ran between the hours of 3am and 5 am for example (or 3pm to 5 pm) but what if no one logs onto your board in that time window? The checks would not be ran and the emails would not be sent out so the need for a system that is forced to always check the time. It is too kludgey for me so if anyone has suggestions on how to do this than shoot them out. How do we decide to send emails out regarding public events? Is everyone who has "allow forum admins send you email" going to recieve a notice about tomorrows events or do we add a check that asks them to "subscribe to calendar events" or even yet do we asked them to subscribe to individual events as they want.
Reply With Quote
  #18  
Old 11-09-2000, 12:20 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by freddie
Everyone wants the calendar to send email notifications.

Great idea but how does one implement such a feature on a system that is not in running state to send out emails based on a timer ala a cron job.
The only reasonable way (efficient, scalable, and cpu friendly) is via cron job. It would eat up tons of cpu cycles if the email functions were called with every hit to one's forum.

To do the cron job is relatively easy I think, but one would have to use Perl and query the database, say, once every hour?

Do you know Perl Freddie? I can help out in this area, but would need to know more specific details since I've not yet looked at the hack's database structure much.


Quote:

How do we decide to send emails out regarding public events? Is everyone who has "allow forum admins send you email" going to recieve a notice about tomorrows events or do we add a check that asks them to "subscribe to calendar events" or even yet do we asked them to subscribe to individual events as they want.
I think by default sending emails out regarding public events should be OFF. Why? Because those usually are not important personal events for users, and some might hate it. Besides, imagine if you have 30,000 users. That would be pretty painful for your mail system.

Just have an option where users can choose to "subscribe" to public events. Start with the least and let users "opt in" for more. Same should go with private events. A check mark for "notify via email" should be there for them.
Reply With Quote
  #19  
Old 11-09-2000, 12:27 AM
Guest
 
Posts: n/a
Default

Sorry but I am not going to get into creating something that requires external sources. You are welcome to do that but I won't...Also one can run PHP scripts like PERL from the command line so it is not an issue of knowing PERL.
Reply With Quote
  #20  
Old 11-09-2000, 05:33 AM
Guest
 
Posts: n/a
Default

Okay, Installed it at SitePoint. Birthday's don't show up. I am pretty sure that it is because you added year to is. I don't really want the year so will look at the previous code and see if I can get it to work. Great Job though. Have already entered in a couple of legitimate events with a lot more to come.
Reply With Quote
  #21  
Old 11-09-2000, 07:13 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by freddie
Sorry but I am not going to get into creating something that requires external sources. You are welcome to do that but I won't...Also one can run PHP scripts like PERL from the command line so it is not an issue of knowing PERL.
Why is that? I'm just wondering....
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 01:15 AM.


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.04974 seconds
  • Memory Usage 2,279KB
  • 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
  • (3)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
  • (3)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_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
  • 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