PDA

View Full Version : Calendar Hack Opinion Requested


leadZERO
05-09-2001, 10:55 AM
I'm ready to start on the meat of my calendar hack for vB2, however I have run into somewhat of a roadblock. The problem is how to group calendar events. The two ways I have come up with are as follows:

1) Calendar by Usergroup
2) Calendar by Forum

Both have their advantages and disadvantages. If done by usergroup a person would only be able to view one group based calendar, because each member can only be a member of one group. Grouping by forum though means that anyone with access to the forum will have access to the calendar. This could pose a problem since the current "Private Forum" option isn't so private and only someone with admin rights can add someone to the access list for a forum.

If done by forum a discussion thread could also be started when a calendar event is added, optionally of course. But on the flipside doing it by usergroup would allow you to easily mail people when a calendar event was added.

I'm just looking to know if one method would be more useful for people then the other. Either one will function nicely on my site.

At the least please vote on the poll. If you could just add your comments.

supernut
05-09-2001, 03:06 PM
both options, group and forum.

e.g britney spears forums, calendar for anything to do with her

group access is fine for control or who can do and what, but its the forum calendar that is really needed

Flare
05-09-2001, 08:07 PM
Why not have a hybrid system? It will require a little bit more coding, but not much, I don't think...

Just have a system where you put in a new event, and you can assign it flags as to who can access it.

IE :

example 1: This event can be accessed by Users in usergroup 1,5,6,13 (and)(or) can be accessed by those with access to forum 11,15,21.

Would require access to one of the listed forums AND be in a specific user group when using the AND statement, and when using the OR statement would require one or the other, not both.

example 2: This event can be accessed by Users with access to forum 1,7,8 and can be accessed by those in usergroup *.

Would allow every user group to access to the forum, but they must have access to forums 1, 7 or 8.

Would be very easy to put those checks in... you'd just have to add an additional field or two to events that show who has access... could even be bitwise access levels if space is at a premium :) But that's a little extreme and the logic involved would be a bit overwhelming.

I can help you with this part if you want.