• 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

Jake Bunce

XenForo moderator
Staff member
#4
Do you have any idea how can I do that? :(
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:

http://xenforo.com/community/threads/how-to-create-a-bridge.28515/#post-331631

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:

http://xenforo.com/community/forums/custom-service-development-requests.69/
 

xpl0iter

Active member
#5
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:

http://xenforo.com/community/threads/how-to-create-a-bridge.28515/#post-331631

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:

http://xenforo.com/community/forums/custom-service-development-requests.69/
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! :)