@model Project_Unite.Models.ApplicationUser @{ ViewBag.Title = "My profile"; } @using (Html.BeginForm()) { @Html.AntiForgeryToken() string val = Html.ValidationSummary().ToHtmlString(); if (!string.IsNullOrWhiteSpace(val)) {
@Html.Raw(val)
}

@ViewBag.StatusMessage

@if (!string.IsNullOrWhiteSpace(Model.FullName)) {

@Model.FullName

}
@Model.DisplayName

Profile settings

Edit your public profile here.

Display Name

Your Display Name is what everyone sees you as on the website. This field is required.

@Html.TextBoxFor(Model => Model.DisplayName, new { @class = "form-control" })

Full name

On your profile page, you can optionally set a full name to display along with the above display name.

@Html.TextBoxFor(Model => Model.FullName, new { @class = "form-control" })

YouTube channel URL

Have a YouTube channel and want to show it off on your profile? Paste it here!

@Html.TextBoxFor(Model => Model.YoutubeUrl, new { @class = "form-control" })

Website

Feel free to post a link to your website, if you want to.

@Html.TextBoxFor(Model => Model.Website, new { @class = "form-control" })
Info about URLs:

We reserve the right to remove the links to your YouTube channel or website if they do not follow the community guidelines or they point to malicious sites.

Bio

Tell us about yourself!

@Html.TextAreaFor(Model=>Model.Bio)

Interests

What are you interested in?

@Html.TextAreaFor(Model => Model.Interests, new { @class = "form-control" })

Hobbies

What do you like to do?

@Html.TextAreaFor(Model => Model.Hobbies, new { @class = "form-control" })

Notifications

These settings are for the ShiftOS notification system on your account.

Send me notifications through email when I'm inactive

Check this option to allow us to email you when you receive a notification and you haven't logged in for a week.

@Html.CheckBoxFor(Model=>Model.EmailOnNotifications) @{ var notes = Model.Notifications.Where(x=>x.IsRead==false).OrderByDescending(x=>x.Timestamp); }

Unread Notifications

@if (notes.Count() > 0) {

Below is a list of all unread notifications.

Notification
foreach(var note in notes) {
@if (!string.IsNullOrWhiteSpace(note.AvatarUrl)) { }
@note.Title

@note.Description

Read
} } else {

You have no notifications.

}

Privacy & Security

At ShiftOS, we take privacy seriously. If you want to hide certain things from your public profile, this is the place to do so.

NOTE: Moderators may still have access to this information for the purpose of community moderation. They will not leak your information.

Show my followers on my public profile?

Should we show your followers on your profile?

@Html.CheckBoxFor(Model => Model.ShowFollowers)

Show the people I follow on my public profile?

Should we show the people you follow on your profile?

@Html.CheckBoxFor(Model => Model.ShowFollowed)

Show my registration date?

Check this to show your registration date on your profile.

@Html.CheckBoxFor(Model => Model.ShowJoinDate)

Show my forum activity?

Shall we tell readers how many posts and topics you have made on the forum?

@Html.CheckBoxFor(Model => Model.ShowPostAndTopicCounts)

Allow users to email me?

Should we allow users to email you by showing your email address on your profile?

@Html.CheckBoxFor(Model => Model.ShowEmail)

Security

Change email address

Use this field to enter a new email address. Doing so will cause your account to require reactivation.

@Html.TextBoxFor(Model=>Model.Email, new { @class = "form-control" })

Change your password

Use this option to change your account's password.

Change password

API

The ShiftOS API is a way for desktop and mobile applications to easily access certain data from the ShiftOS community in an easy-to-display way. It is also how ShiftOS is able to connect your save file to your ShiftOS account.

You can use this screen to manage your API keys. These keys give API-level access to your account. You can revoke them at any time.

Danger!

Revoking an API key generated by ShiftOS will cause you to lose access to any associated save files.

API key
Actions
@{ var db = new Project_Unite.Models.ApplicationDbContext(); var keys = db.OAuthTokens.Where(x=>x.UserId==Model.Id).ToArray(); } @foreach(var key in keys) {
@key.AppName @key.Version

@key.AppDescription

@key.Id
}

The Danger Zone

Be careful with these settings. These can cause data-loss or other issues.

Purge my data

Use this option to purge all data associated with your account.

Purge it all.

Delete my account

Use this option to permanently remove your account from the ShiftOS community. This will render your save files, skins, and other data INACCESSIBLE. There is NO GOING BACK ONCE YOU CLICK THIS DAMN BUTTON.

I COMPLETELY UNDERSTAND. NOW DELETE IT.

}