Changing default Forum permissions

The 2.0.x discussion forum has been locked; this will remain read-only. The 3.0.x discussion forum has been renamed phpBB Discussion.
Locked
masterross
Registered User
Posts: 116
Joined: Thu Apr 03, 2003 7:47 pm

Changing default Forum permissions

Post by masterross » Sat Dec 04, 2004 6:10 pm

hi there,

can you help me to change default Forum permissions on creation?
I want to be:

Code: Select all

View    Read      Post      Reply     Edit     Delete    Sticky   Announce    Vote      Poll
ALL     ALL       REG       REG       REG      MOD       MOD      MOD         REG       REG
thanks
Ross

User avatar
Magee
Registered User
Posts: 115
Joined: Sat Jul 10, 2004 5:17 pm
Location: wirral, engand

Post by Magee » Sat Dec 04, 2004 6:15 pm

you'll have to open admin_auth and admin_ug_auth and find

Code: Select all

View    Read      Post      Reply     Edit     Delete    Sticky   Announce    Vote      Poll
then replace the things below it.

masterross
Registered User
Posts: 116
Joined: Thu Apr 03, 2003 7:47 pm

Post by masterross » Sat Dec 04, 2004 6:38 pm

hello,

thanks for reply
you probably mean admin_forumauth instead admin_auth
i've changed values in admin_forumauth but they not effect :(
in admin_ug_auth i didnt find what should I change

can you be more specific?

thanks,
Ross

User avatar
Magee
Registered User
Posts: 115
Joined: Sat Jul 10, 2004 5:17 pm
Location: wirral, engand

Post by Magee » Sat Dec 04, 2004 6:42 pm

yes, i meant forumauth, thats all that you needed. it should have worked, unless you did not edit it to the correct code.

Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham » Sat Dec 04, 2004 7:49 pm

Try this and adapt to the permissions you actually want

http://www.phpbb.com/kb/article.php?article_id=163
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!

masterross
Registered User
Posts: 116
Joined: Thu Apr 03, 2003 7:47 pm

Post by masterross » Sat Dec 04, 2004 10:57 pm

hi Graham,

that's what i needed!!!
thank you !!!!

BR,
Ross

xboxundone
Registered User
Posts: 13
Joined: Thu Sep 30, 2004 12:10 pm

Post by xboxundone » Sat Dec 04, 2004 11:31 pm

Ok i made the change to my admin_forumauth.php

View Read Post Reply Edit Delete Sticky Announce Vote Poll
$simple_auth_ary = array(
0 => array(AUTH_ALL, AUTH_ALL, AUTH_ALL, AUTH_ALL, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_ALL, AUTH_REG),
1 => array(AUTH_ALL, AUTH_ALL, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_ALL, AUTH_REG),
2 => array(AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_ALL, AUTH_REG),
3 => array(AUTH_ALL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_MOD, AUTH_ACL, AUTH_ACL),
4 => array(AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_MOD, AUTH_ACL, AUTH_ACL),
5 => array(AUTH_ALL, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD),
6 => array(AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD),
);

So that Vote had Auth_ALL for the first three

Then the file Admin_forums

$forum_auth_ary = array(
"auth_view" => AUTH_ALL,
"auth_read" => AUTH_ALL,
"auth_post" => AUTH_ALL,
"auth_reply" => AUTH_ALL,
"auth_edit" => AUTH_REG,
"auth_delete" => AUTH_REG,
"auth_sticky" => AUTH_MOD,
"auth_announce" => AUTH_MOD,
"auth_vote" => AUTH_ALL,
"auth_pollcreate" => AUTH_REG

But yet i cannot set Vote to All in my control panel.... Why???

xboxundone
Registered User
Posts: 13
Joined: Thu Sep 30, 2004 12:10 pm

Post by xboxundone » Sat Dec 04, 2004 11:38 pm

never mind i just had to log out and log back in ;)

msibm
Registered User
Posts: 143
Joined: Sat Aug 24, 2002 11:35 am
Location: China
Contact:

Post by msibm » Thu Nov 24, 2005 12:56 pm

Thanks to all above. But I'm using the attach mod, I can't find the value of "Post Files" and "Download Files". The following is the code of admin_forumauth.php of my forum.

Code: Select all

//                View      Read      Post      Reply     Edit     Delete    Sticky   Announce    Vote      Poll
$simple_auth_ary = array(
	0  => array(AUTH_ALL, AUTH_ALL, AUTH_ALL, AUTH_ALL, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_REG, AUTH_REG),
	1  => array(AUTH_ALL, AUTH_ALL, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_REG, AUTH_REG),
	2  => array(AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_REG, AUTH_MOD, AUTH_MOD, AUTH_REG, AUTH_REG),
	3  => array(AUTH_ALL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_MOD, AUTH_ACL, AUTH_ACL),
	4  => array(AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_ACL, AUTH_MOD, AUTH_ACL, AUTH_ACL),
	5  => array(AUTH_ALL, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD),
	6  => array(AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD, AUTH_MOD),
);

Locked

Return to “2.0.x Discussion”