MyBB Community Forums

Full Version: Add some stuff to portal welcomebox.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi! I need to add some content in post bit to {$welcome}

I need to add following info:
  • User Avatar
  • Star Rating & User Title
  • Posts Count
  • Threads Count
  • Reputation Count
to portal welcome box. If anyone have done this before please help me. Thanks.


This info
[Image: attachment.php?aid=34515]

To here
[Image: attachment.php?aid=34514]
<img src="{$mybb->user['avatar']}">
<img src="{$mybb->usergroup['stars']}">
{$mybb->user['usertitle']}
{$mybb->user['postnum']}
{$mybb->user['threadnum']}
{$mybb->user['reputation']}

I don't have a test site atm, but I guess these should work.
wow. Thank you very much.  Akay. rep +

Hi! Akay, this field give me empty image.

[Image: attachment.php?aid=34518]

 <img src="{$mybb->usergroup['stars']}">

How can I solve this. Thank you very much.
(06-27-2015, 11:56 AM)vipula Wrote: [ -> ]wow. Thank you very much.  Akay. rep +

Hi! Akay, this field give me empty image.

[Image: attachment.php?aid=34518]

 <img src="{$mybb->usergroup['stars']}">

How can I solve this. Thank you very much.

Try
 <img src="{$mybb->usergroup['star']}">

Instead.
Hi! I have replaced it but still same. Please help. Thanks.
start image not working ..
Userstars are not composed in global.php, where the header templates are eveluated. You will need a (small) plugin for that.