2009-01-30, 06:50 AM
Hello,
I'm trying to create 3 or more calendars, to be viewed by specific lists of people. In theory, this seems to be easy to set up. But I think it might be a bug... If not, please help!
Anyway, here's what I've created:
1) Have a default calendar that registered users can see, along with super moderators and administrators
2) Have a client calendar that pertains only to one group, plus admin & super moderators (registered can't see this)
3) Have a company calendar that pertains only to admin & super moderators (registered and client can't see this)
Here's what I've done:
1) Created a custom user group (my client)
2) Set the permissions of the client calendar so only the client, administrators, & super moderators can view, add, or moderate events
3) Set the permissions of registered users so they can only see the default calendar
Now, by setting the permissions, it works fine.
However, here is my problem:
1) When calendar order is set, it changes the hyperlink on the main forum page. If "default" is set as #1 and I'm logged in as client, it says that I don't have permissions to see the calendar (doesn't give me the option to select "client calendar")
2) When I set the "client" calendar to #1 in the list, and when I log in as client, this hyperlink works to get to the client calendar.
3) If the "client" calendar is still set to #1, and I log in as a registered user, it tells me I don't have permissions, because client is set to #1, and "default" calendar doesn't come up from the hyperlink.
I've tried to set each calendar to #1, but this doesn't work. It still takes whichever calendar is set to the lowest number and that's what the hyperlink points to. If I set all to "0", or "1", or change the order from default to client to company, neither combination works.
Is there anything I can do to the php code to make this work?
Thanks!
-Ross
Ok so what I did (for now) is made the default calendar blank.
There apparently needs to be at least a default calendar for the link to work.
Maybe I can use a couple IF statements to have that hyperlink open a calendar based on what the user is "subscribed" to.
Any ideas?
Thanks.
I'm trying to create 3 or more calendars, to be viewed by specific lists of people. In theory, this seems to be easy to set up. But I think it might be a bug... If not, please help!
Anyway, here's what I've created:
1) Have a default calendar that registered users can see, along with super moderators and administrators
2) Have a client calendar that pertains only to one group, plus admin & super moderators (registered can't see this)
3) Have a company calendar that pertains only to admin & super moderators (registered and client can't see this)
Here's what I've done:
1) Created a custom user group (my client)
2) Set the permissions of the client calendar so only the client, administrators, & super moderators can view, add, or moderate events
3) Set the permissions of registered users so they can only see the default calendar
Now, by setting the permissions, it works fine.
However, here is my problem:
1) When calendar order is set, it changes the hyperlink on the main forum page. If "default" is set as #1 and I'm logged in as client, it says that I don't have permissions to see the calendar (doesn't give me the option to select "client calendar")
2) When I set the "client" calendar to #1 in the list, and when I log in as client, this hyperlink works to get to the client calendar.
3) If the "client" calendar is still set to #1, and I log in as a registered user, it tells me I don't have permissions, because client is set to #1, and "default" calendar doesn't come up from the hyperlink.
I've tried to set each calendar to #1, but this doesn't work. It still takes whichever calendar is set to the lowest number and that's what the hyperlink points to. If I set all to "0", or "1", or change the order from default to client to company, neither combination works.
Is there anything I can do to the php code to make this work?
Thanks!
-Ross
Ok so what I did (for now) is made the default calendar blank.
There apparently needs to be at least a default calendar for the link to work.
Maybe I can use a couple IF statements to have that hyperlink open a calendar based on what the user is "subscribed" to.
Any ideas?
Thanks.