ShopifyStorefront blocks

The profile blocks

A profile card for an account page, and the full profile with history and personalisation.

In build

Two blocks show a customer their own account. The profile card is the summary. The profile is the whole thing.

BlockBest for
Profile cardAn account or rewards page, or beside other blocks
ProfileA page of its own

Both are only ever shown to the customer they belong to. A visitor who is not logged in sees a prompt to sign in.

The profile card

The customer's account at a glance.

PartShows
AvatarTheir avatar on a stage beside the card, as tall as the card. In 3D, falling back to 2D when 3D cannot load. On a narrow screen it sits above.
PictureTheir profile picture with its border. Without one, the first letter of their name.
NameTheir display name or username
TierTheir membership tier
XP barProgress towards the next level, for example "Level 3: 450 / 1,000"
RankTheir place on your XP leaderboard, or "Unranked"
Quest coinsTheir balance of the points you choose
LevelTheir level, and the XP the next one takes

A customer who has not picked a username sees a Choose a username button.

The points refresh on their own after a quest is completed or a reward is claimed in any FanBase block on the page.

Settings

SettingDefaultWhat it does
Show membership tierOnThe tier next to the name
Show XP barOnThe bar under the name. Hidden anyway if your community has no levels.
Show rankOnThe rank tile
Leaderboard pageEmptyWhere the rank tile links. Empty, it is not a link.
Show quest coinsOnThe points tile
Quest coins resourceEmptyWhich points to show, by their slug. Empty shows your community's first spendable points.
Show avatarOnThe avatar beside the card. Left out anyway if your community has avatars off.
Avatar view3D3D or 2D
Accent colorEmptyFor this block only
Corner radius8 pxFor this block only

Quest coins resource is worth setting. It is the slug of the points your quests pay out, which your FanBase contact can give you. Use the same value in the account indicator so the two always agree.

A customer who has not joined yet

Being logged in to your store does not make someone a member of your community. Until their first action in a FanBase block, the card shows "No tier", no XP bar and "Unranked". Completing one quest joins them and fills it in.

The full profile

A page for the customer's whole account: the header from the card, then three tabs.

Create a page for it, for example "My fan profile", put the block on it and link the page from your menu.

Overview

CardShows
RankTheir place on your XP leaderboard
Events joinedHow many of your events they have taken part in
Quests completedThe total, today's count, and a bar chart of the last seven days
Recent questsTheir two latest, with a link to the History tab
Linked accountsThe social and game accounts linked to their FanBase profile

History

Every quest the customer has finished, five at a time, grouped into today, the last week, the last month and older.

A quest with a reward still waiting shows Claim Reward, and an Unclaimed only toggle above the list narrows it to those.

Personalization

Every profile picture, border and background your community offers. The ones the customer does not own show as locked.

The customer picks what they want, and nothing is saved until they press Save. Leaving the tab with unsaved changes asks first.

The tab does not appear if your community does not use personalisation.

Settings

SettingDefaultWhat it does
HeadingMy profileThe title above the profile
Show XP barOnThe bar in the header
Default tabOverviewWhich tab is open when the page loads
Show History tabOn
Show Personalization tabOnHidden anyway if your community does not use personalisation
Show avatar columnOffThe customer's avatar beside the profile
Avatar view2D2D or 3D
Accent colorEmptyFor this block only
Corner radius8 pxFor this block only

The profile reads two addresses from the app embed's Links group: the Quests page URL, for the "go to quests" link in an empty History, and the Events page URL. Set both to your own pages so customers stay in your store.

Dressing the avatar and an inventory tab follow in a later release. Until then customers change their avatar on your community's site, and the store shows the result.

Troubleshooting

What you seeCause
The block shows nothingSign-in is off or not working. The theme editor says which.
"No tier" for someone you know is a memberThey have not acted in a block yet, or the community slug is wrong
No XP barYour community has no levels, the customer is not a member yet, or the setting is off
No quest coinsThe slug in Quest coins resource matches none of your community's points
The avatar is flat although the view is 3D3D could not load in that browser. Avatar has the reasons.

On this page