Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 09:29 pm EST
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
5
5
Quote
All times are EST. The time is now 09:29 pm.
- 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