Support Forums

Full Version: MyBB Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I've had a little bit of experience with MyBB but I need help with a few things:

How do I add a minimum post requirement for PM's?
How do I have a 'View Your Threads' and 'View Your Posts' link in the header. Is it a plugin? I've been unable to figure a way to make the search dynamic you see. So if I just add http://www.supportforums.net/search.php?...serthreads without the &uid=13982 will that work?

Sorry if this is a noob question, as I am a noob to MyBB.
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:
Code:
| <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:
Code:
| <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.

If you use http://www.supportforums.net/search.php?...serthreads then it will display all the threads made my guests or unregistered users.
Thank you Kewlz! I've got it all working now thanks to you Blackhat