Values for "options" field in database table "blog"?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tigratrus
    Senior Member
    • Oct 2006
    • 160
    • 3.7.x

    Values for "options" field in database table "blog"?

    The options field seems to be storing the value of various combinations of options that have been selected for a specific blog entry.

    For instance a value of zero indicates that:

    Allow comments to be posted [?]
    Moderate comments before displaying [?]
    Restrict entry viewing to Contacts and Blog Moderators [?]

    Are all unchecked.

    A value of 13 indicates that all three are checked

    A value of 5 indicates that:

    Allow comments to be posted [?]
    Moderate comments before displaying [?]

    are checked, but

    Restrict entry viewing to Contacts and Blog Moderators [?]

    is not.

    I'm having to fix a few entries in the DB by hand, is there a chart that indicates what all the possible value are and what they indicate?

    Thanks in advance for any assistance you can provide.

    James and Susan
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74132

    #2
    They are listed in includes/xml/bitfield_vbblog.xml

    <group name="vbblogoptions">
    <bitfield name="moderatecomments">1</bitfield>
    <bitfield name="allowpingback" >2</bitfield>
    <bitfield name="allowcomments" >4</bitfield>
    <bitfield name="private" >8</bitfield>
    <bitfield name="membermoderate" >16</bitfield>
    </group>
    Translations provided by Google.

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

    Comment

    Related Topics

    Collapse

    Working...