Posted: Sun Jan 02, 2005 10:00 pm Post subject: Private categories
I'd like to make some categories private. In other words, I want to restrict viewing of some entries to certain authorized users.
I thought I saw a thread here quite some time ago where someone was doing that with a calendar for a church website. But now I can't find it. Was I dreaming that or am I overlooking it in my searches?
Basically, it consists of modifying month.php, week.php, and day.php to include some user/group requirements in the database query. You might want to build a completely new query in place of the assembled $select/$where approach (around line 176 of month.php), as that uses lib.php's build_calendar_select() which needs to have User or Usergroup table info tacked on for the modification.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum