1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Starting a conversation

Discussion in 'XenForo Questions and Support' started by imthebest, Jul 5, 2014.

  1. imthebest

    imthebest Formerly Super120

    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.
     
  2. Amaury

    Amaury Well-Known Member

    I believe they're user group permissions.
     
  3. imthebest

    imthebest Formerly Super120

    No they aren't, I checked :(
     
  4. Amaury

    Amaury Well-Known Member

    Just checked, and the first one is:

    [​IMG]
     
  5. imthebest

    imthebest Formerly Super120

    I think that controls another thing because if set to "No" the checkbox "Allow anyone in the conversation to invite others" is still present.
     
  6. Mike

    Mike XenForo Developer Staff Member

    They are not configurable.
     
  7. imthebest

    imthebest Formerly Super120

    @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.
     
  8. Mike

    Mike XenForo Developer Staff Member

    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.
     
  9. AndyB

    AndyB Well-Known Member

    adwade likes this.
  10. imthebest

    imthebest Formerly Super120

    Is that going to be easy for people?
     

Share This Page