Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 4 Months, 2 Weeks ago Add some stuff to portal welcomebox.
#1
Solved: 4 Years, 4 Months, 2 Weeks ago
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]


Attached Files Thumbnail(s)
       
Reply
#2
Solved: 4 Years, 4 Months, 2 Weeks ago
<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.
Reply
#3
Solved: 4 Years, 4 Months, 2 Weeks ago
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.


Attached Files Thumbnail(s)
   
Reply
#4
Solved: 4 Years, 4 Months, 2 Weeks ago
(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.
Reply
#5
Solved: 4 Years, 4 Months, 2 Weeks ago
Hi! I have replaced it but still same. Please help. Thanks.
Reply
#6
Solved: 4 Years, 4 Months, 2 Weeks ago
start image not working ..
The Writing Talents in The World
Find Tutorial , Create Writing Talents Now
Reply
#7
Solved: 4 Years, 4 Months, 2 Weeks ago
Userstars are not composed in global.php, where the header templates are eveluated. You will need a (small) plugin for that.
Regards, Ad Bakker (NL)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)