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
To here
<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.
<img src="{$mybb->usergroup['stars']}">
How can I solve this. Thank you very much.
(2015-06-27, 11:56 AM)vipula Wrote: [ -> ]wow. Thank you very much. Akay. rep +
Hi! Akay, this field give me empty image.
<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.