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
Private message system
#4
All of that code is not PDO, so you can definitely use it if you just want to create the db connection manually, but it would not integrate as tightly into UserSpice's other classes.

Looking at that code, I think it would be faster to just rewrite it. That's just my opinion. I don't even really know that you need a class at all. These functions could just go into the custom functions, in /usersc

If it were me, I would start with that wall thing and build those functions out to be what you want, rather than working backwards from an older class. Just my opinion.
  Reply


Messages In This Thread
Private message system - by gaborroos - 02-03-2017, 10:44 AM
Private message system - by mudmin - 02-03-2017, 01:23 PM
Private message system - by gaborroos - 02-03-2017, 02:49 PM
Private message system - by mudmin - 02-03-2017, 03:32 PM
Private message system - by gaborroos - 02-03-2017, 03:49 PM
Private message system - by gaborroos - 02-03-2017, 07:11 PM
Private message system - by mudmin - 02-16-2017, 02:34 AM
Private message system - by gaborroos - 02-16-2017, 06:16 AM
Private message system - by mudmin - 02-18-2017, 02:35 PM
Private message system - by mudmin - 02-18-2017, 02:35 PM
Private message system - by mudmin - 02-21-2017, 12:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)