One thing I missed in MyBB is a simple way to show the last discussions I have contributed to. Such an "egosearch" is very useful to avoid discussion backlog.
A discussion about this motivated me to activate this function for my board.
First see here how it looks:
![[Image: attachment.php?aid=37359]](https://camo.mybb.com/c3859c6b1b1870a99269551e1bb6c6e9346852b8/68747470733a2f2f636f6d6d756e6974792e6d7962622e636f6d2f6174746163686d656e742e7068703f6169643d3337333539)
Now, how to do this:
First, edit the template header_welcomeblock_member.
Insert two lines (marked red):
Then, edit the script inc/languages/english/global.lang.php:
Here also two lines, marked red, need to be added:
Finally, if you use language packs, you'll have to update their global.lang.php accordingly. Just like you just updated the default english one.
You see: Activating egosearch on MyBB is easy as a snap!
Enjoy!
A discussion about this motivated me to activate this function for my board.
First see here how it looks:
Now, how to do this:
First, edit the template header_welcomeblock_member.
Insert two lines (marked red):
Quote: <li><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup&modal=1', null, true); return false;">{$lang->welcome_open_buddy_list}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=finduserthreads&uid={$mybb->user['uid']}">{$lang->welcome_mythreads}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=finduser&uid={$mybb->user['uid']}. ">{$lang->welcome_mydiscussions}</a></li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
Then, edit the script inc/languages/english/global.lang.php:
Here also two lines, marked red, need to be added:
Quote:$l['welcome_open_buddy_list'] = "Open Buddy List";Note that I also changed two more lines to reduce screen messiness. Dark blue is the original (included but commented out for comparison). Light blue is the way I changed it to.
$l['welcome_mythreads'] = "My Threads";
$l['welcome_mydiscussions'] = "My Discussions";
$l['welcome_newposts'] = "New Posts";
$l['welcome_todaysposts'] = "Today's Posts";
// $l['welcome_newposts'] = "View New Posts";
// $l['welcome_todaysposts'] = "View Today's Posts";
$l['welcome_pms'] = "Private Messages";
Finally, if you use language packs, you'll have to update their global.lang.php accordingly. Just like you just updated the default english one.
You see: Activating egosearch on MyBB is easy as a snap!
Enjoy!