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
users and categories
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: users and categories
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.
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.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
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
This is no problem. Just open serendipity_admin_category.inc.php and go to line 162 which should look like: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)
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>
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
You're welcome - have fun!
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/