Welcome to Geeklog, Anonymous Wednesday, October 09 2024 @ 10:03 am EDT
Geeklog Forums
How to remove acess rights
onetouch
Anonymous
I replaced all options that I didn't need with hidden fiels in storyeditor.thtml, including owner_id and group_id, except part {permissions_editor}. I tried puting something like:
<input type="hidden" name="perm_owner" value="3">
or
<input type="hidden" name="perm_group" value="2">
but whatever I put in hidden field, in mySQL table stories I get 0 for all perm_* fields.
When I put:
<input type="hidden" name="group_id" value="2">
it enters 2 in group_id in table stories. Why dosn't it work with perm_* fields also? I made very simple admin/story.php and only thing left that confuses users is access right. I want to remove it from display and set some default value.
Thanks
4
4
Quote
All times are EDT. The time is now 10:03 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content