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
UserSpice 5.0 Roadmap as of 9/11/2016
#9
There was some discussion a while ago about a different implementation of usersc wrt forms. IIRC the place the discussion ended in my mind was with a bunch of identical files (perhaps even linked?) in users/ which did nothing except include from either users/bare_forms or usersc/custom_forms or something like that. Did that ever go anywhere?

Another option would be to have a single script (userspice.php?) in users/ and you would call it like this:

Code:
http://www.example.com/mydir/users/userspice.php?f=admin_user&id=3

userspice.php would BE just like those "identical files" mentioned above, but it would get the name of the form it was loading from the $_REQUEST['f'] parameter and do the include based off of that.

I'm not sure if this is an improvement or not - it avoids the redundant copies of an identical file, but makes things a little less simple/standard, perhaps...

Presumably it would be nice to have a configurable variable which contains an array of directories in which userspice.php would look for these bare forms. That would allow a developer to put their bare forms elsewhere besides mixed in with the userspice code. The Redirect() could then take advantage of this as well...

Which, since we're on the topic, the Redirect() could use some tender loving care. I had put in a suggestion a while back to avoid all these redirect problems (I get them all the time until I re-apply my fix). But standardizing on either an absolute or a relative redirect across the entire project and then making sure Redirect() works regardless of what directory we start in would be a nice direction for US5 to take in the near future...
  Reply


Messages In This Thread
UserSpice 5.0 Roadmap as of 9/11/2016 - by mudmin - 09-11-2016, 06:47 PM
UserSpice 5.0 Roadmap as of 9/11/2016 - by mudmin - 09-11-2016, 08:37 PM
UserSpice 5.0 Roadmap as of 9/11/2016 - by mudmin - 09-11-2016, 08:39 PM
UserSpice 5.0 Roadmap as of 9/11/2016 - by plb - 09-20-2016, 04:18 AM
UserSpice 5.0 Roadmap as of 9/11/2016 - by brian - 09-20-2016, 12:12 PM
UserSpice 5.0 Roadmap as of 9/11/2016 - by plb - 10-05-2016, 11:17 AM
UserSpice 5.0 Roadmap as of 9/11/2016 - by brian - 10-05-2016, 11:21 AM
UserSpice 5.0 Roadmap as of 9/11/2016 - by plb - 10-06-2016, 04:17 AM
UserSpice 5.0 Roadmap as of 9/11/2016 - by brian - 10-06-2016, 01:22 PM
UserSpice 5.0 Roadmap as of 9/11/2016 - by mudmin - 10-06-2016, 01:45 PM
UserSpice 5.0 Roadmap as of 9/11/2016 - by plb - 10-06-2016, 06:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)