XF 1.3 Starting a conversation

imthebest

Well-known member
When starting a conversation the following options appear:
  • Allow anyone in the conversation to invite others
  • Lock conversation (no responses will be allowed)
Are those configurable? I'd like to limit the use of these options to my moderators only.
 
No they aren't, I checked :(

Just checked, and the first one is:

2zesdFf.png
 
@Mike if I want to get rid of those checkboxes it's safe to remove those lines?

Code:
<li><label for="ctrl_open_invite"><input type="checkbox" name="open_invite" id="ctrl_open_invite" value="1" /> {xen:phrase allow_anyone_in_conversation_to_invite_others}</label></li>
<li><label for="ctrl_conversation_locked"><input type="checkbox" name="conversation_locked" id="ctrl_conversation_locked" value="1" /> {xen:phrase lock_conversation_no_responses_will_be_allowed}</label></li>

If I simply remove those lines then people could still be able to set the conversation_locked status to yes (locked) by using URL tricks or something like that? If so, what is the best approach to get rid of those checkboxes in the template? Maybe changing the input type to hidden and forcing the default value to be unchecked?

Btw value="1" means checked? It's rare because it's always unchecked to me.
 
You can just remove those lines, yes. Technically, the value would still be changeable via a direct manipulation to the request.

Make sure you take them away from the conversation edit template as well.
 
Top Bottom