The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Status Update 010
#1
These were all Brandin's fixes. Cron manager updates and permission fixes primarily. Thanks Brandin!
  Reply
#2
Most welcome - someone please throw some tests towards this to make sure I wasn't blinded by thinking it was all working - and looking forward to @karsen's updates too!
  Reply
#3
admin_user.php has a modal called "System Settings" - it is empty, meant for admins to put whatever they want in there.

Maybe we should do something similar to admin_info_panels with that? You want to pop that code in there? Shouldn't take long!
  Reply
#4
I'll have to check it out. I think the admin panel could use a redo graphically. @Picasso had some great rewrites but a language barrier made it tough for us to work out those details.
  Reply
#5
https://userspice.com/forums/topic/a-new-interface/
  Reply
#6
Yes...I love that admin panel, it's so pretttttttttttttty. But I didn't ever work it in since I made my own changes.
  Reply
#7
I broke a tooth and had to get it fixed, then spent a couple days relaxing at home on my weekend! I'll download 010 and test it out and get my notifications in there. I also want to see if any of my other modifications will be easily added, but I do have a custom permissions system and it might take some work to convert it back to US permissions.
  Reply
#8
Ouch. Sorry about that.
I appreciate all your work.
  Reply
#9
Here is my notifications class:
https://pastebin.com/B7B3xzen

navigation.php:
https://pastebin.com/Yp0zNwYQ

getNotifications.php (Ajax parser):
https://pastebin.com/VJ38bzwd

page_footer.php
https://pastebin.com/aETkyRLX

I did have an issue with the font colors on my end being white despite any css changes. I didn't immediately see any reason for it to happen. I also have a style change for the 'new' badge but wasn't sure where to put it. Maybe simply in a style tag right above the notifications modal?
Code:
.badge-notif {
Code:
font-size: 8px;
Code:
background: #245eb3;
Code:
}

A new notification can be added easily:
Code:
$notifications->addNotification($message, $id);

For example:
Code:
$msg = 'A new time off request requires approval. <a href="'.$us_url_root.'users/staff_timeoff_approval">Go to page</a>';
Code:
$notifications->addNotification($msg, $empId);
  Reply
#10
I must have done something wrong...getting an error saying it can't find the class...shouldn't the autoLoader pick this up?

I added this in /classes/

Or did you put this in custom_functions?
  Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)