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
scripts - 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: scripts (/showthread.php?tid=975)



scripts - rjs5327 - 02-23-2018

Is there a reason that the blank page code from users folder doesnt work in the scripts folder under usersc folder?

Im tring to add the header and footer to the error pages.

RJ


scripts - Brandin - 02-24-2018

I don't quite understand your question...


scripts - rjs5327 - 02-24-2018

Take banned.php for example. If i would add the

require_once 'users/init.php';
require_once $abs_us_root.$us_url_root.'users/includes/header.php';
require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';

to it it will fail on line of the first require

RJ


scripts - rjs5327 - 02-24-2018

which means i cant add the header or the footer to a page like that or say token_error. Unless i just did a redirect to the base Usersc folder with the blank page template and what ever i want inside.

What i am looking at is making it cohesive like a 404 error in wordpress doesnt take you out of the theam.

RJ


scripts - Brandin - 02-24-2018

Use ../users/