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)

traderx 11-19-2004 06:44 AM

Thanks alot... I really like this, I would like to know if you have thought of (or know of one around) creating a scrolling event display that would be clickable that could the same size as the mini calendar. It would/can display the events of that given day and would change to the next days events

Some thing like this:
www.jaxen.com (it's a mambo addon component, but it doesn't change)

Thanks
Coll

traderx 12-02-2004 07:15 AM

Quote:

Originally Posted by traderx
Thanks alot... I really like this, I would like to know if you have thought of (or know of one around) creating a scrolling event display that would be clickable that could the same size as the mini calendar. It would/can display the events of that given day and would change to the next days events

Some thing like this:
www.jaxen.com (it's a mambo addon component, but it doesn't change)

Thanks
Coll

Any one?

PLEEEEEEASE :)

h2ojunkie 01-05-2005 01:46 PM

I found a couple bugs for you.

http://www.thumpertalk.com/home.php

Now that it's January, the < arrow to show the previous month is not working.
Is the link for that arrow: http://www.thumpertalk.com/forum/cal...o=displaymonth

Looks like it needs some kind of logic for if current month is 1, previous month needs to be 12 and year needs to be minus 1 from the current year.

Also, an event on January 8th isn't showing on the small calendar (probably something to do with the time zone thing you guys were talking about)

MajorFm.com 01-17-2005 06:30 PM

can i use ssi to call the cal.php onto a shtml page?

MajorFm.com 01-17-2005 06:30 PM

If not i will be forced to use a iframe in which case can i edit the width of the tables?

MajorFm.com 01-17-2005 06:46 PM

ok i have installed it, shouldn't i be able to see the calender at www.majorfm.com/forum/cal.php?

I get nothing on that...

yoyoyoyo 01-18-2005 01:17 PM

Quote:

Originally Posted by MajorFm.com
ok i have installed it, shouldn't i be able to see the calender at www.majorfm.com/forum/cal.php?

I get nothing on that...

you are asking the hack to do something that it wasn't designed to do. It works as described.

1) Upload the cal.php file to your forum home directory
2) create the new template small_calendar and add the text provided in the download
3) make the new addition to the phpinclude_start template
4) edit whichever template you want to have the mini calendar by adding $smallcalendar to the exact spot where you want the calendar to appear (If you want it to appear on every page add it to the phpinclude_start template)

Works like a champ!

MajorFm.com 01-18-2005 02:36 PM

Ok, let me put it another way, how can i include it in a blank php file

Then i can include that...

DRJ 01-26-2005 04:43 AM

Great Mod!!

*Clicks Install

DRJ 01-26-2005 04:45 AM

Quote:

Originally Posted by MajorFm.com
Ok, let me put it another way, how can i include it in a blank php file

Then i can include that...

Why do you want to put it in a blank php file? Just upload the attached cal.php to your forum home directory and include that file.

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?

Eddymvp 09-28-2005 08:55 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

I will make that hack for you once i get home.

Bonee70 09-28-2005 11:52 PM

Quote:

Originally Posted by Eddymvp
I will make that hack for you once i get home.

Thx a lot in advance!

Bonee70 10-11-2005 01:39 PM

Anyone may have a hack for non VB pages here?

andreamarucci 12-16-2005 04:35 PM

Is this mod compatible with 3.5.1 and 3.5.2?

Can I use it to display the minicalendar in a php page outside VB?

Thanks in advance

andreamarucci 12-22-2005 03:40 PM

No reply? :ermm:

andreamarucci 12-25-2005 07:48 PM

Quote:

Originally Posted by Eddymvp
I will make that hack for you once i get home.

This would be fantastic. When you'll be at home? :nervous:

andreamarucci 01-04-2006 01:25 PM

Not yet at home? :rolleyes:

Freakpyromaniac 01-12-2006 03:15 PM

yes,

Need a calender hack for version 3.5.2 :ermm:

LBmtb 01-24-2006 06:06 AM

Am I just dense or something? I can't find the phpinclude_start template. I'm using vB 3.5.3 btw.

snyx 01-27-2006 02:57 PM

Quote:

Originally Posted by LBmtb
Am I just dense or something? I can't find the phpinclude_start template. I'm using vB 3.5.3 btw.

the problem is in the cal.php file
line 113
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");
im trying to debug, but I know little about php :p

51HipHop 02-06-2006 05:02 AM

anyway to include this on non vb pages?

tommac 02-21-2006 02:58 AM

I am using minicalendar.php from the portal download ...

but if I try to click on a date it cant find the page ...

I realize that it does not recognize the module without the /forums/

so it is going to http://www.myfoo.com/calender.php?blahblahblah

rather than to http://www.myfoo.com/forums/calender.php?blahblahblah

is there an easy way to fix that ?

MamboCube 03-26-2006 11:02 AM

i also need this to work on a page outside of vb. It includes global, as i use the user information for my site aswell as the forum.

Would really appreciate it if someone can sort this out!

Thanks!

Zweeper 04-04-2006 04:27 PM

Quote:

Originally Posted by LBmtb
Am I just dense or something? I can't find the phpinclude_start template. I'm using vB 3.5.3 btw.


i have the same problem.
is there a hack version for 3.5.4 out?

Freakpyromaniac 04-10-2006 11:54 AM

Is there a scripter which can maker this mod suitable for Not-VBulletin pages?
Tried to include several sections of other pages, but nothing worked..

More people like to have this feature.. help us out!

MamboCube 05-01-2006 08:55 PM

Quote:

Originally Posted by snyx
the problem is in the cal.php file
line 113
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");
im trying to debug, but I know little about php :p

yeh, i have a problem with this, all i get is

Fatal error: Call to a member function on a non-object in /home/****/public_html/forum/cal.php on line 113


anyone know how to fix this?

MamboCube 05-07-2006 02:26 PM

anyone?

its like the last thing i have to do to complete my homepage

MamboCube 05-14-2006 10:27 AM

has anyone had a similar problem?

[email protected] vbmenu_register("postmenu_1019646", true); 07-01-2006 02:16 AM

I'm getting that same error on line 113 I believe that reads
$events=$DB_site->query("SELECT dateline_from,dateline_to,title,eventid,utc FROM " . TABLE_PREFIX . "event WHERE (dateline_from BETWEEN $from AND $to) AND visible=1 ORDER BY dateline_from ASC");

I too would sure like to figure out how to get a mini-calendar onto any VBulletin page that I want.

not having any luck searching for one as of yet.. still looking.

travisjerome 05-09-2007 04:17 PM

Colin,

So to clarify I go to the index.php and add include ("cal.php");

To where do I put this in the code? I added it and my homepage went blank.

I am a little confused on do I add it to the global.php file also?


All times are GMT. The time now is 12:44 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.01418 seconds
  • Memory Usage 1,829KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (11)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