2016-03-16, 12:00 AM
(This post was last modified: 2016-03-16, 12:04 AM by maintainin.)
(2016-03-15, 11:35 PM)eNvy Wrote:(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.
Outstanding! Thank you!
Actually envy, where would I need to add that code to add it to the header bar itself? Like to the left of the avatar and drop down menu?