[kronolith] How to serialize calendar entries in prefs.php

Chuck Hagenbuch chuck at horde.org
Thu Aug 9 16:15:58 UTC 2007


Quoting Rich Hutchinson <rich at adastral.ucl.ac.uk>:

> I've tried setting the value for a user, then copying it out of MySQL
> but the value for each user's calendar is obviously different for each
> person. I don't want each user to be able to see other people's
> calendars (except the explicitly shared one)
>
> What I want is some way of being able to use a kind of wildcard to
> substitute for the correct one.
>
> I need each individual user's own calendar, PLUS the shared one to be
> shown...

I see, I misunderstood. Well, you should be able to set it to something like:

serialize(array('username', 'shared_calendar_id'))

And run a script that sets the preference directly in the database  
like that for each user.

-chuck


More information about the kronolith mailing list