× 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
custom fields
#31
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.

  Reply
#32
I keep hitting this error - Undefined index: csrf

I tried adding the hidden csrf field to my admin_user_system_settings to no avail
  Reply
#33
You are probably redefining the form or submit button...here is a sample admin_user_system_settings with data...

https://pastebin.com/mpB8FHks
  Reply
#34
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?
  Reply
#35
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.
  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)