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
Using a different design/theme with User Spice
#2
Hi and welcome Mark!

Yes, you can use any theme and basically do whatever you want with userspice. The only 3 requirements are:

1. Your pages should have a .php extension.
2. There should be a require_once to users/init.php at the top of your php page.
3. The line that's in all our files
if (!securePage($_SERVER['PHP_SELF'])){die();}

Should be at on every page just after init.php if you want userspice to be able to "protect" that page. Beyond that, everything is fair game.

One thing to note. It's not a good idea to actually edit our core files. It will break updates etc. Instead, we have a nifty system where you can copy any of those php pages over to the usersc folder (copy, don't move) and you'll notice that that file will be loaded instead of ours. From there, you can edit to your heart's content. I hope that helps. Let us know if there's anything else we can help with.
  Reply


Messages In This Thread
Using a different design/theme with User Spice - by markgreenway - 03-31-2018, 08:04 PM
Using a different design/theme with User Spice - by mudmin - 03-31-2018, 11:24 PM
Using a different design/theme with User Spice - by markgreenway - 04-01-2018, 07:38 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)