phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Only admin reply to the topic


 
Search this topic... | Search MOD Requests... | Search Box
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Author Message
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Thu Dec 25, 2008 4:46 am 
Post subject: Only admin reply to the topic

How can I make so that only admin can reply to a locked topic of my choise, and not moderators also? icon_confused.gif
_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Mon Dec 29, 2008 3:54 pm 
Post subject: Re: Only admin reply to the topic

No one knows? icon_smile.gif
_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 729
Location: Texas


flag
PostPosted: Mon Dec 29, 2008 4:23 pm 
Post subject: Re: Only admin reply to the topic

Do you want it set that way everywhere? or only in certain forums? It's much easier to do if you want it changed that way for the entire board...
_________________
phpBBDoctor Blog
Back to top
drathbun
Board Member



Joined: 24 Jul 2008

Posts: 729
Location: Texas


flag
PostPosted: Tue Dec 30, 2008 1:37 am 
Post subject: Re: Only admin reply to the topic

I looked at the code in posting.php and found this:
Code:
        if ( $post_info['forum_status'] == FORUM_LOCKED && !$is_auth['auth_mod'])
        {
           message_die(GENERAL_MESSAGE, $lang['Forum_locked']);
        }
        else if ( $mode != 'newtopic' && $post_info['topic_status'] == TOPIC_LOCKED && !$is_auth['auth_mod'])
        {
           message_die(GENERAL_MESSAGE, $lang['Topic_locked']);
        }

I believe if you change both instances of && !$is_auth['auth_mod'] to && !$userdata['user_level'] == ADMIN instead it would do what you want. But I did not try to test this, so be sure to try it out on a test board first.

_________________
phpBBDoctor Blog
Back to top
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Tue Dec 30, 2008 6:45 am 
Post subject: Re: Only admin reply to the topic

Thanks for the effort Drathbun, but that is not what I want. I do not want to moderators not post in all locked subjects, but only in the ones I choose. For example, I have a subject "Administrators anouncements" and I want only admins to post there, but I do not want to make a new forum just for one single subject. So I would like, if it's possible, something like lock topic MOD, where you click this in message menu, and the topic gets locked. But I want something like lock this subject to moderators. And they can not post and they can not unlock it. I am not sure if it's possible, but this is what I would like. icon_smile.gif
_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 628
Location: Spain


flag
PostPosted: Tue Dec 30, 2008 7:50 am 
Post subject: Re: Only admin reply to the topic

Disallow Editing/Deleting of Administrator Posts MOD makes it so that moderators cannot edit/delete posts made by administrators.

Maybe this will suite you.

_________________
phpBB2 will never die, I hope!
Back to top
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Tue Dec 30, 2008 9:55 am 
Post subject: Re: Only admin reply to the topic

That it's interesting too. Thanks. icon_wink.gif
_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT - 4 Hours
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0509 seconds using 16 queries. (SQL 0.0098 Parse 0.0008 Other 0.0403)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo