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

XF 1.5 Xenforo Log and count visits on a Custom Template/Page

Discussion in 'Styling and Customization Questions' started by Glockie, May 22, 2016.

  1. Glockie

    Glockie Well-Known Member

    Hello all,
    Just wondering if this is possible and if so, how?
    I'd like to count visits to a page, I have read that it can cause extra queries though and possible performance implications? Is that so?

    Anyway I have read here;
    https://xenforo.com/community/threads/xenforo-log-and-count-visits-with-custom-xf-template.78215/

    And read @Mike 's reply;
    Just wondering if anyone knows how to actually implement this?
    I added some code but didn't work sadly.. So not 100% sure if I have done it right and even if the correct code was even added.
    Thanks in advance for your help. :)
     
  2. Mike

    Mike XenForo Developer Staff Member

    Custom page/template or a page node? What I referred to related to page nodes. There's nothing to do this generically, so if it's not that, you'd need to implement something custom.
     
    Glockie likes this.
  3. Glockie

    Glockie Well-Known Member

    Ah okay thank you Mike.. :)
     

Share This Page