The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
Common Modifications
#5
Issues listed in descending order of priority - more important, in my view, at the top:
  • Changes to DB.php to allow for more than a single condition in WHERE - absolutely necessary, IMHO, to make the query functions usable - http://pastebin.com/0rhnxLB7
  • Changes to Redirect.php to allow passing ?foo=bar&a=b type of arguments while still fixing the absolute/relative business. It was driving me crazy (I develop in different directories and US redirects kept getting mixed up) until I made this change - http://pastebin.com/yvSx71U1
  • Lots of times I want stuff modifiable in init.php Config::get() rather than having to copy stuff into usersc/ and modify the view or be stuck with a modified includes/ or helpers/ script that I have to keep merging. In general I think it's a good idea, whenever deciding on a default value, to put a little conditional to allow users to override that default via config. I know this isn't specific, but it's something I recommend to your attention. (example is just recently redirecting to a given page after logging in - why have a whole custom_login_script.php when you could just put a value in the Config...)
  • Changes in header.php to allow custom CSS for a given page (2 ways provided - one might suffice) - http://pastebin.com/fFWLKvmt
  Reply


Messages In This Thread
Common Modifications - by brian - 09-15-2016, 04:31 PM
Common Modifications - by plb - 09-19-2016, 05:45 PM
Common Modifications - by mudmin - 09-19-2016, 06:00 PM
Common Modifications - by brian - 09-19-2016, 06:24 PM
Common Modifications - by plb - 09-19-2016, 07:15 PM
Common Modifications - by brian - 09-19-2016, 07:33 PM
Common Modifications - by plb - 09-20-2016, 02:47 AM
Common Modifications - by brian - 09-20-2016, 12:31 PM
Common Modifications - by brian - 09-22-2016, 05:59 PM
Common Modifications - by plb - 09-22-2016, 07:52 PM
Common Modifications - by brian - 09-22-2016, 08:09 PM
Common Modifications - by plb - 09-23-2016, 10:57 AM
Common Modifications - by brian - 09-23-2016, 11:01 AM
Common Modifications - by plb - 09-23-2016, 11:22 AM
Common Modifications - by brian - 09-23-2016, 11:26 AM
Common Modifications - by plb - 09-27-2016, 05:50 AM
Common Modifications - by plb - 09-27-2016, 05:54 AM
Common Modifications - by brian - 09-27-2016, 11:26 AM
Common Modifications - by brian - 09-27-2016, 11:28 AM
Common Modifications - by mudmin - 09-27-2016, 11:40 AM
Common Modifications - by plb - 09-27-2016, 11:57 AM
Common Modifications - by brian - 09-27-2016, 11:59 AM
Common Modifications - by mudmin - 09-27-2016, 12:01 PM
Common Modifications - by plb - 09-27-2016, 12:22 PM
Common Modifications - by mudmin - 09-27-2016, 02:14 PM
Common Modifications - by mudmin - 09-27-2016, 02:14 PM
Common Modifications - by mudmin - 09-27-2016, 02:14 PM
Common Modifications - by smugwimp - 10-10-2016, 08:48 AM
Common Modifications - by mudmin - 10-10-2016, 03:18 PM
Common Modifications - by Trioxin - 01-21-2017, 09:45 AM
Common Modifications - by plb - 01-22-2017, 09:30 AM
Common Modifications - by Gandoff - 10-19-2017, 10:42 AM
Common Modifications - by Brandin - 10-21-2017, 04:25 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)