MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

MonoX new release  (Mono Support )

Viewed 9389 time(s), 5 post(s) 2/27/2012 7:45:52 PMby sam0864
sam0864

sam0864

2/27/2012 7:45:52 PM
When do you expect a new version of MonoX will be released? What are the new features?
This content has not been rated yet. 
656 Reputation 79 Total posts
denis

denis

2/27/2012 9:53:30 PM
The next major release is going to be published in May/June. We will focus on adding more social networking features: import/invitation, various relationship parts, including "people you may know" and various variants of social graphs, support for tighter integration with Facebook (login, profile and social graph import) and other social networks, flexible user profile, chat, better support for mobile clients/responsive design, etc.
This content has not been rated yet. 
7207 Reputation 956 Total posts
sam0864

sam0864

2/27/2012 10:00:04 PM
Sounds great
I hope we can have it sooner
This content has not been rated yet. 
656 Reputation 79 Total posts
shawndg

shawndg

2/28/2012 1:15:45 PM
Hi Denis,

Great news..

Let me first say I love MonoX and I have been using it for a little over a year now and It along with the MonoX staff have proven to be a great experience.

From my experience though I really think you guys should ditch the idea around the default profile part having so many sub parts.
I just recently been heavily working on customizing the profile and at first I tried the standard profile and even customized it using the custom profile tutorial.
But, the design of the MonoX profile limited me, and I ended up needing to put more then one primary profile part on the custom profile to get the design to look like I wanted and even then the functionality I was trying to accomplish still was not there.. 

So, In the end I am pretty much having to rewrite all my custom profile parts just to reach the design of the profile due to the limitations of the current MonoX profile design.

Here is what I would like to see if possible..
Individual profile parts..  - remove the idea behind the central control of the profile and instead make each part control itself..
Like the ability to have multiple avatar up-loaders.. just set a id and fly, then add another one somewhere else if I want them to be able to pick another
picture for something else.. set a id..   If I place them on a profile page.. automatically just link to the profile they are inserted on and use the id to distinguish which one is what picture.

I also don't want to place a profile web part to have a profile..
That part just limits my design.. It has <Main> <header> and <footer> only.. and if my design does not fall in those guides then I cant use it..
On top of that.. each part you add to it by using the options is inserted above all those tags.. those tags only seem to be for custom content or drag and drop content.

I been experimenting and I found that I can code web controls that have nothing inherited from the profile part and still they will grab the id if placed on a URL rewritten profile location.

Below is my example code:

public Guid GetCurrentProfileGuid()
         {
 
             string userName = string.Empty;
 
             if (UrlParams.UserProfile.UserName.HasValue)
                 userName = UrlParams.UserProfile.UserName.Value;
 
             Guid userId = SecurityUtility.GetUserId(userName);
 
             if (userId.Equals(Guid.Empty) && (Page.User.Identity.IsAuthenticated))
             {
                 userId = SecurityUtility.GetUserId();
                 userName = Membership.GetUser(userId).UserName;
             }
 
 
             if (!String.IsNullOrEmpty(userName) && !Guid.Empty.Equals(userId))
             {
                 return userId;
             }
             else
             {
                 return Guid.Empty;
             }
              
         }


The above code so far has been working and I can make my own custom individual profile parts.
I also then don't need a central profile control.

I think some of the MonoX web parts do work like this but not all of them..
My problem right now is I wanted to use the avatar up-loader control but it cant be used without the profile control.
so in order for my design to work, I will have to rewrite that control.





This content has not been rated yet. 
1871 Reputation 252 Total posts
khorvat

khorvat

3/1/2012 12:01:09 AM
Hi,

thanks for the insights we did something similar to the thing you need, so MonoX have these parts build separately but the only thing is that they are not WebParts but rather a user control. So you can reuse the UserAvatar upload but you can't do it automatically. You need to wrap it inside the BaseAutoRegisterPart and use the function you provided above and then you can have automatic user avatar upload.

We have plans to change (or create a new one) the user profile in a way that users can more easily extend the profile and the layout of the control.  At this point I can't tell you more than that but as soon as we have more concrete information on this we will let you know.

Is there anything related to profile that I can help you with ? If so please open a new topic so we can track it better.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts