![]() |
print_chooser_row Problem.
Hey guys, using 3.6.4 Version. And im trying to add to Users field selecting row.
Now added 2 Hooks: Hook: useradmin_edit_column1 Added: print_chooser_row('Select Group', 'user[groupid]', 'groups', $user['groupid']); Hook: userdata_start Added: $this->validfields['groupid'] = array(TYPE_INT, REQ_NO); Now when im going to add user - he's using the following sql cmd. SELECT title, groupsid FROM groups WHERE groupsid.... i get this error because its not the fields i have in my DB, and i have no itention of changing them either, for the reason that i have a whole system running on it, and it will take me ages. NOW.. my question is how can i select the field he'll choose from.. and update only Groupid on users table.. Im out of ideas.. thanks for the help, appriciated. |
Is it groupid or groupsid as you have in your query?
|
in my query i have it as groupid
|
anyone knows the sulotion of this problem? or its not possible... please let me know. thansk
|
All times are GMT. The time now is 09:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|