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: user_email_lookup 1.00

Author: rusty [Info]


Enter an email address, look up a username. Designed for the admin tool box. empty box is a box with just |content| as its contents.

Box Code:

return '' unless ($S->have_perm('edit_user'));
my $email = $S->cgi->param('email');
my $vars = $S->cgi->Vars();
my $args;

foreach my $key (keys %{$vars}) {
next unless ($key eq 'op' or
$key eq 'tool' or
$key eq 'sid' or
$key eq 'page' or
$key eq 'cid' or
$key eq 'pid' or
$key eq 'qid');
$args .= qq{
<INPUT TYPE="hidden" NAME="$key" VALUE="$vars->{$key}">};
my $ret;
if ($email) {
my $q_email = $S->dbh->quote($email);
my ($rv, $sth) = $S->db_select({
WHAT => 'nickname',
FROM => 'users',
WHERE => qq{realemail = $q_email OR origemail = $q_email}

my $user = $sth->fetchrow();
$user = 'none found' unless $user;

$ret = qq{
Email: <b>$email</b><br>
User: <b>$user</b>

$ret .= qq{
<FORM ACTION="|rootdir|/" METHOD="POST">
|norm_font|Lookup user by email:<br>
<small><input type="text" size="10" name="email">
<input type="submit" VALUE="Go">

return {content => $ret};
Display: Sort:
Reader (none / 0) (#1)
by Kelonesde on Fri Apr 20, 2018 at 05:32:47 AM PST

Scoop box exchange is really a good and productive idea of blogging. We can try to create the new impact of uk assignment through this blog. I am working as a writer. I found this blog so much interested. I must say this is the best blog from all the other blogs.

Deserunt consequatur enim ut aut rem quaerat aut m (none / 0) (#2)
by nepuqa on Fri Jun 29, 2018 at 04:31:18 PM PST

Laudantium nostrum iste elit iure totam incididunt fugiat corrupti fugiat et voluptates qui nihil est sed voluptatem good essay writing companies

Thanks (none / 0) (#3)
by kiarawillson92 on Thu Nov 15, 2018 at 04:49:41 AM PST

THanks a lot for helping me out in this and I was wondering how will it gonna implement but you made it quite simple and easy! Thanks! PennySaviour

  • Best site by andymark, 01/19/2019 02:45:31 AM PST (none / 0)
Nice Article (none / 0) (#5)
by andymark on Sat Jan 19, 2019 at 02:46:06 AM PST

Wow i can say that this is another great article as expected of this blog.Bookmarked this site.. Visit for Puzzle Games

Nice Post (none / 0) (#6)
by andymark on Sat Jan 19, 2019 at 02:47:33 AM PST

I was very pleased to discover this website. I wanted to thank you for your time for this fantastic read!! Visit for Arcade Games

eliza (none / 0) (#7)
by uali20 on Mon Feb 18, 2019 at 06:39:10 PM PST

I think that thanks for the valuabe information and insights you have so provided here. 먹튀사이트

create account
report bugs
Scoop Administrators Guide
Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
Almost there...

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