2010-02-21, 02:46 AM
Its useful for your members to quickly view all their threads or posts so they can keep track of replies so this tutorial will show you how to easily add a link in your welcome block (where it says "View today's posts" and "Private messages") to these searches.
Firstly open the header_welcomeblock_member template by going:
ACP > Templates & Styles > Templates > Select template > Header templates > header_welcomeblock_member
To add a "View my threads" link add the following code to the bottom of the header_welcomeblock_member template:
To add a "View my posts" link add the following code to the bottom of the header_welcomeblock_member template:
You can change the "View my posts" and "View my threads" in the code to something else if you prefer.
Firstly open the header_welcomeblock_member template by going:
ACP > Templates & Styles > Templates > Select template > Header templates > header_welcomeblock_member
To add a "View my threads" link add the following code to the bottom of the header_welcomeblock_member template:
| <a href="search.php?action=finduserthreads&uid={$mybb->user['uid']}">View my threads</a>
To add a "View my posts" link add the following code to the bottom of the header_welcomeblock_member template:
| <a href="search.php?action=finduser&uid={$mybb->user['uid']}">View my posts</a>
You can change the "View my posts" and "View my threads" in the code to something else if you prefer.