MyBB Community Forums

Full Version: add toplink for egosearch?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Long story short: an egosearch is where you search the forum for yourself. It is any thread you posted to whether you authored them or not.

I had a method that worked on mybb 1.8.9 but now we updated to the latest mybb version and this same method does not work. By making this core edit now, it actually breaks the search.php to give a blank page now.

Does anyone know how to replicate this code in the newest mybb version? It is basically going into advanced search and enter your own username, and hit search. That is the same results, but just by clicking a toplink instead.
Perhaps try inserting this HTML into your header_welcomeblock_member template just below the line <ul class="menu user_links">:

<li><a href="search.php?action=do_search&author={$mybb->user['username']}&matchusername=1&showresults=threads&postthread=1">Egosearch</a></li>
wow, that is so much easier, thank you very much.