The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Status Update 014 - 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 014 (/showthread.php?tid=745) Pages:
1
2
|
Status Update 014 - mudmin - 09-14-2017 This is a pretty hefty update. Requires new SQL Added pagination to users, pages, tomfoolery and maybe a few other places. It's easy to do other places and also to customize. Pagination CSS looks a little weird on standard.css, but the other ones look good for the most part. I pushed the default bootstrap css as the default in the sql dump. Started tabbed interface on the dashboard. I think we can still simplify those main panels. Plus everything Brandin did with system logs as well as his new functions. I don't think the log feature is toggling properly. I ran out of time to check on this. See his post for more info... https://userspice.com/forums/topic/status-update-013/#post-5940 Thanks for everything! Status Update 014 - mudmin - 09-14-2017 Oh, I also started breaking the admin panel into different views. It was getting pretty unruly. Status Update 014 - karsen - 09-14-2017 Downloaded and installed this version. I just got to work and don't have much time to look at it right now but here are my first impressions: -The settings lists in the admin dashboard tabs are fairly long, I'd split them into 2-3 columns -I love the pagination, what if we combine both JS files into one so users don't accidentally forget to include one of the files and waste time figuring out why things don't work as expected? -The system log manager button to enable/disable isn't mapped to any jQuery and I can't immediately see what it's supposed to to. I wasn't sure if Brandin would be making any notification changes so I haven't worked on them, but since he didn't I'll add the requested features from other threads. I'll see if I can tackle these and a few other things once things settle down today. Status Update 014 - Brandin - 09-15-2017 When I copied over the enable/disable buttons from places like the Cron Manager and System Logs Manager, I couldn't get them to work for some reason - and didn't have enough time to re-examine the code, so we should take that button out. I think they are fine to edit by default. Unless you guys would wish for them to be disabled by default in which case I'll have to rexamine the code. Status Update 014 - karsen - 09-15-2017 It should be easy enough to re-code them. I still understand what exactly they should do, but if you explain it to me we can write out any PHP or jQuery needed. --- Cosmetic changes- admin.php (https://pastebin.com/EjGpWHqE): -Set tab1 to active by default when $_GET['tab'] isn't set views/_admin_site_settings.php (https://pastebin.com/jYscGBnY): -Tabbing fixed -Content moved into two columns at media screen size small and above -Submit button centered views/_admin_login_settings.php (https://pastebin.com/QwjQCqbi): -Tabbing fixed -Content moved into two columns at media screen size small and above -Submit button centered -This view has uneven columns because I didn't want to split up the oAuth settings Status Update 014 - Brandin - 09-15-2017 Here is all the JS related stuff in my project on system logs manager page: http://pasted.co/fbd2df36 The #enable part is related to the button The function after this makes them editable, then disables them And the scripting for the button: http://pasted.co/92c9fce5 I don't know why it is not working - on my end - it would load them, and they would show as links, but I could not edit them, until I removed the disable function and just let them be what they are by default. Status Update 014 - karsen - 09-15-2017 Cool, I'll take a look into it. --- Here's updated notifications code to add pagination and a site setting to specify when to auto-archive read notifications. There are new optional constructor parameters to specify whether to get current or all notifications and to specify the archive day limit. I've updated Code: includes/navigation.php Code: parsers/getNotifications.php Add site setting for days to keep notifications before archiving: ALTER TABLE Code: settings Code: notif_daylimit Add notification setting to define archive status: ALTER TABLE Code: notifications Code: is_archived Code: is_read Code: parsers/getNotifications.php Code: classes/Notification.php Code: includes/page_footer.php Code: includes/navigation.php Status Update 014 - karsen - 09-15-2017 This code should work now for your enable/disable button: https://pastebin.com/jjrLY3kz I moved all your code into the document.ready function, and fixed the elements that are affected. Status Update 014 - mudmin - 09-15-2017 Combining the pagination JS files broke them pretty much no matter how I tried it. But I have a gift for breaking javascript. Status Update 014 - mudmin - 09-15-2017 I didn't see your changes. I had already split them. Let me push mine and then I'll go back and get your tabs. I made a lot of the same changes. Thanks for your help. |