Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /home/abledesi/domains/abledesign.com/public_html/navfiles/log.php on line 126

AbleDesign - Support Forum

AbleDesign Forum Index AbleDesign

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
AbleDesign Forum Index
MyCalendar Discussion
Private categories
Post new topic   Reply to topic

Post new topic   Reply to topic    AbleDesign Forum Index -> MyCalendar Discussion
View previous topic :: View next topic  
Author Message
dalem
Regular
Regular


Joined: 25 Apr 2002
Posts: 36

PostPosted: Sun Jan 02, 2005 10:00 pm    Post subject: Private categories Reply with quote

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?

Thanks for any help!

Dale
Back to top
View user's profile Send private message AIM Address
Dan
Admin / Developer
Admin / Developer


Joined: 19 Feb 2001
Posts: 2057

PostPosted: Mon Jan 03, 2005 4:09 pm    Post subject: Reply with quote

I can't find it, either.

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.

Cheers,
Dan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AbleDesign Forum Index -> MyCalendar Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2002 phpBB Group


Home | Services | Pricing | Portfolio | About Us | Contact
Support | Programs | Purchase | Tutorials | Site Map

© 1999-2025 AbleDesign.com - Web Design that Can!