Welcome to Geeklog, Anonymous Sunday, November 24 2024 @ 09:53 am EST
Geeklog Forums
Member Sites - Default Content Permissions
Status: offline
emagin
Forum User
Regular Poster
Registered: 08/05/03
Posts: 92
Do you have a primarily members only site where you want the default for all stories, events, links, etc to not be viewable to anonymous users?
Well, there is currently a bit of an oddity in the default setup for most submitted items.
The ['perm_anon'] = 2; setting is always checked, so when your editors or story submitters submit content, they will forget to uncheck and expose content to the public unwittingly.
Do the following:
Search for $A['perm_anon'] = 2;
public_htmladminblock.php(190): $A['perm_anon'] = 2;
public_htmladminevent.php(101): $A['perm_anon'] = 2;
public_htmladminevent_ORIG.php(99): $A['perm_anon'] = 2;
public_htmladminlink.php(100): $A['perm_anon'] = 2;
public_htmladminstory.php(152): $A['perm_anon'] = 2;
public_htmladmintopic.php(93): $A['perm_anon'] = 2;
public_htmladminpluginsstaticpagesindex.php(71): $A['perm_anon'] = 2;
Found 7 occurrence(s) in 7 file(s)
$A['perm_owner'] = 3;
$A['perm_group'] = 2;
$A['perm_members'] = 2;
$A['perm_anon'] = 2;
With this:
$A['perm_owner'] = 3;
$A['perm_group'] = 3;
$A['perm_members'] = 2;
$A['perm_anon'] = 1;
I replace the perm_group to CHECKED for READ and EDIT since you want your Story Admin or Event Admin group having rights to go back and edit their own posts later!
For some reason this is defaulted to EDIT off, which makes no sense to me.
Well, there is currently a bit of an oddity in the default setup for most submitted items.
The ['perm_anon'] = 2; setting is always checked, so when your editors or story submitters submit content, they will forget to uncheck and expose content to the public unwittingly.
Do the following:
Search for $A['perm_anon'] = 2;
Text Formatted Code
Searching for: $A['perm_anon'] = 2;public_htmladminblock.php(190): $A['perm_anon'] = 2;
public_htmladminevent.php(101): $A['perm_anon'] = 2;
public_htmladminevent_ORIG.php(99): $A['perm_anon'] = 2;
public_htmladminlink.php(100): $A['perm_anon'] = 2;
public_htmladminstory.php(152): $A['perm_anon'] = 2;
public_htmladmintopic.php(93): $A['perm_anon'] = 2;
public_htmladminpluginsstaticpagesindex.php(71): $A['perm_anon'] = 2;
Found 7 occurrence(s) in 7 file(s)
Text Formatted Code
Replace this:$A['perm_owner'] = 3;
$A['perm_group'] = 2;
$A['perm_members'] = 2;
$A['perm_anon'] = 2;
With this:
$A['perm_owner'] = 3;
$A['perm_group'] = 3;
$A['perm_members'] = 2;
$A['perm_anon'] = 1;
I replace the perm_group to CHECKED for READ and EDIT since you want your Story Admin or Event Admin group having rights to go back and edit their own posts later!
For some reason this is defaulted to EDIT off, which makes no sense to me.
8
6
Quote
a
Anonymous
Would be nice if this was added to the config, e.g.
$_CONF['default_perm_anon'] = 2;
...
$A['perm_anon'] = $_CONF['default_perm_anon'];
$_CONF['default_perm_anon'] = 2;
...
$A['perm_anon'] = $_CONF['default_perm_anon'];
9
5
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
If your setup involves placing everyone in the story admin group, I would leave perm_group set to 2. Owners can always edit their own posts, but by setting perm_group to 3, you allow all story admin members to edit all stories.
8
6
Quote
All times are EST. The time is now 09:53 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