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
css in usersc
#5
OK, I figured out what's going on here.  users/css/custom.css is the 3rd default css location, as set in the db field settings.us_css3.  This location is put in the db by default during installation.  I proposed that we default to usersc/css/custom.css instead, so that we don't encourage people to put code in users/ that could be overwritten by an update.

On another note, I can't find any way to get to the UI to change this value, so I had to edit the field directly in the database.  There is an admin view called _admin_css_settings.php that allows this setting to be changed, but I can't find anywhere in 4.4 where you can navigate to this view.  If you look in admin.php, nothing includes _admin_css_settings.php.  I remember that you could do this in 4.3, so this appears to be a regression.


So there's 2 issues to be fixed: default to usersc/css/custom.css for the 3rd css location, and provide access in the UI to see/change those css locations.
  Reply


Messages In This Thread
css in usersc - by haydentech - 02-01-2019, 08:08 PM
RE: css in usersc - by mudmin - 02-01-2019, 08:28 PM
RE: css in usersc - by haydentech - 02-01-2019, 08:32 PM
RE: css in usersc - by mudmin - 02-01-2019, 08:33 PM
RE: css in usersc - by haydentech - 02-11-2019, 09:44 AM
RE: css in usersc - by mudmin - 02-11-2019, 10:03 AM
RE: css in usersc - by haydentech - 02-11-2019, 08:44 PM
RE: css in usersc - by mudmin - 02-13-2019, 12:44 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)