Lesson notes
How it works
What the Memberstack profile modal gives your members
Every membership site needs a place where members manage their own account. Memberstack ships one ready-made: the profile modal. Add data-ms-modal="profile" to any button or link, and clicking it opens a window where a logged-in member can update their details and custom fields, upload a profile picture, change their email and password under security, see and remove their plans, and log out.
You don't design it or keep it up to date. Memberstack builds and runs it, and saves every change straight to the member's record, which you can check on the Members page. A picture uploaded here is the same profile image that shows anywhere you've placed data-ms-member="profile-image" on your site.
How to add the profile modal in Webflow
The button only makes sense for logged-in members, so put it on pages they see after logging in.
- Add a button or link to a members-only page, such as "Edit profile".
- Select it and open the Memberstack Webflow app from the Apps panel.
- Choose Modals, then Profile. This adds
data-ms-modal="profile". Without the app, add that custom attribute yourself. - Publish, log in as a test member and click the button.
When to build custom profile forms instead
If you want the profile area to match your design exactly, build it in Webflow. A custom setup needs a separate form for each job. Custom fields use data-ms-form="profile", with data-ms-member="field-id" on each input. Email uses data-ms-form="email" with an input marked data-ms-member="email". Password uses data-ms-form="password" with inputs marked data-ms-member="current-password" and data-ms-member="new-password".
Profile pictures sit outside those forms: data-ms-action="profile-image" on an image opens the upload and data-ms-member="profile-image" displays it. A button with data-ms-action="customer-portal" opens the Stripe billing portal.