2016-03-15, 11:35 PM
(2016-03-15, 10:49 PM)maintainin Wrote: Is there a way to add "view new posts" link to the main index of this theme?
Add this code where you want it:
<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a>
For example, in header_welcomeblock_member, search this:
<li><a href="{$mybb->settings['bburl']}/usercp.php?action=avatar"><i class="fa fa-camera fa-fw"></i> {$lang->xstyled_changeavatar}</a></li>
Add before that:
<li><a href="{$mybb->settings['bburl']}/search.php?action=getnew"><i class="fa fa-comments fa-fw"></i> {$lang->welcome_newposts}</a></li>
And with this little code you have the link to the new posts on the user menu ^^.
Cheers.
I don't give support on PM.