Welcome to Geeklog, Anonymous Friday, December 06 2024 @ 05:21 am EST

Geeklog Forums

Default permissions


Jim

Anonymous
Hi,

Where does the default permissions for a submission get set. I would like to make the default where anonymous has no access for all submissions.

Thanks in advance
Jim
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
Have you checked in the config documentation?
 Quote

Jim

Anonymous
Thanks for your reply, but I still don't see it. I am looking to have the anonymous read unchecked on all submissions as the default.

I must be missing something?

Thanks,

Jim
 Quote

FreakWorld

Anonymous
it's in your config file.
Open it with notepad and go to edit and thin find... for
MISCELLANEOUS SETTINGS
 Quote

Jim

Anonymous
Thanks for weighing in.... I must be too dense for this. When I looked in the config file for misc, I find trhe login required section. I have this set for login required.

When someone submits a story/link/file, or anything else, we have to uncheck access to anonymous read. This is what I cannot find here.

Sorry to be a pain. I have been looking for some time.

Jim
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
in admin/story.php, after elseif ($mode == "edit"),

change

$A['perm_anon'] = 2;

to

$A['perm_anon'] = 0;
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Story permissions are actually inherited from the permissions of the topic they are posted under. So unchecking the "Anonymous R" checkbox for all topics should do what you want.

Or rather, that's how it works for stories submitted by normal users. (Story)Admins will always have to set the permissions manually, but Turias' hack should take care of that, too.

Since there is no such thing as a topic for links, etc., you will have to make similar changes to other files as well.

bye, Dirk
 Quote

Jim

Anonymous
That's the one. Thanks!

Jim
 Quote

Jim

Anonymous
I had unchecked the permission in the topics some time ago. It does not seem to have any effect on the new subbmisions but does stop anonymous users from viewing the topics. I will alter the php files as suggested by Turias.

Thanks again,
Jim
 Quote

Status: offline

tingo

Forum User
Chatty
Registered: 06/05/02
Posts: 57
Location:Oslo, Norway
Quote by Turias: in admin/story.php, after elseif ($mode == "edit"),

change

$A['perm_anon'] = 2;

to

$A['perm_anon'] = 0;


I was looking for this today. Thanks! Wink
 Quote

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