The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Changing Built in UserSpice Files - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29) +--- Thread: Changing Built in UserSpice Files (/showthread.php?tid=378) |
Changing Built in UserSpice Files - Brandin - 11-29-2016 Hey! Currently I have kept track of any files I have made changes to, and I manually upgrade them and re-include my code. If I make the same file in usersc, will it always use that file first? E.g. navigation, header, and stuff like that. Thanks. Changing Built in UserSpice Files - mudmin - 11-29-2016 All the pages in the users folder will autoload the usersc version if it exists. As for the navigation, there is a custom nav in the includes folder of usersc I can't remember if the header works that way as well, but if you are modifying our pages in usersc you can call whatever header you want. Changing Built in UserSpice Files - Brandin - 11-29-2016 Navigation wise, how can I completely omit the inclusion of the Code: users Code: usersc Changing Built in UserSpice Files - mudmin - 11-29-2016 We pretty much never update navigation.php. To be honest, I think you're fine overwriting that file with your own and just keeping an eye out for updates that touch it. I don't really see updating that file before 5.0 Changing Built in UserSpice Files - Brandin - 11-29-2016 Cool. I usually export the ZIP into an updates directory, check all the files and than overwrite. This 4.2 update just really concerned me because there were a lot of files I thought I had made changes to, but not as bad as I thought. |