Different profiles for different sites?

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
11/25/2008 9:17:00 AM
Gravatar
Total Posts 20

Different profiles for different sites?

Joe,

I think the profile customization ability in mojoPortal is wonderful (and thank you again for your help in getting my profile to display correctly).

However, as far as I can tell, each site in an installation will use the same user profile config file.  I find myself in a situation where I may soon be getting another client who would also like to have a site based on mojoPortal, but who has completely different user profile requirements than my existing client.

Is there some way the profile system could be expanded so each site could use a different set of profile properties, without the need for me to write custom back end programming for each site?  (I am set up to run multiple sites based on host names.)

I have some ideas of my own on how this might be implemented, but I would like to hear your thoughts on this as well.

 

Lorien

11/26/2008 5:21:40 AM
Gravatar
Total Posts 18439

Re: Different profiles for different sites?

I implemented a solution for this, if you get the latest svn trunk code you can specify different profile config files per site in Web.config/user.config like this:

<add key="mojoProfileConfigFileName-1" value="mojoProfile.config"/>
<add key="mojoProfileConfigFileName-2" value="mojoProfile2.config"/>
<add key="mojoProfileConfigFileName-3" value="mojoProfile3.config"/>

where the -number part of the key refers to the site id

Best,

Joe

11/26/2008 8:00:59 AM
Gravatar
Total Posts 20

Re: Different profiles for different sites?

Joe,

You are a gentleman and a scholar.  This is exactly the sort of solution I was looking for.  I will set this up on my test server and see how it works.

Lorien

You must sign in to post in the forums. This thread is closed to new posts.