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
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
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)

Pages: 1 2 3 4


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.