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

How to get the Number of Daily Posts

Discussion in 'Styling and Customization Questions' started by xpl0iter, Jul 27, 2012.

  1. xpl0iter

    xpl0iter Active Member

    I would like to show them on my sidebar. So how can we get the details for this?
  2. borbole

    borbole Well-Known Member

    You will need a custom mod to do that.
  3. xpl0iter

    xpl0iter Active Member

    Do you have any idea how can I do that? :(
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    A template hook can be used to insert content at a specific point on the page. Here is a code example of a template hook:


    For your purposes you can use the "forum_list_sidebar" hook which will insert your content in the sidebar on the index page.

    Then you need to write the code to retrieve the number of daily posts and append that to the $contents of the hook.

    If you are not a programmer then you can post a request:

    xpl0iter likes this.
  5. xpl0iter

    xpl0iter Active Member

    Thanks Jake, I will try to do that myself. If in case was not able to, I will post a request!
    Thanks for the help once again, really appreciated! :)
  6. xpl0iter

    xpl0iter Active Member

    Jake Bunce likes this.

Share This Page