Page 1 of 1
users and categories
Posted: Wed Oct 27, 2004 6:38 pm
by Mack
Is there chance that every user have his own category, and cannot post in categories of other users?
I want give to every user his personal category to make post in it.
Thanks for answers
mack
Re: users and categories
Posted: Wed Oct 27, 2004 7:41 pm
by garvinhicking
Yes, that is possible. But only if the users are "editor" users. Then you can create categories which belong to editors by just unchecking the [ ] All Authors checkbox.
Entries in such a created category can only be posted there by the owners of the category and superuser users. Maybe also by "chief" users, but I haven't checked that out.
Regards,
Garvin.
Posted: Wed Oct 27, 2004 8:10 pm
by Mack
Thanx for answer
But I mean, can user 'A' have his personal categories named 'AA' ?
And other users 'B' , 'C' , 'D' , etc. cannot write in category 'A'
Posted: Wed Oct 27, 2004 8:41 pm
by Guest
I am sorry for a new post

, but I found a new solution
Is it problem for you to write code, where will note be 'All authors - check box' only for users with level 0 (this is in manage categories)
Posted: Thu Oct 28, 2004 10:28 am
by garvinhicking
Hi!
Is it problem for you to write code, where will note be 'All authors - check box' only for users with level 0 (this is in manage categories)
This is no problem. Just open serendipity_admin_category.inc.php and go to line 162 which should look like:
Code: Select all
<tr>
<th><label for="all_authors"><?php echo ALL_AUTHORS; ?></label></th>
<td><input id="all_authors" type="checkbox" name="serendipity[cat][all_authors]" value="true" <?php echo (isset($this_cat['authorid']) && $this_cat['authorid'] == '0') ? 'checked="checked"' : ''; ?> /></td>
</tr>
Just remove those lines. But we will not integrate this into the main release, since we previously had requests that "simple users" are able to create categories for all other users to post in...
Regards,
Garvin
Posted: Thu Oct 28, 2004 11:38 am
by Mack
Thank you, thank you, thank you!!
You save my life

Posted: Thu Oct 28, 2004 12:09 pm
by garvinhicking
You're welcome - have fun!
