Announcement

Collapse
No announcement yet.

Changing default content type per channel?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Changing default content type per channel?

    There isn't any way to change the default content type (photo, link, poll, event) per channel is there?
    It is fatal to enter any war without the will to win it.
    --General Douglas MacArthur

  • #2
    There is not. Text is always the default.

    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      There is no way to set a default channel type. You can force a channel to be a certain type with permissions, but as currently implemented, this is of limited value.
      https://forum.vbulletin.com/forum/vb...ls#post4452177
      VB 5.6.4
      PHP 7.4
      MySQL 5.7.24

      Comment


      • #4
        Thank you... I too wish that you could change the permissions differently between topics and replies.
        It is fatal to enter any war without the will to win it.
        --General Douglas MacArthur

        Comment


        • #5
          https://tracker.vbulletin.com/vbulle...sues/VBV-20689

          Commenting and voting there with your use cases would help me push for change. I can't guarantee it will happen but I can push for it.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment


          • Shon
            Shon commented
            Editing a comment
            I voted it up, thank you!

        • #6
          You could force a click on contenttype button with javascript/ jquery for specific channels.

          Comment


          • #7
            I was able to find an easy workaround for this right now, but it involves a small template edit. I'm sure that's not recommended...

            OrganForum

            I was able to do this by editing single template: Module Templates > widget_newcontent

            and adding (replace EventForumChannelD with the channel [Node ID] of your event forum channel):

            HTML Code:
            <vb:if condition="$channelInfo['nodeid'] == 'EventForumChannelD">
            {vb:set MyContentType, 'Event'}
            <vb:else />
            {vb:set MyContentType, 'Text'}
            </vb:if>
            and replacing:

            HTML Code:
            defaultContentType=Text,
            with:

            HTML Code:
            defaultContentType={vb:raw MyContentType},
            It works exactly as I was hoping for.
            It is fatal to enter any war without the will to win it.
            --General Douglas MacArthur

            Comment


            • OrganForum
              OrganForum commented
              Editing a comment
              Thanks! I'll give it a try.

          Related Topics

          Collapse

          Working...
          X