Show avatar variable for postbit_legacy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nVaux
    Member
    • Jun 2004
    • 69
    • 2.3.5

    Show avatar variable for postbit_legacy

    Hello, well I want to know what the variable for showing the avatar is.

    My avatars are pulled from a different place than in the original format because I can't have my members upload to the site. I want my members to however have the ability to turn the feature to show avatars on and off.

    $show['avatar']

    I saw that variable but that mostly controls the entire thing from the actual db table, thats not what I am looking for.

    I just want the variable to see if they can show avatars or not, nothing to do with the old avatar selection system. Thanks.
    http://www.bitmonkeys.com - Visit us

    - nVaux
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Code:
    $post[showavatars]
    
    $bbuserinfo[showavatars]
    The first is for the author of the post. The second is for the logged in user. These variables reflect the Show Avatars preference in the:

    User CP -> Edit Options

    Comment

    • nVaux
      Member
      • Jun 2004
      • 69
      • 2.3.5

      #3
      Thanks, just what I was looking for.
      http://www.bitmonkeys.com - Visit us

      - nVaux

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...