PDA


View Full Version : [Module] Combo: Calendar + Birthdays + Upcoming Events


Pages : 1 2 3 4 [5] 6 7 8

Tom M
06-20-2006, 12:07 PM
I found out that the events are displayed in the same order they are listed on the calendar. I was told that the calendar does not sort the events in any way. :(I'm not sure who told you this but it's certainly not true of the version of the calendar I use as far as listing upcoming events is concerned.

Thanks for the heads up on the extra &

If you'd like help with this feel free to PM me with login info and I'll look around to see if I can spot anything that's not right.

gogo
06-22-2006, 03:40 PM
As far as I know they're not sorted specifically.

This was the answer of Colin F (vbulletin.com team) to my question on how events are sorted.

And on my calendar I cannot see a sort pattern. If I choose group by event, the sort order on the portal is different than on the calendar. But it does not seem to be listed according to start date. On one day the earlier event is listed first, but on another day the sort order is vice versa.

Moreover I would not use group by event anyway, because the upcoming events box becomes too long and hard to read.

Group by date does not seem to have a sort order either. But it looks like it is the same order as on the calendar.

Tom M
06-22-2006, 04:09 PM
Well, Group by Date is certainly sorted by the date :)

Originally, vb sorted Group by Event on the eventid - which made no sense at all as then the sort depended on when the events were entered. This behavior was reported as a bug and declared as "fixed" a while back so the current version of vb should sort more appropriately. In the case of the module I added a sort routine so that when using Group by Event the events are displayed by date so this might explain the difference in vb and the module.

If you provide a link I'll be happy to look at things firsthand.

txspaderz
07-08-2006, 11:51 AM
Hey Tom,
First I just wanted to say Thanks for the great Add-on... I'm having a few problems with it though. It displays properly, but it add's a "Todays Event's" To my header, and scrunches up my header logo.

The site is http://www.setxapa.com/forum/home.php ...

If you could take a look, I would appreciate it greatly!!!

Tom M
07-08-2006, 01:23 PM
It looks like the module is working fine. Looking at the generated html it appears that you have some additional code in the header that seems to be the source of your problem. Do things work properly when using the default vb skin?

sab2000sab
07-08-2006, 04:31 PM
Thanks so much for this wonderful module! I love it!

Quick question.. What do I need to do to enable this on my other skins.. Can I just install it over again for each skin.. then set it up in the ACP for all skins?

Thanks for your time in this and your awesome module!

Tom M
07-08-2006, 05:09 PM
What do I need to do to enable this on my other skins.. Can I just install it over again for each skin.. then set it up in the ACP for all skins?The only way to enable it for other skins that don't have the default skin as a parent is to copy the module-specific templates to each of the skins you will be using.

sab2000sab
07-08-2006, 05:27 PM
Thanks so much! That did the trick..

One more question.. (sorry.. lol)

I would like to have the upcoming events above today's birthdays.. I would need to edit what?.. The php file itself?

Thanks again for your time!

Tom M
07-08-2006, 05:33 PM
I would like to have the upcoming events above today's birthdays.. I would need to edit what?.. The php file itself?Yes, you'll need to move the part that does the birthday stuff after the part that does the upcoming events. It's pretty self contained so it should be straightforward if you have some php skills.

sab2000sab
07-08-2006, 05:55 PM
Thanks so much, Tom!! Be blessed!

Edit - I figured out a way of doing what I want! I just commented out everything in the adv_portal_birthdays template!.. Works great!

Thanks again for all your hard work!

Tyegurl
07-09-2006, 02:26 AM
nice job i love this!!!

installed on my 3.6.0 beta 3! thanks!

doesn't fully work on 3.6.0 beta 4.....

bezzell
07-11-2006, 10:18 PM
Great module! I installed it a few days ago and it worked perfectly right out of the box.

Only problem - today someone added a ranged event to the calendar and it's not showing in the module. Any ideas?

www.di-bbs.com

Thanks.

[Edit] Just realized a visitor doesn't see the Upcoming Events. Tom, I sent you a PM...

tbradham
07-12-2006, 03:49 PM
Can I have multiple versions of this module that use different calendars?

I run a site for different clubs, and they each have their own page with their own calendar. I would like to add this block so that they only see the events from their specific calendar on their page.

www.usjeeps.com is the main page
www.usjeeps.com/mcj.php is an example of a club page.

TIA.

Tom M
07-12-2006, 03:54 PM
Can I have multiple versions of this module that use different calendars?Not easily. It would take a bit of coding and to be honest I'm not really sure how difficult the task would be. On the plus side, if it is possible to have multiple calendars displayed then you can do it in a module - just not this one.

