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

Author: theantix [Info]

Description:

This box just very simply lists all of the users, ordered by user id

Box Code:

#return nothing for non-admins
return '' unless $S->have_perm('story_admin');

my ($rv,$sth) = $S->db_select({
WHAT => 'u.nickname, u.uid',
FROM => 'users u',
ORDER_BY=> "u.uid"
});

my $return='<div class="userlist">';

if ( $rv ) {
while (my $r = $sth->fetchrow_hashref) {
$return .= '<a href="/scoop/user/uid:' . $r->{uid} . '">' . $r->{nickname} . ' <br />';
};
}

$sth->finish();

$return .= '</div>';

return $return ;
Display: Sort:
Some more info (none / 0) (#1)
by cam on Sat Mar 26, 2005 at 09:52:44 AM PST

This line;

$return .= '..... etc etc etc';

Needs the "a" tag to be closed. Also to have the users list by descending order and limit it to the last ten users replace the SQL statement with;

my ($rv,$sth) = $S->db_select({
    WHAT => 'u.nickname, u.uid',
    FROM => 'users u',
    ORDER_BY=> "u.uid DESC",
    LIMIT=> "0,10"
});

cam



User (none / 0) (#2)
by BrendaDCoulson on Thu Nov 08, 2018 at 01:22:41 AM PST

That box code facilitated me athe assignment help lot. I have tried it and it worked. I am sure you have done a lot of hard to make this statement but thanks just because of you have the access to this path.



packers and movers Pune (none / 0) (#3)
by Sumitsingh72 on Sat May 11, 2019 at 05:26:36 AM PST

Get simple Home Shifting Services in Pune with Shiftinindia More info :- movers and packers in pune packers and movers charges packers and movers charges in Pune



movers and packers in Hyderabad (none / 0) (#4)
by Sumitsingh72 on Sat May 11, 2019 at 05:27:08 AM PST

Bother Free Packers and Movers in Hyderabad through Shiftinindia More info :- movers and packers in Hyderabad packers and movers charges in Hyderabad packers and movers Pune to Mumbai



packers and movers in Mumbai (none / 0) (#6)
by varsah on Mon Jun 10, 2019 at 07:02:53 AM PST

packers and movers in Mumbai home shifting services in Mumbai packers and movers Mumbai Charges packers and movers Charges



great (none / 0) (#7)
by heenacruzl on Thu Jan 16, 2020 at 09:39:34 PM PST

I feel admired by your work and wonder how you manage this blog so well. It was great that I could see this valuable information whenever I surf the internet. Skid Racers



hey (none / 0) (#8)
by mahamkhan on Tue Apr 28, 2020 at 11:53:41 AM PST

Blogs are something I really enjoy writing and I have even written a few. But I have only posted one of them on https://altounlockpdf.com/blog. It is a very interesting blog that I psoted, many people liked it, I am very pleased.



hey (none / 0) (#9)
by mahamkhan on Wed Apr 29, 2020 at 02:12:02 PM PST

Online Employee Salary details are available on the IFMIS Pay Slip website i.e. Online Employee Pay Slips Generating Official Website.TS Salary slip TS Employees can Download the Month wise Online Employee Pay Slip, Salary Certificate and also Salary Slips (శాలరీ స్లిప్) in PDF Format from the PD Treasury Telangana Website.



Best Rottweiler Breeder (none / 0) (#10)
by mahamkhan on Mon May 11, 2020 at 08:53:50 AM PST

Buy German Rottweiler puppies from the breeders at affordable price.Shop Today. Buy healthy Puppies. Discount up to 50% Free shipping within USA and Europe. Best Rottweiler Breeder



GOOD (none / 0) (#11)
by mahamkhan on Tue May 26, 2020 at 01:36:55 AM PST

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. 토토사이트



GOOD (none / 0) (#12)
by mahamkhan on Tue Jun 16, 2020 at 04:55:56 AM PST

If you are in constant search of the perfect weed strain that will suit your various physical and mental needs, look no further, Mega Weed Bud Shop will offer you that and more. Our service goes beyond the computer screens and courier companies; we extend it to your lifestyle so you can live your life better the way a happy person should. If you want to buy weed online in USA, just choose and you shall receive - discreetly and securely. Better yet, contact our customer support if you need help with the kind of strain and dosage to suit your needs. Yes, we want to help you in any way we can. That is what our online weed shop in USA is all about. Vape cart online



Hmm (none / 0) (#13)
by Jon889 on Wed Aug 26, 2020 at 09:39:02 AM PST

Thank you for this. This is informative. Digital Marketing Agency Toronto



GOOD (none / 0) (#14)
by mahamkhan on Wed Sep 23, 2020 at 06:37:48 AM PST

You ought to basically fantastic not to mention solid advice, which means notice: https://caldwells.com/interior-doors/contemporary-doors



Wonderful! (none / 0) (#15)
by chrisjohn2211 on Wed Sep 08, 2021 at 09:11:10 AM PST

It is really wonderful and informative! Thanks! click



  • Thank you! by diplo777, 09/09/2021 05:58:34 AM PST (none / 0)
Thanks (none / 0) (#18)
by diplo777 on Thu Sep 09, 2021 at 06:01:50 AM PST

Looking awesome! concrete company greenville fence installers charlotte nc



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

Scoop Site Scroller: Get one yourself!
Smokedot
It's 4:19... do you know where your bong is?

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