You can set an absolute URL for the profile picture URL by:

Adding the params:
absolutePicUrl=1
and
picture=YOUR_HTTP_ADDRESS

as URL-Params to the URL where you append also the Hash to.

Sebastian

2011/10/16 Richard Krieger <[email protected]>:
> 1. Use NUSOAP
> 2. PHP Source:
> // init SOAP
> $usClient=new
> nusoap_client(http://www.myhost.com:5080/openmeetings/services/UserService?wsdl,
> "wsdl");
> $usClient->setUseCurl(true);
> $usClient->soap_defencoding = "UTF-8";
> // get Session ID
> $result = $usClient->call('getSession');
> $session_id = $result["return"]["session_id"];
> // login as ADMIN user
> $params = array('SID' => $session_id,'username' => 'admin','userpass' =>
> 'password');
> $result = $usClient->call('loginUser',$params);
>
> // create Link to enter Room
> $linkParams=array(
> 'SID' => $session_id,
> 'username'=>'Max Mustermann',
> 'firstname'=>'Max',
> 'lastname'=>'Mustermann',
> 'profilePictureUrl'=>'',
> 'email'=>[email protected],
> 'externalUserId'=>'',
> 'externalUserType'=>'blabla',
> 'room_id'=>20,
> 'becomeModeratorAsInt'=>1,
> 'showAudioVideoTestAsInt'=>0
> );
> $result =
> $usClient->call('setUserObjectAndGenerateRoomHashByURL',$linkParams);
> $rgwert='http://www.myhost.com:5080/openmeetings/?secureHash='.$result["return"];
> // HTML
> echo '<a href="'.$rgwert.'">klick now to enter room(active for short
> time)</a>';
> 3. Parameter for SOAP Calls:
> open in your Browser
> for User Service:
> http://www.myhost.com:5080/openmeetings/services/UserService?wsdl
> for Room Service
> http://www.myhost.com:5080/openmeetings/services/RoomService?wsdl
> for File Service
> http://www.myhost.com:5080/openmeetings/services/FileService?wsdl
> ######################################
> IS SIMPLE :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openmeetings-user/-/1D1tgJLf8okJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>



-- 
Sebastian Wagner
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to