MyBB Community Forums

Full Version: Search.php modifications
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am a regular user of another mybb forum and along with the 'view new posts' and 'view todays posts' under the welcome back text above he has also included 'view your posts' and 'view unanswered posts'

I'm assuming that he has actually modified the search.php file itself as I can't find any plugin etc. that do this. Is there anyway I can do this myself on my forum? i.e. Does anyone have any examples of how I can add extra search routines?

I did ask him how he did it but he won't answer Sad
may be a standard feature. where do those links point to?
For view your posts:

<a href="{$mybb->settings['bburl']}/search.php?action=finduser&uid={$mybb->user['uid']}">View My Posts</a>

Add that to the header_welcomeblock_member template.
(2009-12-13, 10:51 PM)MattRogowski Wrote: [ -> ]For view your posts:

<a href="{$mybb->settings['bburl']}/search.php?action=finduser&uid={$mybb->user['uid']}">View My Posts</a>

Add that to the header_welcomeblock_member template.

Fantastic Big Grin Any more like that?

@frostschutz Example would be search.php?action=getunanswered
For your threads:

<a href="{$mybb->settings['bburl']}/search.php?action=finduserthreads&uid={$mybb->user['uid']}">View My Posts</a>

See this for unanswered: http://mods.mybboard.net/view/unanswered-posts
Thank you Smile