MyBB Community Forums

Full Version: How to Change Daily/New Posts Button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to change the daily posts button to show weekly posts or at least the posts from the last several days rather than just one day. Is there a way to do this?


forum admin panel >> templates (left side menu) >> your theme templates >> Header Templates
>> header_welcomeblock_member

find code similar to below
<li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></li>
to get weekly posts you can change it to
<li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily&days=7">Recent Posts</a></li>
Thank you so much! You're Great  Big Grin