The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
custom fields - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: General (https://userspice.com/forums/forumdisplay.php?fid=20) +--- Forum: UserSpice 5 - Roadmapping the Future (https://userspice.com/forums/forumdisplay.php?fid=31) +--- Thread: custom fields (/showthread.php?tid=949) |
custom fields - Brandin - 06-27-2018 You need to create your post within admin_user_system_settings file as well. A sample of this can be found from admin_user.php in the Post section. RE: custom fields - ebzjruiz - 06-28-2018 I keep hitting this error - Undefined index: csrf I tried adding the hidden csrf field to my admin_user_system_settings to no avail RE: custom fields - Brandin - 06-29-2018 You are probably redefining the form or submit button...here is a sample admin_user_system_settings with data... https://pastebin.com/mpB8FHks RE: custom fields - ebzjruiz - 07-02-2018 Ok great, it got it working now thanks! The only thing is there are no error/success blocks. Do I need to alter admin_user.php to display them on update for admin_user_system_settings.php fields? RE: custom fields - Brandin - 07-02-2018 I think this is a known issue if I remember correctly since I use this on my own install-and its because the POST comes after error and success messages. I'll work on a solution for this in 4.4. |