Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 7 Years, 9 Months, 2 Weeks ago Put User Avatar in index and Default avatar for guest?
#1
Solved: 7 Years, 9 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
Hi there. Im looking for solutions on my problem but I cant find anything.

Please help me... Im building a forum and I want to add the avatar users in the index page.

I want to see users avatar when login and when logout or guest, you can see the default avatar.

Ive seen some codes like <img src="{$mybb->user['avatar']}" alt="Avatar" width="50px"; height="50px" />...

the problem on that code is that when a guest browse your forum, you'll see a blank square...

help please. thank you...
#2
Solved: 7 Years, 9 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
+ Install & active: http://mybbhacks.zingaburga.com/showthread.php?tid=260

<if $mybb->user['usergroup'] != 1 then>
<img src="{$mybb->user['avatar']}" alt="Avatar" width="50px"; height="50px" />
<else>
<img src="http://yourlinkimages.png" alt="Avatar" width="50px"; height="50px"/>
</if>
<snip>Smile<snip>
<snip - warez>
#3
Solved: 7 Years, 9 Months, 2 Weeks ago
This user has been denied support. This user has been denied support.
thanks for the help


Forum Jump:


Users browsing this thread: 1 Guest(s)