Not Solved Simplicity by Rooloo - New posts
#1
Not Solved
Hi, I wonder whether we can add " View New Posts " and " View Today's Posts " to home page of Simplicity Theme by @Rooloo

Thanks.
Reply
#2
Not Solved
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
Reply
#3
Not Solved
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.
Reply
#4
Not Solved
(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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)