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
/printthread.php 16 require_once



UserSpice
Additional Folders... - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Additional Folders... (/showthread.php?tid=194)



Additional Folders... - A.Long - 07-25-2016

So I read the walk thru, and all was going well until the point of the admin_pages.php and to find the variable. There doesn't appear to be a $uspages variable, so adding your own custom to monitor additional pages seems to not work so well. US4.1 is the version I'm using. Any suggestions? I know I saw you mention that you were going to change the way it handles. Any details would be great.


Additional Folders... - mudmin - 07-26-2016

Sorry. Totally my fault. As of 4.1 you add to the array on line 2 in the file z_us_root.php. By default it looks like this...

Code:
$path=['','users/','usersc/'];

You can just keep adding folders relative to the root in there.


Additional Folders... - A.Long - 07-26-2016

Awesome, that did the trick! Thanks!