I appreciate all the help so far but having an issue when trying to incorporate the code for a custom field.
On this link you have this:
http://stackideas.com/docs/easysocial/developers/users/users
On the bottom you have the topic:
Setting custom field value (1.2)
With directions for the code:
I have integrated except replacing "some value here" with my key id and that data does not show.
Now I've been able to grab other data using your directions as indicated in this forum:
http://stackideas.com/forums/es-api-implementation-for-users
If you read that we were able to do this with unique code to grab the user id url string ...
See sample below:
So here are the two issues (know that I've been able embed other data from you API ) but cannot with custom field.
1. I tried to just put in your code as I described above except replacing 'some value here' with my key id which in this case was key id "TEXTBOX-1" from custom field found in:
Profile types/Undergraduate/Education/College or University
The code you showed in your api did NOT work.
2. Ideally I would love to code to match what we are doing in the post http://stackideas.com/forums/es-api-implementation-for-users as I'm sharing this with cobalt users so they can see the great integration between your two products using your API.
Anyway i guess the first step is just trying to get the api to work and the hopefully customize the code so it matches what we are doing in the other post.
Thanks!
On this link you have this:
http://stackideas.com/docs/easysocial/developers/users/users
On the bottom you have the topic:
Setting custom field value (1.2)
With directions for the code:
equire_once( JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php' );
$my = Foundry::user();
$state = $my->setFieldValue( $key , 'some value here' );
I have integrated except replacing "some value here" with my key id and that data does not show.
Now I've been able to grab other data using your directions as indicated in this forum:
http://stackideas.com/forums/es-api-implementation-for-users
If you read that we were able to do this with unique code to grab the user id url string ...
See sample below:
$userIdRaw = JRequest::getVar('user_id');
$userId = strstr($userIdRaw, ':', true) ?: $userIdRaw;
echo Foundry::user($userId)->getName();
So here are the two issues (know that I've been able embed other data from you API ) but cannot with custom field.
1. I tried to just put in your code as I described above except replacing 'some value here' with my key id which in this case was key id "TEXTBOX-1" from custom field found in:
Profile types/Undergraduate/Education/College or University
The code you showed in your api did NOT work.
2. Ideally I would love to code to match what we are doing in the post http://stackideas.com/forums/es-api-implementation-for-users as I'm sharing this with cobalt users so they can see the great integration between your two products using your API.
Anyway i guess the first step is just trying to get the api to work and the hopefully customize the code so it matches what we are doing in the other post.
Thanks!