Support Forums

Full Version: MyBB Header option: View your threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey anyone know where I can access this option? I have been looking for it.

I have my own site, which I want it for like this one.
You need to edit the template and implement it yourself.
alright im editing it now, but my next question is what is the variable for a users ID?
anyone know what it is?
The variable for the currently logged in user is {$mybb->user['uid']}
thanks that helped alot Smile
I don't know if you got this done yet or not, but, here you go:

For MyBB 1.4.x, find this snippet in
ACP -> Template -> header_welcomeblock_member

Code:
<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a>  |  <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a>  |  <a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}<br />

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

This may vary depending on the theme, but, you can really put it wherever you'd like using the code that you have to add.
For my Theme its not working Sad
Then you're not doing something right, it's just a link.
Yeah that code that is up there is correct, I literally copy and paste it to all the MyBB sites I've ever run.
I'm vouching for Grizzly's code too. I just used it, works fine.
Pages: 1 2