Announcement

Collapse
No announcement yet.

How do I change the default "Publishing Options"

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

  • #31
    Bad, I've seen this too late but works like a charm now. Will the settings be kept if upgrading to a new release or do I have to make the changes again each time?
    .......

    Comment


    • #32
      I can't find the new fields that have been added in vb 4.2

      Keep Original Thread

      Move to Comments Forum

      All Comments = showall ?

      Can anyone please tell me how can I change the default values for the above three?
      Click image for larger version

Name:	cms_node.PNG
Views:	1
Size:	50.5 KB
ID:	3689673
      HandheldUsers.com : The community of handheld users

      Comment


      • #33
        Add me to the chorus of people who would need this.

        I post a lot of stuff to the CMS and it's a bit of a pain to manually change each option before saving.

        It shouldn't be a big deal to make a mod that would allow this, but it really belongs in the base install for the vbCMS.

        Cheers!
        Brewskie

        Duct tape is like the Force. It has a light side & a dark side, and it holds the universe together.

        There are only two rules in construction:
        If it moves and it shouldn't..........use Duct Tape
        If it doesn't move and it should.....use WD-40

        Comment


        • #34
          Changing the default publishing options in Vbulletin CMS

          Originally posted by Brew View Post
          Add me to the chorus of people who would need this.

          I post a lot of stuff to the CMS and it's a bit of a pain to manually change each option before saving.

          It shouldn't be a big deal to make a mod that would allow this, but it really belongs in the base install for the vbCMS.

          Cheers!
          You can change the default 'Yes' and 'No' radio buttons for article publishing page. For example I will tell how to convert "No" to "Yes" for 'Show Rating' radio button.

          Go to admin> Styles and Templates> Search in Templates>
          Choose your style and Search for Text: vbcms_edit_publisher
          Click on 'Yes' for Search only Titles.

          In above template look for following code:
          <div class="blockrow" >
          <label class="half">{vb:rawphrase show_rating}</label>
          <div class="half">
          <ul class="multifield group floatcontainer">
          <li><input type="radio" name="showrating" id="showrating0" value="1" <vb:if condition=
          "$showrating"
          > checked="checked"</vb:if> tabindex="1" /> <label for="showrating0" class="secondary">{vb:rawphrase yes}</label>&nbsp;&nbsp;{vb:stylevar dirmark}</li>
          <li><input type="radio" name="showrating" id="showrating1" value="0" <vb:if condition=
          "!$showrating"
          > checked="checked"</vb:if> tabindex="1" /> <label for="showrating1" class="secondary">{vb:rawphrase no}</label></li>
          </ul>
          </div>
          </div>

          Now locate
          "$showrating"
          and change it to
          "!$showrating".
          And, locate
          "!$showrating"
          and change it to
          "$showrating".

          Save and upload. You are done.

          Comment


          • #35
            Above created a new bug for me. So please do not try. If try, try at your own risk. Good luck.

            - - - Updated - - -

            Originally posted by manyaa View Post
            You can change the default 'Yes' and 'No' radio buttons for article publishing page. For example I will tell how to convert "No" to "Yes" for 'Show Rating' radio button.

            Go to admin> Styles and Templates> Search in Templates>
            Choose your style and Search for Text: vbcms_edit_publisher
            Click on 'Yes' for Search only Titles.

            In above template look for following code:
            <div class="blockrow" >
            <label class="half">{vb:rawphrase show_rating}</label>
            <div class="half">
            <ul class="multifield group floatcontainer">
            <li><input type="radio" name="showrating" id="showrating0" value="1" <vb:if condition=
            "$showrating"
            > checked="checked"</vb:if> tabindex="1" /> <label for="showrating0" class="secondary">{vb:rawphrase yes}</label>&nbsp;&nbsp;{vb:stylevar dirmark}</li>
            <li><input type="radio" name="showrating" id="showrating1" value="0" <vb:if condition=
            "!$showrating"
            > checked="checked"</vb:if> tabindex="1" /> <label for="showrating1" class="secondary">{vb:rawphrase no}</label></li>
            </ul>
            </div>
            </div>

            Now locate
            "$showrating"
            and change it to
            "!$showrating".
            And, locate
            "!$showrating"
            and change it to
            "$showrating".

            Save and upload. You are done.
            Above solution created a new bug for me. So please do not try. If try, try at your own risk. Good luck.

            Comment


            • #36
              Each option can be set in the database. No need to edit it in templates.
              Example:
              Click image for larger version

Name:	keepthread.jpg
Views:	2
Size:	101.1 KB
ID:	3690442
              .......

              Comment


              • #37
                I'm not sure where this statement have been posted here or not. It change default value for showrating. alter table v_b_cms_node alter showrating set default 1;


                Comment

                Related Topics

                Collapse

                Working...
                X