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
Changing Built in UserSpice Files
#1
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.
  Reply
#2
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.

  Reply
#3
Navigation wise, how can I completely omit the inclusion of the
Code:
users
version of navigation and only use my
Code:
usersc
version?
  Reply
#4
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
  Reply
#5
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.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)