Loading...

Reply To: Get user ID

Home Forums Pie-Register 2.0 Support Get user ID Reply To: Get user ID

#10004373
Arturo Díaz
Participant

I guessed I had to add by code.

I managed to show the ID instead of the email, having something like this:
————————————————————-
| User email: | user_id_I_managed_to_show |
————————————————————-

I would like to add another box, similar to this, but not having to substitute the email for the ID:
————————————————————
| User email: | user_email |
————————————————————
| User ID: | user_id_I_managed_to_show |
————————————————————

Any ideas? Right now I have this case ’email’:

case ’email’ :
$data .= ‘<tr><td class=”fields fields2″>’.$this->addLabel();
$data .= ‘</td><td class=”fields”><span>’.$this->user->data->ID.'</span></td></tr>’;
break;