You might want to check over at vb.org to check on how one would display multiple calendars other than how vb does it by default.

bezzell
07-13-2006, 09:51 PM
Great module! I installed it a few days ago and it worked perfectly right out of the box.

Only problem - today someone added a ranged event to the calendar and it's not showing in the module. Any ideas?

www.di-bbs.com

Thanks.

[Edit] Just realized a visitor doesn't see the Upcoming Events. Tom, I sent you a PM...

Thanks, Tom.

Changing the settings in Forum Home Page Options to match the settings in your Module was the fix. :cool:

gyankow
07-15-2006, 08:17 PM
I would like to leverage the forum id number in the module link, is there any way to do that?

Tom M
07-15-2006, 08:45 PM
I would like to leverage the forum id number in the module link, is there any way to do that?I'm not quite sure what you're asking here.

Racenut
07-16-2006, 11:03 PM
I had this installed once before but have since deleted the theme i used it with. I try to upload the module but i get a "the module you are trying to upload is not a valid module file"

any ideas?

Tom M
07-16-2006, 11:09 PM
I had this installed once before but have since deleted the theme i used it with. I try to upload the module but i get a "the module you are trying to upload is not a valid module file"

any ideas?None except the standard things like making sure your modules directory is writable.

Are you getting any other error? How are you trying to install the module?

BTW - I can assure you that the module is indeed valid so we can rule that out ;)

Racenut
07-17-2006, 01:14 AM
It was the permissions. Thanks :)

hex4
07-25-2006, 06:07 AM
Installed and working good but i still have small problems

1) if i have 2 events on same date, date is written twice
2) the color format is for the dates and >> as you can see from the attachment

any help where i can edit these?

thx in advance

Tom M
07-25-2006, 12:11 PM
1) if i have 2 events on same date, date is written twice
2) the color format is for the dates and >> as you can see from the attachment


The first can be controlled by setting the module to display events as "Group by Event" instead of "Group by Date".

The 2nd is related to using alt1/alt2 styling. Does it behave he same way when using the default vb style?

hex4
07-25-2006, 12:33 PM
The 2nd is related to using alt1/alt2 styling. Does it behave he same way when using the default vb style?

1) solved - thx
2) Can't see Upcoming Events using default style :confused:

Tom M
07-25-2006, 12:55 PM
1) solved - thx
2) Can't see Upcoming Events using default style :confused:If you are using a custom style and you didn't load the module to that style then you will need to copy the templates related to the module to the new style manually.

It's easier to work on problems when a link is supplied :rolleyes:

si_reading
08-06-2006, 11:30 AM
Installed, nice little module ;)

blind-eddie
08-07-2006, 12:35 PM
I'm new at this and don't know where to go and I'm probably posting in wrong area,I'm Sorry if I am in advance.I am using bulletin 3.5.3.I recently upgraded my vbpager.It works fine on everywhere but vbadvance pages,and it worked before the upgrade,any help to get it working would be appreciated.
My other problem is I have outdated templates as you see here
http://img436.imageshack.us/img436/1582/vbadsq7.png
Any help in where to go to get updated templates would be greatly appreciated.My site http://outerzone.us

Tom M
08-07-2006, 01:07 PM
I'm probably posting in wrong area,I'm Sorry if I am in advance.Definitiely the wrong area as this is for support of a specific module. You'll have better luck posting this in one of the troubleshooting (http://www.vbadvanced.com/forum/forumdisplay.php?f=70) forums.

cheesegrits
08-07-2006, 01:53 PM
I'm new at this and don't know where to go and I'm probably posting in wrong area,I'm Sorry if I am in advance.I am using bulletin 3.5.3.I recently upgraded my vbpager.It works fine on everywhere but vbadvance pages,and it worked before the upgrade,any help to get it working would be appreciated.
My other problem is I have outdated templates as you see here
http://img436.imageshack.us/img436/1582/vbadsq7.png
Any help in where to go to get updated templates would be greatly appreciated.My site http://outerzone.us

As Tom said, this is definitely the wrong place, but I'll answer here anyway, and a vbA mod can sort it out. :)

