vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Mini Calendar (https://vborg.vbsupport.ru/showthread.php?t=68117)

DRJ 01-26-2005 08:57 AM

Seems to be a small bug. I have my time set as PST gmt-8 and it is 2am on the 26th but the calendar shows the current date is the 25th.

If I change my time to gmt it is then 10am and shows the right date of the 26th. When I set it back to PST it goes back to the wrong date.

Any ideas?

Colin F 01-26-2005 10:27 AM

I know about the timezone bug. I'll try to fix it when I get some time, but don't expect anything soon...

DRJ 01-27-2005 01:33 AM

Sounds good

Great job so far. :)

bashbang 06-28-2005 06:58 PM

This doesn't appear to have been addressed yet. Sorry if this is a repeat.

I was having issues with the mini cal taking a long time to load as well as getting a lot of items href'd that resulted in a link to an event that didn't exist for that day.

It turns out that even though I hard coded the calendar id at the top of cal.php it was searching through events for all calendars. I just added an extra filter onto he SELECT to fix the problem:

Was
PHP Code:

$events=$DB_site->query("SELECT dateline_from,title,eventid,utc FROM " TABLE_PREFIX "event WHERE (dateline_from BETWEEN $from AND $to) AND visible=1 ORDER BY dateline_from ASC"); 

To:
PHP Code:

$events=$DB_site->query("SELECT dateline_from,title,eventid,utc FROM " TABLE_PREFIX "event WHERE (dateline_from BETWEEN $from AND $to) AND visible=1 AND calendarid=$calendarid ORDER BY dateline_from ASC"); 


Mighty Mojo 06-29-2005 08:11 AM

For sites that use the calendar extensivley, I've suggested a format for the mini-calendar that would allow for easier use:

Ideally, this would plug into Vbadvanced cmps 2

This is what I had in mind for the Mini-calendar ala Vbadvanced--see attached.

The user sees easily navigatable calendar. They can navigate through the months and can see a list of events for each month (or the results can be truncated to a specified number of events, with a more option at the bottom if there are to many events that month). When they refresh the page or return to the page they are given the month that we are currently in again.

The user can cycle through the months seeing all of the events for that corresponding month. They could do this by using the arrows or the ultra-mini calendars.

The ultra-mini calendars on the side would be optional---seeing as they would probably break up the formating of most every other module. (of course this leaves less space for event names, the register option etc. but I bet you could fit all that in there with a small text)

They can register for an event simply by checking the box next to the event---then the admin and/or other users can see who is registered for the event.

A notification can be sent either via PM or email to the user when the event comes within a specified range of time before the event. User or admin controlled.

The user is then prompted upon their next login to let the admin know if they actually attended the event and a poll is created to determine if the event went well---the poll is pulled as a result of all feedback from members that attended the event (poll optional per event and/or globally for all events set by admin)

(Points can be given depending on how often they attend events)

GSX-Racing 07-11-2005 04:30 AM

Can this work on a non vb forum page? For example an index page that doesn't use vB.

wildondallas 07-11-2005 06:48 PM

mighty mojo, did you create the hack for what you have an image attached for?

MajorFm.com 07-17-2005 03:22 AM

Quote:

Originally Posted by GSX-Racing
Can this work on a non vb forum page? For example an index page that doesn't use vB.

ditto

ngto 09-08-2005 04:10 PM

I have searched all morning, and cannot seem to find anyone with a mod/hack to get a mini-calendar or events listing to show independently of vB (so it can be included in an iframe or sucked via http). Does anyone know if this mod does this? I tried and cannot get it to work outside VB

Bonee70 09-26-2005 02:57 PM

Quote:

Originally Posted by ngto
I have searched all morning, and cannot seem to find anyone with a mod/hack to get a mini-calendar or events listing to show independently of vB (so it can be included in an iframe or sucked via http). Does anyone know if this mod does this? I tried and cannot get it to work outside VB

Any info so far?


All times are GMT. The time now is 09:23 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.01098 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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