![]() |
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 |
Quote:
PLEEEEEEASE :) |
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) |
can i use ssi to call the cal.php onto a shtml page?
|
If not i will be forced to use a iframe in which case can i edit the width of the tables?
|
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... |
Quote:
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! |
Ok, let me put it another way, how can i include it in a blank php file
Then i can include that... |
Great Mod!!
*Clicks Install |
Quote:
|
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? |
I know about the timezone bug. I'll try to fix it when I get some time, but don't expect anything soon...
|
Sounds good
Great job so far. :) |
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:
PHP Code:
|
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) |
Can this work on a non vb forum page? For example an index page that doesn't use vB.
|
mighty mojo, did you create the hack for what you have an image attached for?
|
Quote:
|
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
|
Quote:
|
Quote:
|
Quote:
|
Anyone may have a hack for non VB pages here?
|
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 |
No reply? :ermm:
|
Quote:
|
Not yet at home? :rolleyes:
|
yes,
Need a calender hack for version 3.5.2 :ermm: |
Am I just dense or something? I can't find the phpinclude_start template. I'm using vB 3.5.3 btw.
|
Quote:
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"); |
anyway to include this on non vb pages?
|
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 ? |
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! |
Quote:
i have the same problem. is there a hack version for 3.5.4 out? |
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! |
Quote:
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? |
anyone?
its like the last thing i have to do to complete my homepage |
has anyone had a similar problem?
|
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. |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|