For questions about a specific modification, you should go to wherever that mod is supported. For vbpager, that would most likely be here (http://www.vbulletin.org/forum/showthread.php?t=104609&highlight=vbpager) on vbulletin.org.

For questions about vBulletin itself, the best place to start is by searching on both vbulletin.com and vbulletin.org. However, to get you started on your templates issue ...

You don't need to get the updated templates, you already have them. What vB is telling you is that there are some templates it hasn't updated during the upgrade, because they have been customized on your site. But the new templates are installed ... they just haven't been "activated".

What you need to do is as follows. Note that I haven't run 3.5.3 for a long time, and can't remember if all the following applies to that version, so let me know if anything just doesn't seem to make sense! Also note that this is perhaps the most time consuming and fiddly aspects of upgrading vBulletin, and is the reason experienced admins take great care to only make essential template edits, to reduce the workload when upgrading!

For each template mentioned in that list, first "View History". This will give you a page that will show you at least two versions of the template - the new one from the upgrade, and the older one which has been edited. For some reason it usually has the radio buttons for the new and the old one the "wrong" way round. So adjust those radio buttons to suit, then hit the "Compare" button.

This will then show you a side by side comparison of the two templates, which will clearly show you the differences between the two - anything that has been added to the "old" template which isn't in the new one is usually hilited in pink.

KEEP THE COMPARE WINDOW OPEN, go back to the first window, and "Revert" the template. This will replace your old version with the latest and greatest from the upgrade.

Now find and edit the new version of the template, and re-apply any changes you need from the old template (the pink stuff), using the compare window you left open as a guide to copy from, and to show you where to put the stuff in the new template.

To edit the new version of the template, you'll probably have to go and find it using "Search in Templates" (in the Styles and Templates section of the admincp). Just type the template name in the Search box, and select the "Search Titles Only" option before hitting the Search button. That should find the new version of the template, just double click on the name to edit it.

If this all sounds complicated and confusing ... well, it kind of is. So don't hesitate to ask if you have any problems with it, I'll do my best to answer.

-- hugh

blind-eddie
08-07-2006, 02:26 PM
Thank You Tom for directing me in the right direction to trouble shoot a specific module,I will go there for any future inquires first.

And Thank You cheesegrits for putting all your effort remembering info from 3.5.3 and telling what it is I need to do to correct what I was calling a problem,Indeed I will seek you out if I do have any future problem and I Thank You for offering.I'm sure I will figure it all out,most of it is self explanatory,I was worried I would mess something up. Thanks Again,Tim

TCB
08-08-2006, 02:51 PM
I work with the latest vbadvanced and vbulletin (3.6) and installed this module. Unfortunately nothing happens.

Did anyone has this working on 3.6?

Tom M
08-08-2006, 03:28 PM
I work with the latest vbadvanced and vbulletin (3.6) and installed this module. Unfortunately nothing happens.

Did anyone has this working on 3.6?Since I don't have 3.6 up yet I can only suggest a few things to take a look at. Some are the obvious such as making sure the module is set to "Active" and also making sure it's set to display on the page.

The other thing to look at would be what changes, if any, were needed to get the standard minicalendar to work. If there weren't any changes needed then you should be good to go on that at least. The birthday stuff is a bit trickier as is the upcoming events. The latter code comes pretty much straight from the vb forumhome (index.php) file.

Hope this helps a bit.

TCB
08-09-2006, 07:42 PM
it's working on 3.6 without needing to change anything (as far as I can see right now). I forgot to enable it for the frontpage (d'oh!)

Does anyone know how to remove the birthdays part of this combo calendar?

Tom M
08-09-2006, 08:14 PM
it's working on 3.6 without needing to change anything (as far as I can see right now). I forgot to enable it for the frontpage (d'oh!)

