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

XF 1.4 Member Count

Discussion in 'Styling and Customization Questions' started by daudet, Feb 1, 2016.

  1. daudet

    daudet Member

    Where do I change the query that affects Member count?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    How do you want to change it?

    If you just want a fake value, you can edit the template rather than the code.
     
  3. Malcolm M

    Malcolm M Active Member

    But, wouldn't that create a fixed amount?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    You can use a calc function in templates, e.g.
    Code:
    {xen:calc '{$foo} + 2000'}
    That would be whatever {$foo} is + 2000.
     
    Malcolm M likes this.
  5. daudet

    daudet Member

    I create a group for locked accounts. I don't want to show them in the member count.
     
    Sean Kendle likes this.
  6. Malcolm M

    Malcolm M Active Member

  7. Sean Kendle

    Sean Kendle Member

    Is there ever going to be a centralized, official documentation resource for things like this some day? I think simple addition would be a great place to start. That particular syntax isn't very obvious.
     

Share This Page