PDA


View Full Version : [Module] Upcoming Events


Pages : 1 [2]

WAR
12-05-2005, 12:28 PM
Does the newest version not allow you to select/limit which calendar the events are pulled from?

If not, would it be possible to get this feature added back in?

WAR
12-05-2005, 04:08 PM
I managed to get it setup so that it will only display events associated with a given list of calendarid's.

I did find what appears to be a bug though.

When using "Group by Event" the events do not show up properly.
(they do not show up even using a new install from latest version)

here is the output from the module in debug mode:

Array ( [portal_ue_showevents] => 14 [portal_ue_showholidays] => 1 [portal_ue_showeventtype] => event [upcomingevents_calendarid] => 1,2,3 )
rebuilding event cache
Storing: Calendar 1 Event
Storing: Calendar 2 Event
Storing: Calendar 3 Event
Storing: Calendar 4 Event
Processing Event:
-2-19-2005
Permissions OK
Processing Event:
Array ( [eventid] => 3 [userid] => 1 [title] => Fragbox Arrives [recurring] => 0 [recuroption] => [dateline_from] => 1133951400 [dateline_to] => 1133969400 [calendarid] => 1 [singleday] => 0 [dateline_from_user] => 1133929800 [dateline_to_user] => 1133947800 [utc] => -6 )
Permissions OK
Other Event
Processing Event:
Array ( [eventid] => 4 [userid] => 1 [title] => Alumni [recurring] => 0 [recuroption] => [dateline_from] => 1133953200 [dateline_to] => 1133956800 [calendarid] => 3 [singleday] => 0 [dateline_from_user] => 1133931600 [dateline_to_user] => 1133935200 [utc] => -6 )
Permissions OK
Other Event
Processing Event:
Array ( [eventid] => 5 [userid] => 1 [title] => Student Calendar [recurring] => 0 [recuroption] => [dateline_from] => 1133958600 [dateline_to] => 1133971200 [calendarid] => 2 [singleday] => 0 [dateline_from_user] => 1133937000 [dateline_to_user] => 1133949600 [utc] => -6 )
Permissions OK
Other Event
Processing Event:
Array ( [eventid] => 6 [userid] => 1 [title] => Staff and Faculty [recurring] => 0 [recuroption] => [dateline_from] => 1133974800 [dateline_to] => 1133980200 [calendarid] => 4 [singleday] => 0 [dateline_from_user] => 1133953200 [dateline_to_user] => 1133958600 [utc] => -6 )
Finished Processing Displaying events:
Array ( [3] => Array ( [0] => 1133981858 ) [4] => Array ( [0] => 1133981858 ) [5] => Array ( [0] => 1133981858 ) )
$calllink =
$eventdates =
$eventdate =
$daysevents=
:
$calllink =
$eventdates =
$eventdate =
$daysevents=
:
$calllink =
$eventdates =
$eventdate =
$daysevents=
:




If it helps, here is the same page with "Group By Date" selected:

Array ( [portal_ue_showevents] => 14 [portal_ue_showholidays] => 1 [portal_ue_showeventtype] => date [upcomingevents_calendarid] => 1,2,3 )
rebuilding event cache
Storing: Calendar 1 Event
Storing: Calendar 2 Event
Storing: Calendar 3 Event
Storing: Calendar 4 Event
Processing Event:
-2-19-2005
Permissions OK
Processing Event:
Array ( [eventid] => 3 [userid] => 1 [title] => Fragbox Arrives [recurring] => 0 [recuroption] => [dateline_from] => 1133951400 [dateline_to] => 1133969400 [calendarid] => 1 [singleday] => 0 [dateline_from_user] => 1133929800 [dateline_to_user] => 1133947800 [utc] => -6 )
Permissions OK
Other Event
Processing Event:
Array ( [eventid] => 4 [userid] => 1 [title] => Alumni [recurring] => 0 [recuroption] => [dateline_from] => 1133953200 [dateline_to] => 1133956800 [calendarid] => 3 [singleday] => 0 [dateline_from_user] => 1133931600 [dateline_to_user] => 1133935200 [utc] => -6 )
Permissions OK
Other Event
Processing Event:
Array ( [eventid] => 5 [userid] => 1 [title] => Student Calendar [recurring] => 0 [recuroption] => [dateline_from] => 1133958600 [dateline_to] => 1133971200 [calendarid] => 2 [singleday] => 0 [dateline_from_user] => 1133937000 [dateline_to_user] => 1133949600 [utc] => -6 )
Permissions OK
Other Event
Processing Event:
Array ( [eventid] => 6 [userid] => 1 [title] => Staff and Faculty [recurring] => 0 [recuroption] => [dateline_from] => 1133974800 [dateline_to] => 1133980200 [calendarid] => 4 [singleday] => 0 [dateline_from_user] => 1133953200 [dateline_to_user] => 1133958600 [utc] => -6 )
Finished Processing Displaying events:
Array ( [1133982937] => Array ( [0] => 3 [1] => 4 [2] => 5 ) )
$calllink =
$eventdates =
$eventdate = 7th December 2005
$daysevents= Calendar 1 Event, Calendar 2 Event, Calendar 3 Event
7th December 2005: Calendar 1 Event, Calendar 2 Event, Calendar 3 Event

stokerockscene
12-06-2005, 11:46 AM
This module has been installed and activated to display on the right hand column, but it wont show up?

any idea's?

KJ1
12-08-2005, 08:46 PM
i'm getting a page not found error when guests come to the vbadvanced home page and the upcoming events module is activated, even though permissions are set to visible for guests. i dont know why this is and its stopping new members joining.

For the time being i've set it to invisible to guests and the page loads fine, but of course upcoming events are there for not displayed on the cmps home page.

Help on this would be appreciated. Cheers

KJ1
12-08-2005, 09:22 PM
ok i fixed that problem above. i had set the permissions to no for viewing other peoples events. i set that to yes now and its working fine.

Cheers.

digitalSite
01-15-2006, 12:18 AM
HI, I'm lost. Maybe someone can help me. This is the first time I've seen this module...this is what I did:

I downloaded upcomingevents.zip and unzipped it. I went to my admincp and found CMPS, and then uploaded the module there. I have checked and the module is active and all the permissions say YES to see this module. Next, I added a holiday to my calendar in admincp. I also edited my CMPS index page and changed the array that was posted on the first post of this thread.

I don't see the module on my home page, and I don't see it on my FORUMHOME. Can someone help me find out how to fix this please?

Thanks :)

liane
01-15-2006, 03:45 AM
Go to Edit Pages and check the checkbox under which column you installed it in.

I'm getting an Internal Server error; it was working and now it's stopped. :(

liane
01-15-2006, 03:49 AM
The error log says premature end of script headers in the cpms index file.

Lance Carbuncle
01-19-2006, 04:15 PM
I have this great mod running..... question on running two versions....

What i am trying to accomplish is running this module on the main cmps page showing upcoming 30 days events.

I would also like to run it on another cmps page as the only module and display the whole years eventis in a nice list format rather than imbedded in the calendar.

I couldn't find a vb hack to do this, so came up with this idea.

here is the new page running the same module but without the right and left column so it displays as the whole page.

http://www.forums.repashy.com/cmps_index.php?page=events

this is running of the same module on the main cmps page here

http://www.forums.repashy.com/cmps_index.php

But I want this new page to show different date parameters, so I in effect need to run two versions of the same module.

I tried to simply copy and rename the original module, but it kills my main cmps with this error:

Fatal error: Cannot redeclare output_debug() (previously declared in /home/repashy/www/forums/modules/upcomingevents.php:17) in /home/repashy/www/forums/modules/upcomingevents.php on line 17

Is it possible to run two instances of the same module in vbadvance so i can set different parameters for this requirement?

How to? Seems it should be simple, but I guess I am more simple LOL

Lance

Ok, I was able to make this work by running the two different modules on here.... I was able to get them to both run by just renaming the php file on the second module install... Works great, but i would still like to know how to run two instances of the same module like I described.....

Lance

Torqued
01-20-2006, 12:52 PM
nevermind.. go the other mod to work.

SelRahc
01-24-2006, 10:06 PM
Is there any way to make the "All Day Events" actually show up all day on the event list? For some reason if I set an event as an all day event, it doesnt show up on the Upcoming Events list if its the say day as you are viewing it. This also goes for the forum tho so I dont think it is this code messing up. Is there a setting in VB im missing?

Barteke
02-07-2006, 06:08 PM
at first I installed the mod but after some time it just dissappeared:s
i don't get it :D Didn't change anything :S
Doesn't seems to be a solution for it
(i installed the latest version)...

Grtz

DMH
02-25-2006, 10:29 AM
I seem to be running into a problem where if I have the module activated, and I have an event to display, my index wont load at all. Any ideas on what this might be?

I'm having the same problem, has there been a solution for it yet? I'd really like to get this thing working.

DMH
02-25-2006, 12:25 PM
Never mind;)

