[MTOS-dev] Userpic support

Paul Lindner lindner at inuus.com
Thu Jun 14 18:33:48 PDT 2007


On Wed, Jun 13, 2007 at 08:26:30PM -0700, Chris Ernest Hall wrote:
> What was implemented in MT4 was commenter authentication by OpenID.  
> What Paul is talking about, I believe, is the ability to be able to  
> bring a userpic in through OpenID authentication, which has not been  
> implemented. It's a good idea; hopefully someone will run with it.

Yes, for commenters _and_ authors.  In fact, I don't care about
commenters for the moment.

I suppose I could just add an userpic_url meta field for the mt_author
table and then surface that as a new tag, and some ui in the edit
author page...

Is this the right way?

  * Add meta field to MT::Author
  * Add code to MT::App::CMS to allow editing of 
    the userpic_url setting
  * Add code MT::Template::ContextHandlers to define a new tag
    EntryAuthorUserPicURL that returns the URL
  * Modify the default templates to place the userpic in the
    appropriate place, probably at the end of the entry where
    everyting else is attributed.
  * Investigate the css used by LJ (and the style contest??) to make
    sure that userpics are styled correctly.  (I think this is a div
    element of class userpic and an img element with class userpic
    too..)

Am I missing anything?

> On Jun 13, 2007, at 5:21 PM, Timothy Appnel wrote:
> 
> >On 6/13/07, Paul Lindner <lindner at inuus.com> wrote:
> >
> >>Also, integreating Mark's openid commenting system with it's comment
> >>userpic support would be quite nice:
> >>
> >>   http://markpasc.org/code/mt/openid_comments/
> >
> >Unless I'm misunderstanding this setting, its already been integrated.
> >Look under Blog Settings -> Comments -> Comment Policy. One of the
> >Allowed Authentication Methods is OpenID. <tim/>
> >_______________________________________________
> >MTOS-dev mailing list
> >MTOS-dev at sixapart.com
> >http://www.sixapart.com/mailman/listinfo/mtos-dev
> >

-- 
Paul Lindner        ||||| | | | |  |  |  |   |   |
lindner at inuus.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.sixapart.com/pipermail/mtos-dev/attachments/20070614/0ca2ff6b/attachment.bin 


More information about the MTOS-dev mailing list