09-07-2016, 04:19 PM
If I understand the use of the usersc directory it allows me to modify the core of US and still not interfere with updates to US.
In other words, if I make a change to users/foo.php I put my changed copy in usersc/foo.php and my customized version overrides the original.
However, users/includes/navigation.php and usersc/includes/navigation.php are different in this respect. The expectation is that the copy in users will have the standard US menus whereas the copy in usersc (which exists from initial install) creates a separate menu in a different horizontal space in the top bar.
What if I want to change the US menu, adding my items to that menu? How do I override users/includes/navigation.php.
IMHO the custom menu (in a separate horizontal space) should be named usersc/includes/alt_nav.php or something like that. Then if I copy users/includes/navigation.php into usersc/includes/navigation.php then I could actually make the usual override...
Of course now the difficulty is backwards compatibility for all those who have a copy of UserSpice with an existing (either modified or unmodified) usersc/includes/navigation.php.
Anyway, I would just like to see a consistent use of usersc and I would like to have the viable capability of overriding navigation.php without causing problems with future upgrades...
In other words, if I make a change to users/foo.php I put my changed copy in usersc/foo.php and my customized version overrides the original.
However, users/includes/navigation.php and usersc/includes/navigation.php are different in this respect. The expectation is that the copy in users will have the standard US menus whereas the copy in usersc (which exists from initial install) creates a separate menu in a different horizontal space in the top bar.
What if I want to change the US menu, adding my items to that menu? How do I override users/includes/navigation.php.
IMHO the custom menu (in a separate horizontal space) should be named usersc/includes/alt_nav.php or something like that. Then if I copy users/includes/navigation.php into usersc/includes/navigation.php then I could actually make the usual override...
Of course now the difficulty is backwards compatibility for all those who have a copy of UserSpice with an existing (either modified or unmodified) usersc/includes/navigation.php.
Anyway, I would just like to see a consistent use of usersc and I would like to have the viable capability of overriding navigation.php without causing problems with future upgrades...