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?
#6
You can log any user in by adding their User ID to the Session and Redirecting them. That will trigger the login function. For example, I have a page that I allow localhost only use from that just gives me a list of users and I pick which one I want to be and it just logs me in-never see a password field. My best recommendation is explore the code a bit, and find out what solution you would find the best to implement.

I believe there is a function called usernameExists, if so, you could foreach and loop from 0 with a concatenation of the date and go until it returns false. Although relatively light queries-just remember that could be a lot of queries.

Thank you,
Brandin.
  Reply


Messages In This Thread
RE: Incremental Membership Number instead of Username? - by Brandin - 08-29-2018, 05:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)