openmeetings-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "seba.wagner@gmail.com" <seba.wag...@gmail.com>
Subject Re: profile picture url
Date Tue, 05 Feb 2013 08:08:15 GMT
If you plan to login external users with their own profile pic the best way
would be to do the via the REST/SOAP API.
Almost any SOAP/REST call contains the pictureUri as parameter for the
setUserObjectXYZ... call:
http://openmeetings.apache.org/UserService.html

There is some simple sample PHP script that does login some random user
into OpenMeetings (even with a profile pic):
http://svn.apache.org/repos/asf/openmeetings/trunk/plugins/facebook_connect/test.php

Sebastian

Sebastian


2013/2/5 Vieri <rentorbuy@yahoo.com>

> Is there a way to do this on the OM server directly without user/client
> intervention?
> I'd like to do a script which takes the OM user ID as input and searches
> its picture in a custom database and uploads/copies it to the OM server to
> the appropriate user profile directory.
> Is there already a way to do this?
>
> thanks,
>
> Vieri
>
> --- On *Tue, 2/5/13, Maxim Solodovnik <solomax666@gmail.com>* wrote:
>
>
> From: Maxim Solodovnik <solomax666@gmail.com>
>
> Subject: Re: profile picture url
> To: "user" <user@openmeetings.apache.org>
> Date: Tuesday, February 5, 2013, 2:38 AM
>
>
> you should upload picture by updating user profile (this is the only
> option I know)
>
>
> On Tue, Feb 5, 2013 at 2:35 PM, Vieri <rentorbuy@yahoo.com<http://mc/compose?to=rentorbuy@yahoo.com>
> > wrote:
>
> I'm not sure if the pictureurl field in table 'users' can be set to
> something like http://myserver.com/pictures/user_id.jpeg ?
> I suppose not... I believe the picture must be uploaded to the OM server
> "upload" directory.
> Is that right?
>
> Vieri
>
> --- On *Mon, 2/4/13, seba.wagner@gmail.com<http://mc/compose?to=seba.wagner@gmail.com>
> <seba.wagner@gmail.com <http://mc/compose?to=seba.wagner@gmail.com>>*wrote:
>
>
> From: seba.wagner@gmail.com <http://mc/compose?to=seba.wagner@gmail.com> <
> seba.wagner@gmail.com <http://mc/compose?to=seba.wagner@gmail.com>>
> Subject: Re: profile picture url
> To: user@openmeetings.apache.org<http://mc/compose?to=user@openmeetings.apache.org>
> Date: Monday, February 4, 2013, 9:56 PM
>
> yes,
>
> *.psd;*.tiff;*.bmp;*.svg;*.dpx;*.exr;*.jpg;*.jpeg;*.gif;*.png
>
> should all work.
>
> Sebastian
>
>
> 2013/2/5 Vieri <rentorbuy@yahoo.com<http://mc/compose?to=rentorbuy@yahoo.com>
> >
>
> Hi,
>
> Are jpeg pictures allowed/supported for the user profile?
> gif images seem to work but no luck for me with jpeg.
>
> Thanks,
>
> Vieri
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com <http://mc/compose?to=seba.wagner@gmail.com>
>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>


-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Mime
View raw message