The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
A patching question..
#2
Awesome. Glad you're liking it so far.

In general, there's not really a performance benefit to deleting those columns. I don't think you'll run into issues as far as patching is concerned, though.

Basically, you'll want to do a find through the code and look for anything that calls $user->data()->fname and lname. I've programmed a lot of that out through the echouser function (so you can just set that to Username) in the admin dashboard. The only place I can think you might run into issues is on some of the email things and the user_settings page.

Anything you change that is a "core" userspice file should be done in usersc/

You'll have to change the path to the includes, etc, but the gist of it is that if you've modded a file (let's say login.php) if yours is in usersc/login.php it will ignore the core one and use yours, so the patches will not break your mods.
  Reply


Messages In This Thread
A patching question.. - by wickey312 - 05-02-2017, 07:40 PM
A patching question.. - by mudmin - 05-03-2017, 01:39 PM
A patching question.. - by wickey312 - 05-09-2017, 01:22 PM
A patching question.. - by Brandin - 05-09-2017, 07:04 PM
A patching question.. - by wickey312 - 05-09-2017, 07:17 PM
A patching question.. - by firestorm - 05-09-2017, 07:31 PM
A patching question.. - by mudmin - 05-09-2017, 09:54 PM
A patching question.. - by mudmin - 05-09-2017, 09:58 PM
A patching question.. - by faguss - 05-28-2017, 09:21 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)