Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 01:09 pm EST
Geeklog Forums
change permission (owner, group, anonimus)
blasfemo
Anonymous
how to change the general permission when a membar insert a new entry (entry.php) ??
how to change tis code ??
<tr>
<td align="center"><b>R</b><br><input type="checkbox" name="perm_owner[]" value="2" checked="checked"></td>
<td align="center"><b>E</b><br><input type="checkbox" name="perm_owner[]" value="1" checked="checked"></td>
<td> </td>
<td align="center"><b>R</b><br><input type="checkbox" name="perm_group[]" value="2" checked="checked"></td>
<td align="center"><b>E</b><br><input type="checkbox" name="perm_group[]" value="1"></td>
<td> </td>
<td align="center"><b>R</b><br><input type="checkbox" name="perm_members[]" value="2" checked="checked"></td>
<td align="center"><b>R</b><br><input type="checkbox" name="perm_anon[]" value="2" checked="checked"></td>
</tr>
how to change tis code ??
Text Formatted Code
<tr>
<td align="center"><b>R</b><br><input type="checkbox" name="perm_owner[]" value="2" checked="checked"></td>
<td align="center"><b>E</b><br><input type="checkbox" name="perm_owner[]" value="1" checked="checked"></td>
<td> </td>
<td align="center"><b>R</b><br><input type="checkbox" name="perm_group[]" value="2" checked="checked"></td>
<td align="center"><b>E</b><br><input type="checkbox" name="perm_group[]" value="1"></td>
<td> </td>
<td align="center"><b>R</b><br><input type="checkbox" name="perm_members[]" value="2" checked="checked"></td>
<td align="center"><b>R</b><br><input type="checkbox" name="perm_anon[]" value="2" checked="checked"></td>
</tr>
8
16
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Not sure what you mean but I think you might want to look at this in your config.php:
// Permissions are perm_owner, perm_group, perm_members, perm_anon (in that
// order). Possible values:
// 3 = read + write permissions (perm_owner and perm_group only)
// 2 = read-only
// 0 = neither read nor write permissions
// (a value of 1, ie. write-only, does not make sense and is not allowed)
$_CONF['default_permissions_block'] = array (3, 2, 2, 2);
$_CONF['default_permissions_story'] = array (3, 2, 2, 2);
$_CONF['default_permissions_topic'] = array (3, 2, 2, 2);
Text Formatted Code
// Define default permissions for new objects created from the Admin panels.// Permissions are perm_owner, perm_group, perm_members, perm_anon (in that
// order). Possible values:
// 3 = read + write permissions (perm_owner and perm_group only)
// 2 = read-only
// 0 = neither read nor write permissions
// (a value of 1, ie. write-only, does not make sense and is not allowed)
$_CONF['default_permissions_block'] = array (3, 2, 2, 2);
$_CONF['default_permissions_story'] = array (3, 2, 2, 2);
$_CONF['default_permissions_topic'] = array (3, 2, 2, 2);
12
12
Quote
blasfemo
Anonymous
whit this part of config file it's possible to set different permission for different pages (ex. story, calendar...)
?
?
11
16
Quote
blasfemo
Anonymous
GREAT !!! Work
tnk
tnk
12
13
Quote
All times are EST. The time is now 01:09 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