ricotero
03-01-2006, 02:39 PM
show in forumhome ?? YES
enable upcoming events?? YES

show in cmps_index.php ?? NO :(

any ideas ??? i try everythig but dont show.

Andy R
03-01-2006, 10:04 PM
I have read through all the posts and have tried the following:
1. Delete module and make sure I upload the module from the first post of this thread (3/1/2006).
2. Tried to switch $debug = 1 and $secure = 0 in the upcomingevents.php file. Both caused the page to not load (as often stated in the thread).
3. changed require_once according to post #17 and also tried to hard code the server path (both resulted in the page cannot be displayed).

I get so jealous looking at this module on those of you who's sites have it installed. My thanks to James for putting this out there for us. So now that I have gone through the above, what can I try to get this working?

Any ideas or help are greatly appreciated in advance!

Duckfather
04-02-2006, 08:21 PM
I've had the same problem with the Upcoming Events module not appearing in my index page. I found that I had changed the cmps_index.php page to index.php and not updated all of the settings. Changing the relevant entry in the CMP Admin page got it working. However, when I change the default entry for 'Number of days to display upcoming events' from 14 to anything else, it disappears.

Correction, I just set it to 365 and it appears. However, if I change it to 30 days for example, it disappears. I have 2 events on the 16th and 23rd of April.

Anyone seen this / got any ideas?

Andy

robert_2004
04-03-2006, 09:38 AM
my whole CMPS went crazy after i activated this module. it kept sending back zero size replies, and any page with the CMPS hacked into the vB pages, wouldn't work.
i have isnce uninstalled it, and i might try again...
we need help with this!

rivacityj
05-14-2006, 04:24 PM
Ok I've finally discovered why my index page was too wide. This module seems to strecth things a bit giving me a horizontal scroll-bar in Internet Explorer. Has anyone else run into this problem and if so is there an easy fix?

FleaBag
05-16-2006, 10:41 PM
Ditto, getting the same issues myself. Had it working previously but tried to reinstall after a prune of the hacks. Not working now...

floydian1
05-21-2006, 12:43 PM
I have two calendars... one for "Auditions" and one for "Shows"

Is it possible to show the upcoming events by the calendar type?

In other words...

Upcoming Audition Events
05-21-2006: Footloose, Grand Hotel, Once Upon A Mattress

Upcoming Show Events
05-21-2006: Cats, 1776

floydian1
05-21-2006, 04:35 PM
Upcoming events module makes my cmps scroll right to left.

Any ideas on how I can either reduce the size of the page or the size needed for the mod?

I tried in cmps to reduce the size of the right column, but it doesn't help.

Thanks in advance.

Joe

Finn snor
05-22-2006, 07:02 PM
My story is the same as most of you worked when installed then suddenly stops to work.

Yes i got plenty of events on my forumhome and yes it has been activated on the pages.

I really need this thing to work please help me out.

thanks

floydian1
05-23-2006, 06:43 PM
Oooh... that was ugly.

It was working and then apparently I got too many activites in the calendar and it shut down the entire cmps!

Looks like this one will be uninstalled!
Too bad too... it held a lot of promise!

GuaRRand
05-23-2006, 06:58 PM
No go...
I got a few events planned, but it doesnt show up.
Birthdays and such go fine, just not the events...

floydian1
06-03-2006, 09:45 AM
This would be such a wonderful add on to my site... but it crashed the CMPS.

I would be most thankful if we could get a fixed version.

It truly is wonderful.

Joe

timk99
06-05-2006, 01:25 PM
I have two calendars... one for "Auditions" and one for "Shows"

Is it possible to show the upcoming events by the calendar type?

In other words...

Upcoming Audition Events
05-21-2006: Footloose, Grand Hotel, Once Upon A Mattress

Upcoming Show Events
05-21-2006: Cats, 1776

Did you find a way of doing this? I want to do the same thing.

MotoUp
06-06-2006, 12:50 PM
Hey James,

I have a strange problem. I ended up having to uninstall and reinstall vBAdvanced and am having to reset up all my modules. When I try and upload the upcoming events module, I get a database error saying I have a duplicate event. My guess is because it's already been installed before. Would you have any suggestions for me to resolve it so I can get this module installed?

Thanks

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_portal_ue_showevents_title', 'Number of days to display upcoming events?', 5000);

MySQL Error : Duplicate entry 'setting_portal_ue_showevents_title-0-5000' for key 2
Error Number : 1062
Date : Tuesday, June 6th 2006 @ 11:47:45 AM
Script : http://www.***.com/forums/admincp/vba_cmps_admin.php
Referrer : http://www.***.com/forums/admincp/vba_cmps_admin.php
IP Address : ***.***.***
Username : ***
Classname : vb_database

EDIT: I should add that when I go in to look the module is installed, as well as the template, but it doesn't show on the portal page.

MotoUp
06-06-2006, 07:30 PM
Okay, my first time ever messing around with the database, but I deleted all the entries that the module creates, and it installed this time. I do however get the 404 error now, and I just re-downloaded your file and used the newest version...Your help would be greatly appreciated.

Casey
06-08-2006, 01:32 AM
Installed, awesome. Thanks!!!

MotoUp
06-12-2006, 02:21 PM
Installed, awesome. Thanks!!!
Did you have to do anything special to get it to work? Did you ever run into the 404 error?

cr95gst
06-15-2006, 06:56 PM
Just installed it and added an event. It doesn't show up in the "Upcoming Events" area. WTF did I miss??? The event is 10 days away and I have my upcoming events to display 30 days in advance.

MotoUp
06-15-2006, 06:59 PM
Do you actually see the upcoming events module? Try setting the days to 14 and see what happens.

cr95gst
06-15-2006, 07:04 PM
Do you actually see the upcoming events module? Try setting the days to 14 and see what happens.
I am an idiot. I had the "Display Calendar Events" In forum homepage options set to 1 day, lol.

MotoUp
06-15-2006, 07:12 PM
Well at least you got it working, I still can't get it to work! LOL I'm still getting the 404 error. Did you have to do any modifications to get it to work?

MotoUp
06-22-2006, 05:57 PM
Is James around anymore?

Mateo
07-03-2006, 06:13 AM
Awsome mod got it working pretty easily. But 1 word of warning for people who might use multiple styles.

You need to make sure you add the custom templates manually to all the different styles you have available because this mod only installs itself to your defualt skin.

On my site I have 3 or 4 different skins which the users can choose from, but on initial install the module didn't appear on any but the Default Skin.

;-) Gratz to the creator. Very nice mod.

teezdesigns
08-08-2006, 12:15 PM
Is there anyway to decrease the font size for this? It looks fairly big on my site.... www.maneo.com thanks, this mod is great!!!

teezdesigns
08-08-2006, 09:56 PM
also for some wierd reason it just all of the sudden only started showing reoccurring events only!

teezdesigns
08-22-2006, 11:41 AM
also for some wierd reason it just all of the sudden only started showing reoccurring events only!


anyone??

teezdesigns
08-28-2006, 05:10 PM
>??

robert_2004
09-04-2006, 12:45 AM
Okay, all i can say is - this module is far too buggy for people to use.
I really recommend this one:
http://www.vbadvanced.com/forum/showthread.php?t=13386

it has been working fine for me since installing it.