1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Count all Attachments

Discussion in 'Add-on Requests [Archive]' started by D.O.A., Jan 26, 2011.

  1. D.O.A.

    D.O.A. Well-Known Member

    Does anyone know a method of counting all attached files and including that in the board statistics box?

    My efforts = fail :)
  2. xfrocks

    xfrocks Well-Known Member

    "SELECT * FROM xf_attachment", I think? :D
    D.O.A. likes this.
  3. D.O.A.

    D.O.A. Well-Known Member

    yeah I thought there might be a "cleaner" way of doing it heh, I'll use the query straight in the template and see how it goes. I was thinking that might be a horrible way to do business with xenforo, kinda like putting a $30 tire on a Ferrari.

Share This Page