The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.28 (Linux)
|
![]() |
Status Update 004 - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26) +--- Thread: Status Update 004 (/showthread.php?tid=669) Pages:
1
2
|
Status Update 004 - Brandin - 08-22-2017 I got bored so here you go.... -admin.php -admin_user.php -join.php -user_settings.php -forgot_password_reset.php -/includes/header.php -/views/join.php Your SQL: http://pasted.co/1d6fd962 You can download the files here: http://aircentralized.com/us4alphadump.zip Status Update 004 - Brandin - 08-23-2017 @Mudmin Thoughts on modifying the fetch all users class to order by first name, last name? ID is useful...but painful in most circumstances! Thank you Status Update 004 - karsen - 08-23-2017 I would modify the function to take an optional order-by column so current functionality is unchanged. Status Update 004 - Brandin - 08-23-2017 I like that idea ^ Status Update 004 - mudmin - 08-25-2017 Ok. I made two optional arguments. OrderBy and True. Basically you can call Code: $bob = fetchAllUsers("logins"); dump($bob); or Code: $bob = fetchAllUsers("logins",TRUE); dump($bob); Here's the code. I'm pushing it to 4.3 if no one has any modifications. https://pastebin.com/MLLEh16E Status Update 004 - mudmin - 08-25-2017 You are awesome! Thanks for putting this together! Status Update 004 - Brandin - 08-25-2017 No modifications for me - and you're welcome ![]() |