2011-07-12, 10:28 PM
On the front page, this is a "View Today's Posts" tab. Would like to see another tab is added for "View One Week's Posts". Could this be done by users without requring software development?
<a href="{$mybb->settings['bburl']}/search.php?action=getdaily&days=7">View One Week's Posts</a>
(2011-07-12, 11:19 PM)limu Wrote: [ -> ]The easiest way would probably be, you go to your header_welcomeblock_member template and insert the following link:
<a href="{$mybb->settings['bburl']}/search.php?action=getdaily&days=7">View One Week's Posts</a>
http://community.mybb.com/search.php?act...ily&days=7
<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> |
<a href="{$mybb->settings['bburl']}/search.php?action=getdaily&days=7">View One Week's Posts</a> |
(2011-07-13, 08:54 AM)ranjani Wrote: [ -> ]^ admin panel --> templates --> current templates set --> Header Templates --> header_welcomeblock_member
find code similar to below :
<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> |
after above add the code given by limu :
<a href="{$mybb->settings['bburl']}/search.php?action=getdaily&days=7">View One Week's Posts</a> |
(2011-07-14, 04:30 AM)ranjani Wrote: [ -> ]^ if you already use the Chinese language then replace View One Weeks Posts with your Chinese phrase..
(2011-07-15, 10:13 AM)faviouz Wrote: [ -> ]Which plugin are you using? And can we please have your forum's URL?