Does anyone know how to remove the birthdays part of this combo calendar?You can try here (http://www.vbadvanced.com/forum/showpost.php?p=86879&postcount=187).

Tobad
08-15-2006, 02:22 AM
I'm running this add-on on my VB3.6 with VBA 2.2. I got everything working except for the holiday titles. I'm only showing the dates. From what I read in this thread, I went ahead and modifed the VBA index.php with $phrasegroups = array('holiday'); and the /includes/vba_cmps_include_template.php with the $phrasegroups = array_merge($phrasegroups,
array(
'calendar',
'adv_portal',
'holiday',
'postbit'
)
);

Still no luck. Am I missing something else?

Thanks!

Page: http://www.chicagogamers.com

Tom M
08-15-2006, 02:30 AM
Still no luck. Am I missing something else?Perhaps it's a permissions issue as when I tried to access your calendar it wanted me to log in.

Tobad
08-15-2006, 12:27 PM
I made a quick change to allow non-registered users to view the calendar. I can create a quick guest account for you if needed.

Tom M
08-15-2006, 01:58 PM
All I can think of would be to compare the code dealing with events that's in the vb index.php file in 3.6 to see if anything has changed in comparison to the module as that's there the event code was copied from. It's pretty clear that it's got something to do with the phrases as the dates show up but not the text. Without running 3.6 I'd pretty much be guessing.

Tobad
08-15-2006, 02:13 PM
Cool. No worries at this time then. I'll wait up till someone comes up with the solution.

Thanks for looking at it.

StuntFactoryX
08-16-2006, 11:42 PM
im using 3.6 and i have it working. however i pick up 4 uncatched templates in the calanders. i have no idea what that means but its working awesome. my users cant live w/o it.

Tom M
08-16-2006, 11:44 PM
im using 3.6 and i have it working. however i pick up 4 uncatched templates in the calanders. i have no idea what that means but its working awesome. my users cant live w/o it.If you add those template names to the list of templates used by the module then they'll get cached and reduce the server load.

Tobad
08-17-2006, 03:39 PM
im using 3.6 and i have it working could you confirm that your Admin created holidays (not events) show up? I'd appreciate it.

StuntFactoryX
08-23-2006, 11:27 PM
i made an holiday and it shows theres nothing there for a title.

and the uncatched templates are already included in the module. im not sure why they dont catch.

StuntFactoryX
08-23-2006, 11:39 PM
Heavy Metal
adv_portal_calendar_day
Default Template Updated in vBadvanced CMPS 2.1.0 by vBadvanced
Your Custom Template Last Edited in vBadvanced CMPS N/A by N/A [Edit Template]
[View History]
[Revert]
adv_portal_calendar_day_other
Default Template Updated in vBadvanced CMPS 2.1.0 by vBadvanced
Your Custom Template Last Edited in vBadvanced CMPS N/A by N/A [Edit Template]
[View History]
[Revert]
adv_portal_calendar_header
Default Template Updated in vBadvanced CMPS 2.1.0 by vBadvanced
Your Custom Template Last Edited in vBadvanced CMPS N/A by N/A [Edit Template]
[View History]
[Revert]
adv_portal_calendar_week
Default Template Updated in vBadvanced CMPS 2.1.0 by vBadvanced
Your Custom Template Last Edited in vBadvanced CMPS N/A by N/A [Edit Template]
[View History]
[Revert]
Default Style
adv_portal_calendar_day
Default Template Updated in vBadvanced CMPS 2.1.0 by vBadvanced
Your Custom Template Last Edited in vBadvanced CMPS N/A by N/A [Edit Template]
[View History]
[Revert]
adv_portal_calendar_day_other
Default Template Updated in vBadvanced CMPS 2.1.0 by vBadvanced
Your Custom Template Last Edited in vBadvanced CMPS N/A by N/A [Edit Template]
[View History]
[Revert]
adv_portal_calendar_header
Default Template Updated in vBadvanced CMPS 2.1.0 by vBadvanced
Your Custom Template Last Edited in vBadvanced CMPS N/A by N/A [Edit Template]
[View History]
[Revert]
adv_portal_calendar_week
Default Template Updated in vBadvanced CMPS 2.1.0 by vBadvanced
Your Custom Template Last Edited in vBadvanced CMPS N/A by N/A [Edit Template]
[View History]
[Revert]

Tom M
08-24-2006, 12:12 AM
If this is a custom skin being used you might want to double check and make sure the templates really exist in the style. Otherwise I'm pretty much out of ideas.

Tobad
08-24-2006, 03:19 PM
FYI I fixed the missing titles for admin created holiday by editing the following in the combocalendar.php (this is for VB 3.6 users). Tom M, you were right about some code change in 3.6. Hope this helps anyone else out there.

Find (should be 2 instances of this):

$vbphrase['holiday_title_' . $eventinfo['varname']]

replace with:

$vbphrase['holiday' . $eventinfo['holidayid'] . '_title']

Gandalf-LoJ
08-25-2006, 04:22 AM
just a heads up, my combocalendar.php has $vbphrase['holiday_title_' . $eventinfo['varname']] (note the underscore after holiday_title_)

Not sure if that's a typo in your post or not.

Tobad
08-25-2006, 01:08 PM
just a heads up, my combocalendar.php has $vbphrase['holiday_title_' . $eventinfo['varname']] (note the underscore after holiday_title_)

Not sure if that's a typo in your post or not.

You are correct...it was a typo on my behalf. I edited the post.

Lee Roper
08-26-2006, 09:46 AM
I like it! Cheers for the module!

hades
08-30-2006, 11:36 PM
something is wrong please help

i ahve it set to show events as fr ahead as 60 days and i have an event on the calendar in 4 days and it still says no upcoming events!

Tom M
08-31-2006, 12:01 AM
Does the event show on the FORUMHOME page?

Note: The only real limitation is that the number of days specified for the upcoming events will be limited to the number specified for the Forum Home Page Display as the databuild routine references that variable.

If that's not the problem then make sure that permissions are correct and that the correct calendar has been selected.