Scoop -- the swiss army chainsaw of content management
Front Page Everything News Code Help! Wishlist Project Scoop Sites Dev Notes Latest CVS changes Development Activities
Scoop Box Exchange - Show Box: show_avatar 1.00

Author: on2raj [Info]


Displays a user's avatar

Box Code:

##### START show_avatar ######
# show_avatar scoop box by Jason Eaton
# This box takes a single-quote enclosed user nick
# as an argument, and displays an IMG tag with the
# value of the user's avatar embedded within it.
# Depends on "choose_avatar" and "set_avatar" to
# work correctly, but is easily changeable.
# Guidance on proper use of the avatar can be
# placed in the block "avatar_information" to
# assist users with finding, hosting, and setting
# their avatar, but this is not required

my ($rv, $sth) = $S->db_select({
WHAT => 'avatar',
FROM => 'avatar',
WHERE => "user = $ARGS[0]",
my $avatar = $sth->fetchrow_hashref();
my $content ;
my $content .= qq{
<!--this is the avatar box's returned value -->
<img src="$avatar->{avatar}" height="80" width="80" >
<!-- this is after the avatar img tag -->

return $content;

## END show_avatar
Display: Sort:
Thank you (none / 0) (#1)
by gailbrown on Sat Mar 23, 2019 at 05:31:29 AM PST

Writing ought to be finished thinking about all the language, stylistics, peruser's consideration focuses issues. It is difficult. We can perceive how composing creates, in light of the fact that we utilize everything the time and should make sure that everything's alright incredible. Come here best essay writing service and see what can be made strides. On the off chance that you need article related point you can go for best essay writing service will show signs of improvement result.

hi (none / 0) (#2)
by Nisha Knapp on Thu Oct 28, 2021 at 11:02:07 PM PST

You effectively manage your team and conduct specific task to have these incredible features and content. I would love to make this my guide. Thanks. 사설토토사이트

create account
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
Keepers of Lists
Got Lists? We've got over 1800

Make a new account

Hosted by Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest 1999 The Management

create account | faq | search