MyBB Community Forums

Full Version: Simplicity by Rooloo - New posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I wonder whether we can add " View New Posts " and " View Today's Posts " to home page of Simplicity Theme by @Rooloo

Thanks.
View New posts
<a href="{$mybb->settings['bburl']}/search.php?action=getnew"><i class="far fa-circle"></i> Latest Post</a>

View Todays Post
<a href="{$mybb->settings['bburl']}/search.php?action=getdaily"><i class="far fa-circle"></i> Today's Post</a>

PS: I use font awesome icons to above links Smile

Regards
WallBB
Brilliant!

I have never tried customising themes. Where should I add these lines ?

Also, I have not added ( included Font Awesome ) in any templates. Would that be a problem ?

I modified the header template. Works like a charm.

If possible, just next to the above item, help me add hello {username} for all users. Thanks.
(2020-12-04, 05:51 AM)meetdilip Wrote: [ -> ]Brilliant!

I have never tried customising themes. Where should I add these lines ?

Also, I have not added ( included Font Awesome ) in any templates. Would that be a problem ?

I modified the header template. Works like a charm.

If possible, just next to the above item, help me add hello {username} for all users. Thanks.

FA is not a problem, it is just for decoration.

In regards to hello username, use the below code
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}"> {$mybb->user['username']}</a>

Regards
WallBB