One profile page for Discourse and community site

plugins
sso

(Tobias) #1

We are planning to use Discourse as forum for a community site (the community site acting as SSO provider for Discourse) and we would like to make the integration as seamless as possible. For example we would like to have a single profile page and not two different ones for the community site and the forum. I am wondering what would be the best strategy to do this.

Currently the idea is to use the Discourse profile page and embed additional content (like recent activity or additional fields from the community site). But how can you change the profile page? Can this be done as a plugin?

Any hints are appreciated!


(Jeff Atwood) #2

Do we have an extensibility outlet for this @eviltrout? Seems logical.


(Mittineague) #3

There are 2 Profile plugin-outlets if that’s any help.

* I used a div for the primary and a span for the secondary, but other mark-up might work better
Primary shows below the Custom Fields if they are displayed,
which is below the default group title if displayed,
which is below Name if displayed.
(whew, it could get a bit crowded)


(Tobias) #4

This looks good, thanks!


(Robin Ward) #5

I’m also open to adding more if you have a particular need.