× 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
#11
Ok I'm back the new fields are not going into the db. I added the columns. Help Please.
  Reply
#12
You need your update statement:
$db->update('users',$theNewId,['column' => $value]);
  Reply
#13
What file do I place it in? I'm using _join.php
  Reply
#14
You don't have to modify the views/_join at all.

You add your extra form fields to:
additional_join_form_fields.php

And you add the PHP we gave you here:
during_user_creation.php
  Reply
#15
Thank You Your The Best. Great program. I have told everyone I know about it. Also the support is GREAT!!!!!
  Reply
#16
How do you suggest adding new fields when creating users manually? I do not let my users register
  Reply
#17
Add this to admin_users.php before the Send Email checkbox.

Code:
<?php include($abs_us_root.$us_url_root.'usersc/scripts/additional_join_form_fields.php'); ?>

The SQL is included by default.
  Reply
#18
Ok so in users/admin_user.php? Should I copy to usersc?
  Reply
#19
admin_users.php - and yes.
  Reply
#20
So how do you ensure these fields are be included in editing users?
  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)