View Single Post
Old 09-03-2009, 03:37 PM   #20 (permalink)
ioan1k
The Contributor
 
ioan1k's Avatar
 
Join Date: Mar 2009
Location: US
Posts: 76
Thanks: 0
ioan1k is on a distinguished road
Default

You wouldn't have to worry about storing the friendlist ID, you would could set an option to allow a user to set a blog post comment editing for users on his friendslist.

Then once you parse out the friendlist add the userId from the friendlist table to the allowedUsers array

So it would be something like

Code:
Fetch user friendlist
Fetch comment_edit permissions

if user allow friend edit
      append friendlist->userId's to comment_edit->userAllow

__________________
My Portfolio - Work - Need freelance Work?
I've been developing 5 years now, and I learn something new everyday
ioan1k is offline  
Reply With Quote