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]

Description:

Displays a user's avatar

Box Code:

##### START show_avatar ######
# show_avatar scoop box by Jason Eaton
# http://www.on2raj.org
# 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.



Menu
create account
faq
search
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
Kuro5hin.org
Cooler than Adequacy.org

Login
Make a new account
Username:
Password:

Hosted by ScoopHost.com 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