Support Forums
MyBB Help - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Forum Software Help (https://www.supportforums.net/forumdisplay.php?fid=49)
+---- Thread: MyBB Help (/showthread.php?tid=26910)



MyBB Help - Dolan. - 08-11-2012

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?action=finduserthreads without the &uid=13982 will that work?

Sorry if this is a noob question, as I am a noob to MyBB.


RE: MyBB Help - Kewlz - 08-11-2012

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?action=finduserthreads then it will display all the threads made my guests or unregistered users.


RE: MyBB Help - Dolan. - 08-11-2012

Thank you Kewlz! I've got it all working now thanks to you Blackhat