Welcome to Geeklog Tuesday, October 26 2021 @ 05:34 pm EDT

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 ??


PHP 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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>
 
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 29/08/05
Posts: 985
Not sure what you mean but I think you might want to look at this in your config.php:
PHP 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);
 Quote

blasfemo

Anonymous
whit this part of config file it's possible to set different permission for different pages (ex. story, calendar...)
?
 Quote

blasfemo

Anonymous
GREAT !!! Work

tnk
 Quote

Status: offline

geegee1

Forum User
Newbie
Registered: 30/11/07
Posts: 5
Hi friend

SORRY Frown

I DON"T KNOW........
 Quote

All times are EDT. The time is now 05:34 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