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
Incremental Membership Number instead of Username?
#3
I have an idea that @brandin might have an opinion on. What if you setup a cron job to insert and delete a blank user at midnight. Note that because of length issues, you can't do the full year, but you can do:
$db->insert('users',['id'=>'182308000');
$db->delete('users',array('id','=','182308000'));

Or I guess you could just have it do
$db->query("ALTER TABLE users AUTO_INCREMENT = 182308000");

Set that to happen every night at midnight and all the other ids should fall into place.

We would have to help flesh a little more of this out, but it could work.
  Reply


Messages In This Thread
RE: Incremental Membership Number instead of Username? - by mudmin - 08-23-2018, 10:47 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)