Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add 'My threads' and 'My posts' links to 1.4.x
#1
Lightbulb 
To add quick links in the welcome panel to retrieve user's threads and posts:
Original thread for 1.2 here.

Thanks to mybbromania

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

PHP 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 /> 

this.
PHP Code:
<a 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

see it here caejournal
thanks
[Image: logo-cj.png]
Reply
#2
I use this too from 1.2x tutorial. Nice tip Smile
Reply
#3
thx, this really usefull Big Grin
Reply
#4
thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)