# Poly Community > Poly Community is a WordPress plugin by WordPlus that turns a site into a member site, built from blocks: a community with profiles, spaces, a feed, a forum and questions with answers, and components for events, courses, jobs, listings, bookings, paid membership and more, on one core of accounts, members, payments, moderation, notifications and search. The community is one component among them and can be switched off. Facts to rely on, as of version 1.0.0-beta.1: - **Status:** in preview, not out for download yet and not on WordPress.org yet. The name may still change. It runs on https://www.wordplus.org/, and its release is announced in https://www.wordplus.org/groups/poly-community/. - **What it needs:** WordPress 7.2 or later, PHP 8.1 or later, MySQL or MariaDB. No other plugin. - **What it costs:** the plugin is free with every component in it. Instant live updates and push notifications come with a WordPlus Cloud subscription (https://www.wordplus.cloud) through the WordPlus Cloud plugin. Without it, pages stay live by asking the site every few seconds. - **Apps:** 21, all in the plugin, each switched on under Settings → Components. Of them, Knowledge base needs Evo Support, Live needs WordPlus Live Stream. The start page knows 90 kinds of site and switches on what each needs. - **Themes:** block themes (every page a Site Editor template), classic themes, or a full-page portal. Poly Theme, an optional block theme in its look, is to be a free download from WordPlus Cloud. - **Better Messages:** with Better Messages active, private messages and a chat for each space come into the community (https://www.better-messages.com/). - **Data:** in tables of its own on the site, never sent anywhere. Members download their data and delete their account. - **For developers:** `Poly_Community()` with stable parts, hooks prefixed `poly_community_`, REST under `poly-community/v1`, blocks `poly-community/*`, and apps as folders with a `kit.json` manifest, registered with `poly_community_register_kits`. - **Help:** questions at https://www.wordplus.org/questions/poly-community-help/, contact at https://www.wordplus.org/contact/. Docs at https://www.poly-community.com/docs/. --- # What Poly Community is Address: https://www.poly-community.com/docs/ Poly Community is a WordPress plugin that turns a site into a member site. It starts with a community: members with profiles, spaces they gather in, a feed, a forum and questions with answers. Its components add events, courses, job boards, listings, bookings, paid membership and more, all on the same core of accounts, members, payments, moderation, notifications and search. The community itself is one component among them. Keep it on for a social site, or switch it off and run a directory, a job board or a school on the rest. **Preview** Poly Community is in preview and not out for download yet. The name may still change. It runs every day on [wordplus.org](https://www.wordplus.org/), where you can see it and [follow how it goes](https://www.wordplus.org/groups/poly-community/). ## What it is made of - **The core.** Accounts and joining, members and their profiles, permissions, pages that change without a reload, payments, files, notifications, moderation, search and the admin. - **The Community component.** Profiles, follows or friends, spaces (called spaces or groups), a feed of posts with pictures, video, voice notes, polls and reactions, a forum with boards, and questions with answers and votes. - **The components.** Events, courses, jobs, listings, bookings, paid membership and more, each switched on when you need it. - **Blocks.** Every page is made of blocks you move, remove or restyle in the Site Editor, down to each post and member card. Edit a card once and every list follows. ## Who it is for The start page knows many kinds of site, from a hobby club to a professional association, a dating site, a creator with paying fans, a neighborhood, a course academy or a marketplace. Picking one sets the components, fields, spaces and words that fit it, and everything stays yours to change. ## What it needs - WordPress 7.2 or later and PHP 8.1 or later. - MySQL or MariaDB. - Any theme. It looks its best in a block theme, works in classic themes, and can run as a full-page portal of its own. See [Themes and layouts](https://www.poly-community.com/docs/themes-and-layouts/). Nothing else is required. Live updates work on any host by asking the site every few seconds, and a [WordPlus Cloud](https://www.wordplus.cloud) connection makes them instant. See [Live updates](https://www.poly-community.com/docs/live-updates/). ## Where to go next - [Getting started](https://www.poly-community.com/docs/getting-started/): installing it and the start page. - [The settings](https://www.poly-community.com/docs/settings/): every page of the admin, in the order it has them. - [For developers](https://www.poly-community.com/docs/developers/): building a component or adding to one. --- # Getting started Address: https://www.poly-community.com/docs/getting-started/ **Not out yet** Poly Community is in preview, so there is no zip to download yet. This page describes the plugin as it runs on [wordplus.org](https://www.wordplus.org/) today. To hear when it is out, [join the Poly Community group](https://www.wordplus.org/groups/poly-community/). ## What you need - WordPress 7.2 or later. - PHP 8.1 or later. - MySQL or MariaDB. Poly Community keeps its data in tables of its own with indexes made for large communities, never in post meta or user meta. - Pretty permalinks, for addresses such as `/members/ana/`. With plain permalinks the community still works, with addresses that carry their query. Any host that runs WordPress runs it on its own. ## Install it Once it is out: in WordPress, go to **Plugins → Add New Plugin**, upload the zip or search for Poly Community, install it and activate it. Activating it opens the start page. The site changes only once you finish it, and the start page stays under **Poly Community → Settings → Start** if you leave it for later. ## The start page Five steps, and only the first one needs an answer. Once you have picked what you are building, **Set it up now** sits beside **Continue** on every step and sets the site up with what that kind of site needs and whatever you changed so far. Every choice can be changed later in Settings, and the column **Your site** keeps a line of what you picked, with **See every change** for the whole list of what will be written. ### 1. What are you building? Pick the goal closest to your site: a community, an organization, a directory, a job board, a shop or marketplace, a school, bookings, events, creators and memberships, dating, or a site for adults. Or find a kind of site by name, such as a forum, a coaching business or the plugin you are moving from. **Start blank** is the core alone: accounts and joining, members and their profiles, notifications and moderation. (Screenshot: What are you building, with twelve goals in a grid: Community, Organization, Directory, Job board, Shop or marketplace, School or courses, Bookings, Events, Creators and memberships, Dating and matching, For adults and Start blank. The first step of the start page.) A goal holds several kinds of site, and you pick the one that fits best. The kind you pick says what it sets up today and what it gets in later updates, and the kinds it resembles. (Screenshot: Which kind, with the kinds of community in columns and General community picked, saying what it sets up. Community has more than thirty kinds, from a neighborhood to a running club.) ### 2. What can members do? The components the kind of site needs are on already: courses, events, jobs, listings, bookings, paid membership and the rest, each a switch with a line saying what it does. Switch on more, or off what you do not need. The **Community** component is the feed, spaces and connections between members: a site without it runs on its other components alone. ### 3. Who it is for Who can see the site (everyone, or members only), who can join (anyone, anyone once you approve them, or only people you add), the sign-up form on one page or in steps, whether email addresses are confirmed, how members connect, and whether there are spaces and who makes them. Then, if you like, what the site is about: topics that add the choices members pick from in their Interests field. ### 4. How it looks Whether the community is a portal with its own top bar or sits inside your theme, how the login and sign-up pages look, the colors, the arrangement of columns, the name, and where the community lives: at `/community/`, or the whole site. With the community at its own address and a block theme, **In your site menu** adds a link to the community to the menu at the top of your site, so a visitor on your home page finds it. It is an ordinary link of that menu, which you change in **Appearance → Editor → Navigation**. (Screenshot: The community name, Where the community lives with At /community/ picked, and In your site menu switched on. Where the community lives, and its link in your menu.) ### 5. Finish **Add sample content** adds a few members and posts written for the kind of site you picked, so you can look around before anyone joins. Each is marked Sample, none is ever emailed, and **Settings → Start** removes them all in one click, leaving your own posts and spaces. Then press **Set up the site**. ## After setting it up **Settings → Start** says the site is set up and lists the steps that come next, in groups: people joining (inviting your first members, the sign-up form, how login and sign-up look, approving new members), how it looks, and staying in touch (email that arrives, the app members install). Each has its button, and the ones that do not apply to your site can be dismissed. (Screenshot: Settings, Start: Your site is set up, Get started with Poly Community with its count of steps done, the site type, and the next steps in groups. Settings → Start after the start page.) On the site itself, visitors find the community from your menu, and **Log in** and **Join** sit at the end of your theme header. (Screenshot: The header of the site, with Sample Page and Community in the menu, then search, light or dark, Log in and Join. The site header after setting it up.) ## Usage data The Plugins screen asks once whether to share some data about your site with WordPlus Cloud, which makes the plugin, so it works better with sites like yours. Its screen lists each thing and lets you leave any out: your name and email, for news of security and feature updates, the site address with its WordPress and PHP versions, the components in use, and the plugins and themes on the site. It shares only what you allow, and **Skip** keeps everything on your site. ## How the pages move Moving between community pages loads no page whole. Each kind of page is one file the browser keeps, the same for every reader, and a move asks the site for one small answer with what that page shows: on a test site with the sample content, the next page is drawn within about 50 to 180 ms of a click and filled from 2 to 6 KB of data, where loading the same page whole sends 175 to 240 KB and starts every script again. To change what a page shows, start with **Settings → Appearance** and the page templates in the Site Editor. A developer or a coding agent who changes a component or builds a new one keeps it drawn this way: [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) has the rules, the API and a recipe. ## Live updates, and making them instant Pages update while they are open, with no reload: an open page asks your site what is new every 10 seconds, every 60 in a tab out of sight. [Live updates](https://www.poly-community.com/docs/live-updates/) says what updates and how often. **Poly Community → Upgrade** shows what WordPlus Cloud adds: every update at once, who is online right now and push notifications. Next: [the settings, page by page](https://www.poly-community.com/docs/settings/). --- # The feed and posts Address: https://www.poly-community.com/docs/features/feed/ The feed is where members talk to everyone. The **Activity** page holds the feed of the whole community, each profile the posts of its member, each space the posts written in it, and each tag page the posts that name the tag. A post is written once and shows in every feed it belongs to. Everything on this page is set in **Poly Community → Settings → Posts**, in six tabs: Writing, Feed and comments, Pictures and files, Reactions and polls, Tags and links, Sharing and more. The feed and posts are part of the Community component: switched off in **Settings → Components**, the Activity page, the feeds and the posts are hidden everywhere, and nothing is deleted. ## Reading the feed Over the feed, one row says what it shows. - **Everyone** or **Following**, at its start. Everyone is every post the member may see. Following is the posts of the people, spaces and tags they follow. A member who follows nobody yet is not offered the choice, and neither is a visitor. - **Filters**, where components add their own kinds of post (events, albums, listings and the rest): **Show** narrows the feed to one kind, or All kinds. - **Sort**, at its end, with the order of the feed. (Screenshot: The Sort menu of the feed: Latest, Last active, Trending today, Trending this week, Trending this month and Unread, each with a line saying what it does. The order of the feed.) **Unread**, offered to members, shows only the posts they have not seen yet. A post counts as seen once it has stayed on the screen a moment, so there is no Mark all as read. Each choice is a link: the Back button and a shared address keep it. A feed of a profile or a space has the order and the filters, without Everyone and Following. On a phone the order is in the sheet of **Filters** too, so the row is Everyone or Following and **Filters**. On a profile or a space, **Filters** stands at the end of the tabs. **The feed opens on** (Feed and comments tab) sets where the Activity feed starts for a member who has not chosen: **Everyone** (the default) or **Following**. Once a member picks one, it is kept for them. **In the order** sets its order the same way: **Latest** (the default) or **Last active**. New posts by others do not push the feed down while someone reads it. They wait behind a button at its top, such as **3 new posts**. Likes, replies, edits and deleted posts change in place on every open page. See [Live updates](https://www.poly-community.com/docs/live-updates/). **Dates and times** are written in the forms of the site language (Settings → General → Site Language), in the time zone of the browser of each reader: **3 h** for a recent post, **Oct 2, 2025** for an older one, and **October 2, 2025 at 9:30 AM** when the pointer rests on it. A German site writes **2. Oktober 2025 um 09:30**, whatever the language of the browser. Settings → General → Date Format and Time Format change nothing in the community, as they would write one form for every reader. A day with no time, such as a birthday, is the same day for everyone, and an email is written in the time zone the member saved, or else the time zone of the site. **The activity feed shows** ticks the kinds of post the Activity feed shows beside the posts of members: blog posts brought in from the site (see [Blog posts in the feed](#blog-posts-in-the-feed)), and the kinds components add, such as events, albums and petitions. All are ticked by default. A kind left out still shows on its own page, on the profile of its author and in its space. ## Writing a post The composer sits at the top of the Activity feed, of the profile of its member and of every space they may post in. It opens in place: the field grows, the formatting bar shows over the tools, and **Post** wakes up once something is written. On a phone it is one line, the picture of the member and the prompt, and a tap anywhere on it opens the composer as a sheet over the whole screen, whose paperclip adds pictures and files. (Screenshot: The composer open: the title line, a post written with its first words in bold, the formatting bar, then the tools for files, a voice note, emoji and a poll, Everyone as the audience, and Post with its arrow. The composer, open.) ### Who sees a post The button beside Post says who a post outside spaces is for, and the member changes it for each post: - **Everyone**: anyone who can see the community. - **Members**: only people who are logged in. - **Friends** or **Followers**: the friends of the member, or the people who follow them, where members connect that way (Settings → Members). - **Only me**: a note to themselves. **Post in a space…** at the end of the list moves the post into one of the spaces of the member. A post in a space is seen by whoever may see that space. **New posts are visible to** (Writing tab) is where the button starts: **Everyone** (the default) or **Members**. **Who posts outside spaces** decides who writes in the Activity feed and on profiles: **Every member** (the default) or **Moderators and staff**, for a community led by announcements or by its spaces, where members post in spaces alone. ### Formatting With **Formatting** on (the default), members format their words from the formatting bar, from its keyboard shortcuts, or by typing Markdown, which turns into formatting as it is typed: `**bold**`, `_italic_`, `- ` for a list, `> ` for a quote. Off, posts are plain text. **What members can format** picks the buttons of the bar, each with its shortcut and its Markdown: Bold, Italic, Strikethrough, Link, Heading, Quote, Bulleted list, Numbered list and Code, all of them by default. The site draws only what is ticked, whatever a post sends. Replies never have headings. ### Titles, mentions and tags **Titles** decides whether a post has one: - **When the member wants one** (the default): an optional title line shows over the text once the composer is open. A titled post shows it above its text, and its page is called by it. - **Always**: every post needs a title before it can be posted, as on a forum. - **None**: posts are their text, as in a feed. Typing `@` and a letter suggests members: in a space its members first, then the people the writer follows or is friends with, then everyone else. The member mentioned is told. Typing `#` suggests tags: each tag links to a page of every post that names it, and the most used show as trending. On the **Tags and links** tab, **Hashtags** turns tags on for posts, topics and questions, in any language (on by default). **Members can follow tags** (on by default) adds the posts of a followed tag to the Following feed of the member. **Hidden tags**, with a comma between them, are tags that get no page and are never suggested or trending: they show as plain text. ### Long posts **A long post starts at** 30,000 characters by default. **A post longer than that** either **Waits for a moderator** (the default: it shows once approved, and its author is told so before posting) or **Is not accepted** (the composer stops at that length and says so). **Longest post** (200,000 characters) is a guard for the server against texts nobody writes, not a limit for writers: keep it far above a long post. **Longest reply** (5,000) is the limit of a reply. ### Drafts and scheduled posts The arrow beside **Post** holds **Save draft** and **Schedule…**. A scheduled post goes out at the time its author picks, from 5 minutes to a year ahead. **Drafts** and **Scheduled** in the same menu list them, to open, post now, change the time of, or delete. A member keeps up to 50 drafts. Whatever is being written is kept in the browser too: after a reload, or a closed tab, the composer brings it back with **Restored what you were writing** and a **Discard** button. **Drafts** turns saved drafts on or off (on by default). **Scheduled posts** is for **Every member** (the default), **Administrators** alone, for announcements planned ahead, or **Nobody**. Posts already scheduled still go out at their time. ## What a post carries Besides its words, a post carries what the tools of the composer add. Each is set on the **Pictures and files**, **Reactions and polls** and **Tags and links** tabs. (Screenshot: A post by Zoë Fischer with two photos side by side, a meadow and birds over a marsh, a tag, eight reactions, and two comments under it. A post with photos, reactions and comments.) **Pictures.** Up to 10 in a post (**Pictures in a post**, 20 at most) and 4 in a reply (**Pictures in a reply**), shown as a gallery in the order the member puts them. In the composer each one can be dragged to another place (Alt and the arrow keys from the keyboard), cropped or turned, and given alt text, read aloud in its place and shown under it in the picture viewer. **Files.** Up to 4 in a post (**Files in a post**, 10 at most) and 2 in a reply. The type of a file decides where it goes: a picture to the gallery, a video to the video, an audio file to the clip, anything else to the files. Which types are allowed and how large each may be are set in **Settings → Files**. **Video.** One video a post. **Videos** is **Uploaded** (the default: attached from the device), **Recorded or uploaded** (recorded with the camera in the composer too), **Recorded only**, or **Off** (a video file then goes with the files, and plays there as it came). **Longest video** is 600 seconds by default. Videos are made to stream to any screen, by the browser of the member who uploads them unless Settings → Files says otherwise. **Audio clips.** One clip a post or a reply, played with its waveform, seeking and speed. **Audio clips** is **Voice notes or uploaded** (the default: recorded with the microphone in the composer, or an audio file), **Uploaded**, **Voice notes only** or **Off**. **Longest audio clip** is 300 seconds by default. A recording stays on the device until it is posted. **Polls and quizzes.** A question with up to twelve options. Its author chooses whether members pick one or several, whether the vote is anonymous, and when it ends. A quiz has a right answer, shown with an explanation once a member has answered. After voting, members see the bars and the counts, and who voted where the poll is not anonymous. Its author or an administrator can end it early. (Screenshot: A poll of Leo Martins with three options, the bars filled after voting, Saturday morning leading, and the faces of who voted. A poll after voting.) **Polls** and **Quizzes** are on by default. **Who adds polls** is **Every member**, or **Administrators, and the admins of a space and moderators in it**. Everyone votes either way. **GIFs and stickers.** A post or a reply may be a GIF or a sticker, alone or with words. GIFs come from the service chosen in **Settings → Services → GIFs**, straight to the browser of each member. Stickers are the packs kept on the site, managed under **Sticker packs** on the same tab. **Places.** A post may say where its author is, or the place it is about. **Places on posts** is off until a map service is set up in **Settings → Services → Maps and places**. An exact spot is kept only when the member chooses it. **Links.** With **Link previews** on, a link in a post shows a card with its picture, title and site. The site fetches the page once, when the post is written, and keeps its picture as its own, so readers never contact the other site. **Video and audio players** play a video or a song from a service WordPress knows right in the post, after a member presses play. **Players from** picks those services: a link to one left out shows as a card. ## Reactions Every post and reply has **Like**. Its button shows the first reaction, the emoji of Like, grey until it is given. Hovering over it, a long press or its arrow shows the other reactions, and a member gives one reaction to a post: the button then shows that reaction, and tapping it again takes it back. The post shows its three most given reactions and how many there are in all, and a tap there lists who reacted, a tab for each reaction. (Screenshot: A post with its reactions open from Like: Like, Love, Haha, Wow and Sad. The reactions, open from Like.) **Reactions offered** (Reactions and polls tab) holds Like and up to five more: Love, Haha, Wow and Sad by default, with Angry to add. Like is always first. Pick the emoji of each one, and order them with the arrows. With Like alone, there is nothing to choose from, and its button shows the icon picked as **Like button** in **Settings → Appearance → Feed**: Heart, Thumbs up or Star. (Screenshot: Settings, Posts, Reactions: Reactions offered, with Like, Love, Haha, Wow and Sad, each with its emoji. Settings → Posts → Reactions and polls.) ## Comments Members reply under a post, and reply to a reply, three levels deep. A reply to the deepest one stays beside it and says whom it answers. In a feed, a post shows its latest comments and how many more there are, and the rest open in place. **Comments open with** (Feed and comments tab) sets their order: **Oldest first** (the default, a conversation in the order it was had), **Top first** (the most liked first) or **Newest first**. On the page of a post, members can switch. A reply carries formatted words without headings, up to 4 pictures, 2 files, one audio clip, one link preview and one GIF or sticker. **Turn off notifications** in the menu of a post stops what it would tell that member, and **Turn on notifications** brings it back. (Screenshot: Settings, Posts, Feed and comments: The feed opens on Everyone, In the order Latest, Comments open with Oldest first, and The activity feed shows with Blog post ticked. Settings → Posts → Feed and comments.) ## Editing a post **Edit post** in the menu of a post opens it in the composer, and a reply has its own **Edit**. Members can change the words, the title, pictures and files, the clip and the video, the link preview, the GIF, the place, and who sees a post outside spaces. A poll changes only while nobody has voted. The space of a post and what a share points at stay as they are. An edit in the first two minutes after posting leaves no mark, so a typo fixed at once is just fixed. After that the post says **Edited**, and **Edited by an administrator** when an administrator changed it. - **Members can edit their posts** (on by default) covers posts and replies. Administrators can always edit any post. - **For how long**: minutes after posting, 0 for any time (the default). - **Earlier versions**: **Kept for the author and administrators** (the default, which helps when a report is about words since changed), **Kept for everyone**, who open them from Edited, or **Not kept**. ## Sharing, saving and pinning **Share** under a post opens **Copy link**, **Share to your profile**, **Share in a space…** and, where the device has one, **Share via…** with its own share sheet. Sharing opens the composer with the post under a few words of the member. Only posts open to everyone or to members, or in a public or members-only space, can be shared, and a share never shows its post to someone who may not see it. (Screenshot: The Share menu of a post: Copy link, Share to your profile, Share in a space. Share.) The menu of a post (its three dots) holds what a member does with it: **Save**, pinning, **Turn off notifications**, **Copy link**, and for their own post **Edit post** and **Delete post**. On the posts of others they find **Report post**, and moderators **Hide for review**. (Screenshot: The menu of a post of Maya Chen: Edit post, Pin to your profile, Save, Copy link, Turn off notifications and Delete post. The menu of a post, on a post of your own.) On a phone this menu, like every menu of the community, opens as a sheet from the foot of the screen, each row a finger tall, and a tap above it closes it. **Delete post** then asks in a small box in the middle of the screen. (Screenshot: The feed on a phone, dimmed, with the menu of a post as a sheet at the foot of the screen: Edit post, Pin to your profile, Save, Copy link, Turn off notifications and Delete post. The same menu on a phone.) **Saving.** **Save** keeps a post on a **Saved** page that only its member sees, to read later. **Pinning.** A pinned post leads its feed, marked **Pinned**. - **Pin to your profile**: a member pins up to 3 of their own posts. - **Pin in** a space: its admins and moderators pin up to 5, and up to 10 in a board of the forum. - **Pin for everyone**: administrators pin up to 5, shown as announcements above the composer of the Activity page. A member can hide one they have read. On the **Sharing and more** tab, **Sharing**, **Saved posts** and **Pinned posts** are each on by default. **Sharing posts some cannot open** decides about posts behind **Show** (a rating or a warning) or behind a paid plan: - **None of them**: neither can be shared. - **Posts behind Show** (the default): shared by those who opened them. Others see **A post behind Show** and its reasons in the share. Posts behind a plan cannot be shared. - **Those behind a plan too**: members of a plan may share its posts, and everyone else sees the invitation of the plan in the share, never the post. ## Views A post counts a view when it is opened or read in a feed: once a day for each reader, never by its author. **Views** (Feed and comments tab) chooses who sees the number, for each kind of post: **Everyone**, **Its author** (with whoever posts for them, and the administrators) or **Nobody**, where views are still counted. Posts show it to their author by default, topics and questions to everyone. ## Blog posts in the feed Under **WordPress posts** (Sharing and more tab), **Bring in** picks the post types of the site whose new posts join the community feeds, by their author: **Posts**, **Pages** or both. None is chosen by default. Members reply to them and react there. They stay edited where they are written, and leave the feed when unpublished. **Who sees them** is **Everyone** (as on the site) or **Members**. ## Changing the feed and posts The feed and its posts change in the ways every component does, set out in full in [Changing a component](https://www.poly-community.com/docs/developers/changing-components/). Take the first that does what you need: each one after it is more of your own to keep up when Poly Community changes. ### In the admin Everything above: **Settings → Posts** for what posts carry and what members may do with them, **Settings → Appearance → Feed** for how the feed looks, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts in words of your own. ### In the Site Editor With a block theme, open **Appearance → Editor**: - **Community: Activity** is the feed page. It holds **Welcome for visitors**, **Post composer**, **Announcements** (the posts pinned for everyone), **Feed bar** and **Activity feed**, in that order. Move them, take one out, or put blocks of your own around them. As on the page, **Welcome for visitors** takes no room in the editor while you are signed in, and **Announcements** none while nothing is pinned: select them in the List View to see them. - **Community: Single post** is a post on its own page. - **Community post**, a template part, is each post wherever it shows: in every feed, on profiles and spaces, and on its own page. It holds **Post author** and **Post menu** in a row, then **Post text**, a block for each thing a post carries (**Post images**, **Post video**, **Post poll** and the others), **Post actions** (the buttons under it) and **Post replies**. Change it once and every list follows. An **Activity feed** block may hold blocks of its own in place of the part, for that feed alone. ### A copy of a view The markup inside each block comes from a view, which a copy in your theme replaces, as [A view in your theme](https://www.poly-community.com/docs/developers/changing-components/#a-view-in-your-theme) shows. Each piece of a post has two views: | Piece | A card | A post by itself | |---|---|---| | The post around its pieces | `parts/card` | `parts/post` | | Post author | `parts/card-author` | `parts/post-author` | | Post menu | `parts/card-menu` | `parts/post-menu` | | Post poll | `parts/card-poll` | `parts/post-poll` | | Post actions | `parts/card-actions` | `parts/post-actions` | | Post replies | `parts/card-replies` | `parts/post-replies` | - **A card** is how a post shows almost everywhere: in every feed, on profiles and spaces, on the page of a tag and on its own page, on a whole load, after a move between pages and when it arrives live. It is a template drawn once for every post of the page, over the row of each, so its view reads the post from the row (`context.item` and the `state.card…` values the view already uses), never in PHP. - **A post by itself** is drawn where a page cannot draw it from its row. Copy the card view for what you want to change, and the post view with it, changed alike, so the post looks the same wherever it is drawn: ```bash wp poly-community view copy parts/card-author wp poly-community view copy parts/post-author ``` ### In code A plugin of your own changes the blocks of every post with `poly_community_post_layout`, which gives the blocks of **Community post** as Poly Community starts it. A classic theme draws posts with them, and a block theme starts from them until the part is saved in the Site Editor. This one shows each author without the picture beside the name: ```php function my_site_post_layout( $layout ) { return str_replace( '', '', $layout ); } add_filter( 'poly_community_post_layout', 'my_site_post_layout' ); ``` The ⋯ menu of a post and the buttons under it are places of the registry, `post.menu` and `post.actions`, which a plugin adds to, moves and takes from on `poly_community_register_ui`: see [Buttons and menus](https://www.poly-community.com/docs/developers/buttons-and-menus/). --- # Profiles Address: https://www.poly-community.com/docs/features/profiles/ Every member has a profile: a page of their own with a cover, a picture, their name and a line about them, and tabs with their posts, what they tell about themselves and who they are connected to. Their name and picture lead there wherever they show, and the members directory lists them all. Members fill in their profile on **Edit profile**. What a profile asks beyond the name and the headline is set under **Settings → Members → Profile fields** (see [Profile fields](https://www.poly-community.com/docs/features/profile-fields/)), and the buttons and tabs for following and friends under **Settings → Members → Connections**. ## A profile page (Screenshot: The head of the profile of Zoë Fischer: a cover of a yellow flower, her picture, her name, @zoe-fischer and Illustrator, 7 followers, 9 following and 2 posts, the Follow, Message and ⋯ buttons, then the tabs Posts, About, Followers and Following. A profile, as another member sees it.) The head of a profile holds: - **The cover and the picture.** A member without a picture shows their initials on a color of their own, or their Gravatar (see [Settings → Members → Profiles](#settings--members--profiles)). - **The name, the handle and the headline.** The handle (`@zoe-fischer`) is in the address of the profile, `members/zoe-fischer/` under the community. The headline is one line the member writes, shown under their name everywhere. - **Online.** On a site served by WordPlus Cloud, a member who is here now shows as online, or with the status they picked. Without it nobody is called online, and cards say when each member was last active. See [Live updates](https://www.poly-community.com/docs/live-updates/). - **The numbers.** Followers, following or friends, and posts. Followers, following and friends each open their list. - **The buttons.** Follow, Add friend or both, as the site connects members ([Following and friends](https://www.poly-community.com/docs/features/connections/)). Message, with Better Messages, and its video and audio call buttons where it offers calls. On their own profile a member has **Edit profile** instead. - **The ⋯ menu,** below. On a phone the head is short, so the posts start on the first screen. The cover is lower, the picture sits over its left edge with one button beside it, the main one for the reader (Follow, Add friend, Message, or Edit profile on their own), and the ⋯ menu holds the other buttons. Under them come the name, with the rank of the member after it where the site gives ranks (a long name is cut to keep it there, and the badges stay on Achievements), one line (the headline, or the handle where the member wrote none) and the numbers on one line. On any tab but the first the head folds to a bar with the picture, the name and ⋯, so the tab starts near the top of the screen. (Screenshot: The profile of Zoë Fischer on a phone, twice: on Posts a low cover, her picture over it with Follow and ⋯ beside it, her name with the rank Regular after it, Illustrator, her numbers on one line, the tabs and her first post, and on About a bar with her picture, her name, her rank and ⋯, then the tabs and what she tells about herself. A profile on a phone, on Posts and on About.) Under the head come the tabs: **Posts** (while the feed is on), **About**, **Friends** (while members become friends), **Followers** and **Following** (while members follow each other), **Achievements** once the site gives badges, and the tabs the components add, such as Reviews. A tab shows its count beside it, and keeps it current as it changes. ### The ⋯ menu (Screenshot: The ⋯ menu of a profile: Copy profile link, Report Zoë, Mute notifications from Zoë and Block Zoë in red. The ⋯ menu of a profile.) - **Copy profile link.** - **Report,** into the moderation queue of the team. - **Mute notifications from** the member: no notifications from them, and they do not know. - **Block,** after a question: the two members no longer see each other anywhere in the community, and any follow or friendship between them ends. Administrators find more there: **Suspend**, which hides the profile and posts of the member from everyone and stops them posting until it is lifted, **Lift the suspension**, **Edit on the Members screen** and **Open in WordPress**. Another administrator is never suspended from it. ### About (Screenshot: The About tab of Zoë Fischer: About, Location, Website, Pronouns and Member since, each with its icon and her answer. The About tab.) The About tab shows the answers of the member to the [profile fields](https://www.poly-community.com/docs/features/profile-fields/), by section, each to those its member allows to see it, and when they joined. On their own profile a member finds **Edit profile** here too. Answers whose field has an icon are also listed beside the profile, as the icon and the answer. ### The card over a name (Screenshot: The card over the name of a member: picture, the Following and Message buttons, name, headline and handle, Follows you, a line about them, and their numbers of followers, following and posts. The card over a name.) Resting the pointer on the name or the picture of a member for a moment opens a card over it: their cover and picture, their buttons, name, headline and handle, whether they follow you, a few words about them, their numbers, and the spaces you share. The keyboard opens it too, by moving to the link. It closes when the pointer leaves it, on Escape, and on a scroll. Touch screens have none: a tap opens the profile. ## Editing a profile (Screenshot: Edit profile: the cover and the picture with their buttons, then Name, Headline and the profile fields, each with who sees the answer, and Save profile. Edit profile.) A member opens **Edit profile** from their account menu, or from their own profile. The **Profile** tab holds: - **The cover and the picture.** Dropped on their place, or picked with **Change cover** and **Change your picture**. Each is cropped before it is uploaded: the picture round, the cover three times as wide as it is high. - **Name** and **Headline,** "one line under your name everywhere". - **The profile fields,** each with who sees the answer, as the member chooses unless the field fixes it. **Save profile** keeps it all at once. Edit profile also holds **Notifications**, **Privacy** and **Account**, and **Verification** where the site verifies members. ### Privacy (Screenshot: Edit profile, Privacy: Muted with one member and Unmute, then Blocked with one member and Unblock. Edit profile → Privacy.) - **Your memberships,** where the site lets members hide which spaces they are in (the Sensitive component does): **Hide my memberships in spaces I join**, and the spaces they hid. A hidden membership is left out of the member list of the space, their profile and every list of people. The team of the space and administrators still see it, and the member still counts in its number. The menu of each space hides or shows one at any time. - **Distance,** where members are found by how far they are: **Do not show how far I am** keeps them out of searches near a place. Their place still shows on their profile to whoever its field allows. - **Muted:** the members and posts they get no notifications from, each with **Unmute**. - **Blocked:** the members they blocked, each with **Unblock**. ## Who can open profiles (Screenshot: Settings, Joining, Who can see it: Who can see the community, Who can see the rest of the site, Profile pages and Members directory. Settings → Joining → Who can see it.) Under **Settings → Joining → Who can see it**: - **Profile pages.** **Public** (the default): each member has a page anyone can open, and their name links to it wherever it shows. **Members only**: logged-in members open the pages of each other, and visitors see names and pictures without links. **Off**: members see only their own page, the team every page, and names and pictures still show beside what members write, without links. - **Members directory.** **On** (the default), **Members only**, or **Off**: no Members page, no people in search and no member widgets. It is off while profile pages are. A profile shows to a visitor only while the community itself does: **Who can see the community** set to **Members only** shows visitors a login prompt everywhere. ## The members directory (Screenshot: The Members page: the tabs Discover and Following, Search by name and Sort: Recently active, then six member cards, each with a cover, a picture, a name, a handle, a headline, followers, when they were last active, and Follow, Following or Edit profile. The members directory.) The **Members** page lists every member the reader may see: - **Tabs,** for a member: **Discover** (everyone), **Following** and **Friends**, as the site connects members. - **Search by name.** - **Sort:** **Recently active** (the default), **Newest**, **Name**, and **Nearest** where members give a place. - **Filters:** the profile fields marked as a directory filter, **Verified** where the site verifies members, and **Near** a place, the place of the reader or where they are now, within the distance they pick. On a phone the row is **Search by name** and **Filters**, its number on it: the order and every filter are in its sheet, with **Clear**. Tabs that don't fit the width are under **More**. Each card shows the cover, the picture, the name, the handle and the headline, the answers to fields marked to show on cards, the followers or friends of the member, when they were last active (or Online, on a site served by WordPlus Cloud), and their button. ## Settings → Members → Profiles (Screenshot: Settings, Members, Profiles, Pictures and places: Members without a picture, Pictures across the site, A member place for others, and Distances in. Settings → Members → Profiles: Pictures and places.) **Pictures and places:** - **Members without a picture:** **Initials** (the default), on a color of their own, or **Gravatar** where they have one, else their initials. Gravatar then gets the email address of each such member, hashed. - **Pictures across the site:** **Community picture** (the default): where WordPress shows an avatar (comments, forums, messages), the community picture of the member. **From WordPress**: WordPress shows its own avatars outside the community. - **A member place, for others:** how far a place is rounded before others see it: **About 1.2 km** (the default), **About 5 km** or **About 40 km** across. Everyone in an area is at one distance and one spot on a map, never their own. - **Distances in:** **Kilometres** (the default) or **Miles**, in the directory and in lists of posts with a place. (Screenshot: Settings, Members, Profiles, Deleting an account: When an account is deleted and Members deleting their account. Settings → Members → Profiles: Deleting an account.) **Deleting an account:** - **When an account is deleted:** **Keep their posts** (the default), under "Deleted member", so threads still read correctly, or **Delete their posts** with the account. - **Members deleting their account:** **Not offered** (members ask the team, and an administrator deletes the account in Users), **Ask an administrator** (the default: Edit profile → Account files a WordPress erasure request, the member confirms it by email, and an administrator carries it out in Tools → Erase Personal Data), or **At once** (after the member types their password). Administrator accounts are never deleted this way. ## Changing profiles Profiles change in the ways every component does, set out in full in [Changing a component](https://www.poly-community.com/docs/developers/changing-components/). ### In the admin The settings above, the profile fields and connections under **Settings → Members**, **Settings → Appearance → Members** for how member cards look, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of their texts. ### In the Site Editor With a block theme, open **Appearance → Editor**: - **Community: Member profile** is the profile page. Its **Profile header** holds **Member cover**, **Member picture**, **Member name**, **Member handle**, **Online status**, **Member headline** and **Member stats**, the buttons (**Edit profile button**, **Connect button**, **Message button** and two **Call button** blocks), **Profile menu** and **Profile tabs**. Under it, **Profile tab content** draws the tab open. - **Community member card**, a template part, is each member card: in the members directory and in the member lists of a profile, such as its followers. Change it once and every card follows. - **Community member row**, a template part, is each member in the short lists, such as **Who to follow**. ### A copy of a view The markup inside the blocks comes from views, which a copy in your theme replaces, as [A view in your theme](https://www.poly-community.com/docs/developers/changing-components/#a-view-in-your-theme) shows. The About tab is the view `parts/profile-about`: a copy of it draws the About tab of every member, also after a move from one member page to another. ```bash wp poly-community view copy parts/profile-about ``` ### In code A plugin of your own changes the blocks of every member card with `poly_community_member_card_layout`, which gives the blocks of **Community member card** as Poly Community starts it. A classic theme draws the cards with them, and a block theme starts from them until the part is saved in the Site Editor. This one adds a line under each headline: ```php function my_site_member_card( $layout ) { return str_replace( '', '

Riverside member

', $layout ); } add_filter( 'poly_community_member_card_layout', 'my_site_member_card' ); ``` The tabs of a profile and the items of its ⋯ menu are places of the registry, `profile.tabs` and `profile.menu`, which a plugin adds to, moves and takes from on `poly_community_register_ui`: see [Tabs and menus](https://www.poly-community.com/docs/developers/tabs-and-menus/) and [Buttons and menus](https://www.poly-community.com/docs/developers/buttons-and-menus/). A button in the head of a profile is a block, placed with Block Hooks. --- # Profile fields Address: https://www.poly-community.com/docs/features/profile-fields/ Profile fields are what members tell about themselves beyond their name and headline: a few lines about them, where they live, a website, what they like to do. Members fill them in on **Edit profile**, and each answer shows on the About tab of their [profile](https://www.poly-community.com/docs/features/profiles/), to those its member lets see it. Everything on this page is set in **Poly Community → Settings → Members → Profile fields**. (Screenshot: Settings, Members, Profile fields: on the left the section About with About, Location, Website and Pronouns, then the section Around the river with Neighbourhood, Birthday and What I like to do, each with its type and what is set on it, and on the right Add a field, with the section to add to and a tile for each type. Settings → Members → Profile fields.) ## Sections and fields A new site starts with one section, **About**, holding four fields: **About** (a paragraph), **Location**, **Website** and **Pronouns**. Change them, delete them, or add your own. The screen is the list of fields on the left and, beside it, a panel: - With no field chosen, the panel is **Add a field**: pick a type, or drag its tile to the place in the list where the field should go. **Add to** says which section a picked type goes to. - **Add a section**, at the top of the card, makes a new one, with a name and an optional line under it. Sections show as headings on Edit profile and on the About tab, in their order. - Each row says the type of the field and what is set on it, in words: **Required**, **At sign-up**, **Counts**, **Directory filter**, **On cards**, **Special-category**, who sees its answers where it is not everyone by their own choice (**fixed** where members cannot change it), and **Hidden** for a field turned off. - The **⋯** of a field holds **Move up**, **Move down** and **Delete**. The **⋯** of a section holds **Add a field here**, **Rename**, the moves, and **Remove the section** while it is empty. - **Drag a field by its name or its grip** to move it anywhere in the list, into another section too, or onto a section heading to make it the first field there. A copy of it follows the pointer, a line shows where it lands, and the section it lands in is lit. Sections move by their grip, and fields and sections move with the keyboard on their grip. **Save changes** keeps the whole screen at once. Deleting a field asks first, as it deletes every answer to it. ## A field (Screenshot: The field Neighbourhood chosen in the list, and its panel beside it on the Field tab: Name, the type Dropdown with Change, its four options, Members may add their own, Help text, Section and More options, then its key and Delete field. A field chosen, its panel on the Field tab.) A press on a field opens it in the panel, on three tabs. On a phone the panel slides up over the list, and **Done** puts it away. **Field:** - **Name** and **Type.** The type shows with its icon, and **Change** opens every type as a tile. The types: **Short text**, **Paragraph**, **Link**, **Number**, **Date**, **Phone**, **Email**, **Dropdown**, **Choice** (one of several), **Checkboxes** (any of several), **Place**, **Country** and **Social profiles**. - **Options,** for a Dropdown, a Choice or Checkboxes, each kept with its own id, so renaming one keeps the answers. - **Members may add their own,** for those three: a member who does not find their answer in the list writes their own, shown on their profile. Directory filters use the options of the list only. - **What a type adds:** a Date may show as **The date** or **Age**, where everyone who may see the answer sees how old the member is, never the date. A Place may let members give an exact address, or only an area or a city. A Country may show its flag beside the name of the member. Social profiles lists the networks members fill in, each a row with its logo. A Phone field may take the number the member confirmed in their account. - **Help text,** under the field on the forms, and **Section.** - **More options,** what most fields never need: - **Icon,** shown before the name of the field on the About tab, where a field without one gets an icon for its kind (a link, a calendar for a date, a tag for choices). A field with an icon of its own is also listed beside the profile, as its icon and the answer. - **Width:** **The whole row** or **Half a row**. Two half-row fields sit side by side on the forms, and one a row on a phone. - **Show as,** for a Dropdown, a Choice or Checkboxes: **Automatic** (chips for several choices, segmented buttons for one of a few short options, else chips, and a dropdown for a Dropdown field), **Chips**, **Segmented buttons**, **Cards**, **List** or **Dropdown**. **Who sees it:** - **Who sees answers:** **Everyone**, **Members**, **Friends** (while members become friends), **Followers** (while members follow each other) or **Only me**. With **Members choose who sees theirs** on, it is where each answer starts, and every member picks for their own. - **Special-category data,** below. **Where it is used:** - **Shown:** turned off, the field is gone from the forms and profiles, its answers kept. - **Required,** and **Ask at sign-up,** which puts the field on the sign-up form too. - **Counts toward completeness,** while completeness is counted (below). - **Filter the member directory by it,** for a Dropdown, a Choice or Checkboxes: a choice beside the search of the members directory. Only answers everyone who sees the member listed may read narrow it: an answer kept to members on a profile everyone may see, or kept to fewer people, never does. - **Show on member cards:** the answer shows on the member cards of the directory and on the card over a name, with the icon of the field, to those who may see it. A card shows the first three answered, in the order of the list. At the foot of the panel the field shows its **Key** (`neighbourhood`), made from its first name and kept when it is renamed, and **Delete field**. ## What members see (Screenshot: Edit profile, the section Around the river: Neighbourhood as a dropdown with Everyone, and Birthday as a date box with its calendar button with Members, side by side, then What I like to do as chips with Everyone. A section of fields on Edit profile.) On **Edit profile** each field is drawn as its type and its **Show as** say, with its help text under it and, where members choose, who sees the answer beside it: **Everyone ▾**. A date is typed and shown in figures the way the browser of each member writes dates, as the date boxes of the browser itself do: day first in an English (UK), German or Ukrainian browser (DD/MM/YYYY, DD.MM.YYYY), month first in an English (US) one (MM/DD/YYYY). The calendar and its words are in the site language. A date typed another way is read too: 17.04.1990 day first, 1990-04-17 year first, and a month by its name, as in "jun 3 1991". As it is typed, the calendar opens on the month typed so far and marks the day. Or it is picked from a calendar of the days of a month, the months of a year or twenty years at a time. A birthday shown as an age opens on the years and cannot be later than today. A required field must be answered before **Save profile**, and the field it stops at says why. (Screenshot: The About tab of Zoë Fischer: About, Location, Website and Pronouns, then Around the river with Neighbourhood Riverside, Birthday 32 years old, What I like to do Birdwatching and Photography, and Member since. The About tab, a birthday shown as an age.) On the About tab each answer shows to those its member allows, by section. A member who is not allowed to see an answer sees nothing of it, not even that there is one. (Screenshot: The member card of Zoë Fischer in the directory, with her neighbourhood under her headline, beside its icon. An answer on a member card.) (Screenshot: The Filters of the members directory open: Neighbourhood with Any, Old Town, Riverside, Hilltop and Harbour, then Clear and Show results. A field as a directory filter.) ## Special-category answers A field marked **Special-category data** is for health, beliefs, sexuality, politics, union membership and the like. Its answer is kept only once the member agrees to a consent, asked on the sign-up form and on Edit profile before such an answer is saved, and recorded with its words and when. Members withdraw it on Edit profile, which deletes those answers. Special-category answers never show on cards. **Consent for special-category answers** appears on the screen once such a field exists. **What members agree to** holds its words: leave it empty for the words shown in the box. New words ask each member again when they next save such an answer. ## How complete profiles are (Screenshot: Profile completeness: Count how complete profiles are switched on, What counts with Profile picture and Headline ticked, Until a profile is complete set to Before posting, and Days existing members have to complete theirs. Profile completeness.) **Profile completeness**, at the top of the screen, counts how complete each profile is and decides how strictly a complete profile is required: - **Count how complete profiles are** (off by default). - **What counts:** **Profile picture**, **Cover picture** and **Headline** (the picture and the headline by default), and the fields marked **Counts toward completeness**. - **Until a profile is complete:** - **Only remind them** (the default): members see what is missing, and can hide it for a week. Nothing is held back. - **Before posting:** they can do everything but post and reply until it is complete. - **Before taking part:** they can only look around: no posts, replies, likes, messages, follows, friend requests, spaces or uploads. - **Before entering:** they get only Edit profile, and every other community page leads there. - **Days existing members have to complete theirs,** counted from when you save it. New members have none. Administrators are never held back. (Screenshot: The Profile completeness block: Finish your profile, 66% done, 1 thing left, Fill in What I like to do, and Until it is complete, you cannot post or reply. The Profile completeness block.) The **Profile completeness** block shows each member how complete their profile is and the next things to add, each a link to its place on Edit profile. It sits first in the right column of the Activity page and above the form of Edit profile, and only its member sees it, only while their profile is not complete. Where something is held back, the composer and the reply box say what is missing instead. ## Changing profile fields The fields themselves are the site data: everything above is changed on the screen, with no code. Their texts are changed with [Settings → Words](https://www.poly-community.com/docs/settings/words/), and the words of the answers are what you type. With a block theme, open **Appearance → Editor** to place the blocks that show them: - **Profile completeness:** a ring or a bar, and how many of the next things to show. It works on any page. - **Profile details:** beside a profile, the short About of its member, their location, website and spaces. - **Member fields:** in the **Community member card** part, the answers set to show on cards. - **Profile field:** in a **Registration form** built in the editor, each field asked at sign-up, placed in the step you choose. Its type, options and who sees it stay those of this screen. See [Changing profiles](https://www.poly-community.com/docs/features/profiles/#changing-profiles) for the profile page and its cards. --- # Following and friends Address: https://www.poly-community.com/docs/features/connections/ Members connect in the way you choose under **Settings → Members → Connections**: - **Follows**: one way, as on social networks. A member follows whoever they like, without asking. - **Friends**: both ways. One member asks, the other accepts. - **Both**: members follow whoever they like and become friends with those who accept. - **Neither**: members don't connect at all. There are no buttons, tabs or audiences for it, and their Following feed is the spaces they are in. (Screenshot: Settings, Members, How members connect: Follows, Friends, Both and Neither, Both picked, then Call friends with Friends and Connections. Settings → Members → Connections.) The choice decides the buttons on profiles, the tabs, who a post can be for and what Following shows. It never changes what members made: switch friends off and on again, and every friendship is there as it was. ## Following On a profile, **Follow** starts following the member, and the button then reads **Following**. Pressed again, it stops. Following puts the posts of the member in the **Following** feed of the one who follows, as [The feed and posts](https://www.poly-community.com/docs/features/feed/) describes, and a post can be written for **Followers** only. The member followed sees it in the bell when their notifications are set to Everything, the follows of a day together. Profiles show followers and following as numbers and as tabs, and the members directory has a **Following** tab with the people a member follows. ## Friends **Add friend** sends a request, and the button then reads **Requested**. Pressed again, it cancels the request. (Screenshot: The head of the profile of Leo Martins as another member sees it, with Add friend, Follow, Message and the menu, and the tabs Posts, About, Friends, Followers and Following. A profile where members follow and become friends.) (Screenshot: The same profile after Follow and Add friend: the buttons read Requested and Following. Following, and a request waiting.) The other member is told, and finds the request on their own **Friends** tab, under **Friend requests**, with **Accept** and **Decline**. The requests they sent are there too, under **Requests you sent**. An accepted request stays on the tab, marked as friends, until the page is opened again. (Screenshot: Friend requests on the Friends tab: Maya Chen, Product designer, with Accept and Decline. A request on the Friends tab of its member.) Once accepted, they are friends both ways. Each sees the posts of the other in Following, a post can be for **Friends** only, and profiles show their friends as a number and a tab. The one who asked sees it in the bell when their notifications are set to Everything. **Friends** on a profile ends a friendship, for both of them. ## Who a post is for With following or friends on, the composer offers **Followers** or **Friends** beside **Everyone**, **Members** and **Only me**. A post for followers is seen by the people who follow its author, and a post for friends by the friends of its author. (Screenshot: Who can see this post: Everyone, Members, Friends, Followers and Only me, each with a line about it, then Post in a space. The audiences of a post.) ## People you may know Beside the feed, **Who to follow** suggests members to connect with: those the directory lists for the member, the most followed first, leaving out whoever they follow, call a friend or have a request with. Where members become friends, it's called **People you may know**, and its buttons send a friend request. (Screenshot: People you may know: four members, each with a picture, a name, a line about them and a button to add them, then Browse members. Suggestions beside the feed.) ## Friends or connections **Call friends**, shown while friends are on, picks the word. **Connections** suits a professional network: every text and address says so, **Connect**, **Connection requests**, the tab **Connections** and its address `/members/maya/connections/`. An address with `friends` in it still opens the tab. (Screenshot: The head of a profile with friends called connections: 0 connections, the buttons Connect, Follow and Message, and the tab Connections. Connections in place of friends.) ## Blocking A block ends every follow and friendship between two members, both ways, and while it lasts neither can follow the other or ask to be friends. Members block from the ⋯ menu of a profile, as [Profiles](https://www.poly-community.com/docs/features/profiles/) shows. ## Connections of the components Some components add connections of their own, each with its tab on profiles: **Matching** makes a match when two members choose each other, and with mentoring on, a member asks another to be their mentor. **Minors** links a young member to a guardian. A component registers its own on `poly_community_register_relationship_types`: one way or both, asked and accepted or made by the component alone, and how many each member may have. --- # Points, badges and ranks Address: https://www.poly-community.com/docs/features/points/ Members earn points for what they do on the site: a like received, a post written, an answer voted up. Points add up to a total each member sees, badges mark what they did, ranks name how far they have come, and contests reward the most active members of a month or of a season. Points are set up on the **Points** tab of **Settings → Components → Reputation**. Reputation, the points of questions and answers, is one kind of points: rules can give it too, or give **challenge points** apart from it. ## What earns points A rule gives points when something happens on the site, to the member who did it or to the member it was about, at most so many times a day if you like. Each counts once for a thing and a member, and what is undone (a reaction taken back, a post deleted) takes its points back. (Screenshot: What earns points: A like received, 2 points to whom it was about, and A post written, 1 point to who did it, at most 3 a day, each with Edit and Remove. Rules on the Points tab.) The team gives or takes points by hand too, with **Give or take points**: members by username, email or number, how many (below 0 takes them) and why, which the member sees in their history. **Award codes** are codes a member redeems once for points, handed out at an event or in a newsletter. Each has its points and how many times it can be used. ## Badges A badge is earned by doing something a number of times (ten posts written), by a points total (100 points reached), or only given by the team. It can give points when it is earned, be earned a set number of times, be held by a set number of members across the site, and stay hidden until someone earns it. **Give it** gives one by hand. (Screenshot: Badges: Storyteller, ten posts and 25 points, Helpful at 100 points reached, Founding member and Helper of the month given by the team, each with Give it. Badges on the Points tab.) ## Ranks Ranks go by reputation, each from the points it starts at, such as Newcomer from 0, Regular from 50 and Expert from 120, each with its colour. A rank can give a member type, so what that type opens opens to the members who reach it. A rank reached is kept, unless **Falling below a rank takes it away** is on. (Screenshot: Ranks: Newcomer from 0 points, Regular from 50 and Expert from 120, then Falling below a rank takes it away, The rank beside member names, Badges beside a name, and A Leaderboard tab on every space. Ranks, and where points show.) Below the ranks, the owner says where they show: **The rank beside member names**, how many **Badges beside a name**, and **A Leaderboard tab on every space**, with the points of its members this month and of all time. ## Contests A contest is a leaderboard with dates: the points earned between them, by the whole community or by the members of one space. When it ends, its first places get the badge you chose, ties sharing a place. The **Points board** block shows a contest on a page, by its number. (Screenshot: Contests: number 1, December helpers, from the 30 November to the 30 December, the first 3 places win the badge. A contest on the Points tab.) ## The Achievements tab Where the site gives badges or ranks, each profile has an **Achievements** tab: the points and rank of the member, their badges, and the history of what earned their points. Every award of the site is listed under **Poly Community → Members → Points**. (Screenshot: Standing on the Achievements tab: 141 points and the rank Expert. The top of the Achievements tab.) ## Not there yet Points are for standing and recognition. Members can't spend them, and Better Messages doesn't read them as a points provider. Neither is part of version 1.0. ## Changing points The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to points that way, so profiles and leaderboards stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more of the points of a member**: data and a template, never HTML drawn for one reader. What every reader sees, such as a total of your own, goes in the data the page is drawn from and is bound in a template. What one reader alone sees, such as how close they are to the next rank, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. `wp poly-community page-data check profile` says whether a profile is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the Achievements tab how many points the member needs for their next rank: register a part on poly_community_register_page_data that returns the number, and bind it in the template of the tab with state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check profile and fix what it reports." - **In the admin**: the rules, badges, ranks and contests above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of their texts. - **In the Site Editor**: **Points board** shows a contest on any page, and the Achievements tab is drawn from its own blocks. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # The team Address: https://www.poly-community.com/docs/features/team/ The team runs the community with you: its administrators, its staff and its moderators. Beside them, official accounts speak for the site and show an **Official** mark beside their name. All of it is set under **Settings → Members → Team**, without switching anything on. The team of the site is apart from the teams of its spaces: the owner, admins and moderators each space has run that space alone (see [Who runs a space](https://www.poly-community.com/docs/features/spaces/#who-runs-a-space)). (Screenshot: Settings, Members, Team: admin marked Administrator, Leo Martins with Staff in the role list, Maya Chen marked Official with Add as moderator, Zoë Fischer with Moderator, each with their buttons, then Add to the team with a search by name. Settings → Members → Team.) ## Who is on it - **Administrators** may do everything, these settings included. Every WordPress administrator is on the team as one, which is changed under **Users** in WordPress. - **Staff** may do all a moderator may, and are above them in the team. On the Members screen they also approve, verify and edit members, give points and add them to spaces, read the answers they gave when they signed up and their email addresses, and remind or delete sign-ups waiting. They see payments and the checks of who members are, and export the lists, payments aside. - **Moderators** read the reports, hide, delete and restore posts and comments, suspend members and see the sign-ups waiting, on the **Members** and **Content** screens of the admin. They never act on one of the team as high as them. The **Moderation** queue, what waits to be approved, stays with administrators. - **Official accounts** may do nothing more than other members. The mark beside their name says that they speak for the community. Moderators and staff find **Poly Community → Members** and **Poly Community → Content** in the WordPress admin, each with what their role allows. The settings stay with administrators. A suspended member is left out of the team while the suspension lasts, and acts as no one. ## Adding someone Under **Add to the team**, type two letters or more of a member name or username: the members found are listed with **Add as moderator**, **Add as staff** and **Mark as official**. On the team, a moderator or a member of staff has their role in a list beside their name, where you change it, then **Mark as official** or **Take off the Official mark**, and **Take off the team** last. An official account that is not on the team has **Add as moderator** where the role list would be. An administrator is marked **Administrator** and keeps only the Official mark here: their role is changed in Users alone. A role given or taken holds at once, on every open page of the member: what they may do and see follows it without a reload. ## Changing what each may do The rights reach the pages as facts of the reader, in the data of each move: the menus, the Members and Content screens and the buttons on a post show what each may do from them, and nothing is drawn by the server for one member of the team. A change of rights keeps it that way. It changes the rule below and never the drawing, and anything new it shows is data and a template, as [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) shows by hand and its part [For coding agents](https://www.poly-community.com/docs/developers/data-driven-pages/#for-coding-agents) tells a coding agent. What the team may do on the Members and Content screens is a list of rights, each with the least role it needs, `team.members.approve` for staff and `team.posts.hide` for moderators. A plugin of your own changes it with `poly_community_team_rights`. This one lets moderators approve members too: ```php function my_site_team_rights( $rights ) { $rights['team.members.approve'] = 'moderator'; return $rights; } add_filter( 'poly_community_team_rights', 'my_site_team_rights' ); ``` --- # Spaces Address: https://www.poly-community.com/docs/features/spaces/ A space is a place where members gather around a topic, a team or a project. Each has its own posts, its members and the people who run it, a cover and a picture, and a page of its own under the community, `spaces/trail-runners/`. A member follows the spaces they join in their **Following** feed, and posts in them from the space or from the composer of the feed. Spaces are a part of the Community component, switched on and off under **Settings → Components**. Off, they and their posts are hidden everywhere and nothing is deleted. A site can call them groups: see [Settings → Spaces](#settings--spaces). ## The directory (Screenshot: The Spaces page: the tabs Discover and Your spaces with 3, Search spaces, Sort: Active and New space, then cards of spaces, each with a cover, a picture, a name, Private or Public with the number of members, a line about it, when it was last active, and Owner, Joined or Join, and beside them Spaces you may like and New spaces. The spaces directory, as a member sees it.) The **Spaces** page lists every space the reader may see: - **Discover** (every space) and **Your spaces** (the ones the member is in), with **Search spaces** by name. - **Sort:** **Active** (where something happened last, the default), **Most members** or **Newest**. - **New space,** for those who may make one. On a phone it is a plus at the end of the tabs, with the search on a line of its own under them. On a phone the search has **Filters** beside it, and nothing else: the order and the kinds of space are in its sheet. Each card shows the cover, the picture, the name, who can see the space and how many members it has, its line, when it was last active, and the button of the reader: **Join**, **Request to join**, **Joined**, or **Owner** on their own. Beside the directory, **Spaces you may like** and **New spaces** suggest a few more. In the left column of every page, **Your spaces** lists up to ten of the spaces of the member, with a link to all of them past ten. A visitor, or a member in none, sees there the six most active spaces of the site and **All spaces**. ## A space (Screenshot: The head of Trail Runners as one of its members sees it: a cover of a flower, its picture, its name, Public, 17 members and 4 posts with a few of their pictures, the buttons Joined, Chat and Share, then the tabs Posts, Members, About and Messages. The head of a space, as one of its members sees it.) The head of a space holds its cover and picture, its name, who can see it, its numbers of members and posts with the pictures of a few members, and the buttons of the reader: - **Join**, **Request to join** or **Accept invitation**, as the space takes members. Once in, the button reads **Joined**, and **Leave** under the pointer. - **Invite**, for those who may invite ([below](#invitations)). - **Manage**, for the admins of the space: its settings. - **Chat**, where Better Messages gives each space a conversation of its members. - **Share**, to copy its link or share it elsewhere. - **The ⋯ menu,** for those who run it, with **Copy link** in place of Share: **Manage members** for its admins and moderators, **Leave space** for an admin who isn't the owner, and **Delete space** for its owner. On a phone the cover stays whole and the picture sits under it, beside the name, who can see the space and its numbers on one line. Under them are the main button for the reader and ⋯, which holds the other buttons, Join with my membership hidden among them. On any tab but the first the head folds to a bar with the picture, the name and ⋯, so the tab starts near the top of the screen. (Screenshot: Trail Runners on a phone as one of its members sees it: the cover whole, its picture under it beside its name, Public, 17 members and 4 posts, then Chat and ⋯, the tabs, the composer and the first post. A space on a phone.) Under the head come the tabs: **Posts**, **Members** with their number, **About**, and those the components add, such as Events or Messages. - **Posts** has the composer of the space, for those who may post in it, and its posts, sorted as the reader picks. A member who may only reply reads why above them: "Its admins and moderators post here". - **Members** lists them, the owner first. Its admins and moderators find the requests to join and the invitations waiting above the list, and its admins the members banned below it. - **About** shows the line about the space, its rules numbered, who can see it, how it takes members, when it was made, and the answers to its [space fields](#space-fields). Beside the posts, **About this space**, **Who runs it** (its owner, admins and moderators, each with their role) and its rules, the first three, then **Show all**. ## Making a space (Screenshot: New space: Add a cover over an empty cover, then Name, What is it about?, Rules with one rule a line, and Who can see it: Public, Members only, Private and Hidden, then Cancel and Create space. New space.) **New space** in the directory opens the form: a cover, a name, what it is about, its rules (one a line, shown beside the space, numbered) and who can see it. The member who makes a space is its owner. **Who can create spaces**, under Settings → Spaces, lets every member make them or administrators only. New space always makes a space with a feed, for administrators too. The boards of the forum and the topics of questions and answers are kinds of space as well, made under Settings → Forum and Q&A: see [Forum](https://www.poly-community.com/docs/features/forum/#settings--forum-and-qa) and [Questions and answers](https://www.poly-community.com/docs/features/questions/#settings--forum-and-qa). ## Who can see it and who can join (Screenshot: Space settings, Privacy, Who can see it: Public, Members only, Private and Hidden, each with what it means, Private picked. Space settings → Privacy: who can see the space.) **Who can see it,** under the **Privacy** tab of its settings: - **Public:** anyone, visitors too, sees the space and its posts. - **Members only:** everyone logged in sees it and its posts. - **Private:** members see it listed, with its name and its line, and only its members see its posts. Visitors don't see it. - **Hidden:** only its members, and those invited to it, know it is there. Changing it says first what the change does to the posts already written: a private space made public shows its posts to everyone, those written while it was private included. (Screenshot: Who can join: Anyone who can see it, Ask to join picked, and By invitation only, then Ask them a few questions, with one question: What do you design, and where can we see some of it? as a paragraph, required, and Add a question. Who can join, with a question for whoever asks.) **Who can join:** - **Anyone who can see it:** they join with one tap. - **Ask to join:** a member asks, and its admins and moderators approve each request on the **Members** tab, where they are told of it. The member is told when they are let in. - **By invitation only:** there is no Join button, and members come in by invitation. ### Join questions A space where members ask to join can ask them questions first, up to ten, under **Ask them a few questions** in **Who can join**: a short answer, a paragraph, one of a list or several of a list, each required or not. **Request to join** then opens the questions, and the request comes with the answers, which its admins read on the Members tab before they let the member in. Declining, they can give a reason the member reads. A member takes back a request from **Edit profile → Requests**. The answers are kept 30 days after the request is answered. ### Invitations (Screenshot: Requests to join, 1: Liam O'Brien, @liam-obrien, with Approve and Decline. A request to join on the Members tab.) **Invite** opens a search for members by name or handle, up to twenty at once. Those invited are told, and join with one tap, however the space takes members, a private or hidden one too. **Who can invite**, under Privacy: **Admins and moderators** (the default) or **Every member**. The invitations waiting are listed on the Members tab, each with **Cancel invitation**. ## Who runs a space Each member of a space has a role: - **Owner:** the member who made it. They run it as an admin, and alone may delete it. To leave the space they first hand it on: **Make owner**, on the row of another member, and they stay an admin. - **Admin:** changes its settings, gives roles, removes and bans members, and does all a moderator does. - **Moderator:** answers requests to join and invites members. - **Member:** posts, replies and likes, as the space allows. On the **Members** tab, the ⋯ of each member gives its admins **Make admin**, **Make moderator**, **Make a member only**, **Make owner** (its owner alone), **Remove**, who may join again, and **Ban**, who leaves the space and can't join, ask or be invited until the ban is lifted. Banned members are listed under **Banned**, each with **Lift ban**. Site administrators may do all of this in every space, and run every space from **Poly Community → Content → Spaces**. The admins and moderators of a space may also post as the space itself, with **Post as** in its composer: readers see the space as the author, and the team of the space and of the site see who wrote it. ### Anonymous posts and hidden memberships With the **Private participation** component on, the **Anonymity** section of the Privacy tab of a space offers two more: - **Anonymous posts:** members may post and reply as **Anonymous member**, with a plain picture and no link. The author, the moderators of the space and of the site still see who wrote it, and the post stays anonymous if the setting is switched off later. - **Hide new member memberships:** whoever joins from then on is left out of the member list of the space and of their profile, unless they choose to show it. They still count in its number of members. A member hides or shows their own from the ⋯ menu of the space, or joins with **Join with my membership hidden**. ## The settings of a space **Manage** opens the settings of a space, for its admins, in tabs: - **General:** its picture and cover, saved as soon as they are chosen, its name, what it is about, its address (links to an old address keep working), its rules, and its chat where Better Messages gives one. - **Privacy:** who can see it, who can join, the join questions and who can invite. - **Posts:** **Who can post**, every member, or its admins and moderators for a space of announcements, where members still reply and like. **Titles**, where every post needs one, as on a board. And **What posts can carry**, of what the site allows: pictures, files, video, polls, GIFs and the rest. Posts written before keep what they carry. The components add tabs and sections of their own, such as the plans that open a space, with Payments. ### Deleting a space **Delete space**, in the ⋯ menu or at the end of General, asks for the name of the space. It then leaves every page at once, with its posts, replies, files, members and chat. It is kept for the days **Keep deleted posts, replies and spaces for** says under **Settings → Moderation**, 30 unless changed, while a site administrator can restore it whole from **Deleted spaces** there, then deleted for good. Its owner is told, and can ask for it back from their Account page. Administrators find the request beside the space in Deleted spaces. ## Settings → Spaces (Screenshot: Settings, Spaces: Call them, Spaces or Groups, and Who can create spaces, Any member or Admins only. Settings → Spaces.) - **Call them:** **Spaces** (the default) or **Groups**. Every text and address follows, `/community/groups/`, "Create a group", "Your groups", in the admin too. An old address still opens the page. - **Who can create spaces:** **Any member** (the default), who runs the spaces they make, or **Admins only**. ### Space fields Under **Space fields**, a space can tell more about itself than its line: a place, a website, a date, a choice of a list, as [Profile fields](https://www.poly-community.com/docs/features/profile-fields/) do for members. Its admins fill them in under General, and they show on its About tab. ## Spaces inside spaces The **Spaces inside spaces** component puts spaces inside others, up to four levels, with members added by rules. While it is on, Settings → Spaces holds its settings too. See [Spaces inside spaces](https://www.poly-community.com/docs/components/nested-spaces/). ## Changing spaces Every page of a space is drawn by the browser from data: one file for the page of all spaces, the same for every reader, and the data of each move, which brings the space, its counts and what the reader may do in it. Whatever you change keeps it that way, and that is what keeps the pages fast. A block you add draws from that data, and what differs from one reader to another is a fact of the reader, never HTML the server draws for them alone. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) shows how to do it by hand, and its part [For coding agents](https://www.poly-community.com/docs/developers/data-driven-pages/#for-coding-agents) gives a coding agent (Claude Code, Codex, Gemini CLI) the same way, with the check command as its test. Spaces change in the ways every component does, set out in full in [Changing a component](https://www.poly-community.com/docs/developers/changing-components/). ### In the admin The settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of their texts. ### In the Site Editor With a block theme, open **Appearance → Editor**: - **Community: Space** is the page of a space. Its **Space header** holds **Space cover**, **Space picture**, **Space name**, **Space privacy**, **Space stats** and **Space member pictures**, the buttons (**Join button**, **Space invite button**, **Space manage button**, **Space chat button**, **Share button**) and **Space menu**, then **Space tabs**. Under it, **Space tab content** draws the tab open. - **Community: Spaces** is the directory, **Community: New space** the form, and **Community: Space settings** the settings of a space. - **Community space card**, a template part, is each space in the directory, and **Community space row** each space in short lists, such as Popular spaces. Change it once and every card follows. ### In code A plugin of your own changes the blocks of every space card with `poly_community_space_card_layout`, and of every space row with `poly_community_space_row_layout`, as [Profiles](https://www.poly-community.com/docs/features/profiles/#in-code) shows for the member card. The tabs of a space, the items of its ⋯ menu and the tabs of its settings are places of the registry, `space.tabs`, `space.menu` and `space.settings`, which a plugin adds to, moves and takes from on `poly_community_register_ui`: see [Tabs and menus](https://www.poly-community.com/docs/developers/tabs-and-menus/). The roles of a space are filtered by `poly_community_space_roles`, and who may do what in one by `poly_community_space_can`. --- # Forum Address: https://www.poly-community.com/docs/features/forum/ The forum is a place for longer conversations than the feed holds. Members start topics in boards, reply to each other, quote what they answer, and come back to what is new since they last read. Each board is a kind of [space](https://www.poly-community.com/docs/features/spaces/), so it has its own page, its members, its team and its settings, and the forum lists the boards under categories. The forum is a part of the Community component, set up under **Settings → Forum and Q&A**. ## The forum (Screenshot: Forum: tabs Boards, Latest, Unread and Watching with New topic, then the category Community with Announcements and General discussion, and Help and support with Help. Each board with its number of topics, how many are unread, and its latest topic with who wrote last and when. The forum, as a member sees it.) **Boards** lists the boards by category, each with its number of topics, how many of them are unread, and its latest topic. **Latest** lists the topics of every board, the latest first. **Unread** keeps the topics with replies the member has not read, and **Watching** the topics they watch. **New topic** opens the form in the board the member is in, or asks which board. (Screenshot: A board sorted by activity: eight topics, each with who started it and when, its replies, views and readers, and who replied last and when, one marked New, with Mark this board read and Sort above them. A board, its topics by activity.) ## A topic (Screenshot: A topic, Grinder settings for a new burr, in Forum, Community, General discussion: Watching and a menu at the top, its author, its replies, views and readers, Jump to first unread, the first post and then, under New since you last read, two replies, one in reply to Zoë Fischer, and Your reply at the end. A topic, with the replies new since the member last read it.) A topic opens with its title, the board it is in, who started it and how many replies, views and readers it has. Its posts follow in order, numbered, and a line marks **New since you last read**. **Jump to first unread** goes straight there. Each post has **Like**, **Quote**, which puts what the member selected into their reply, **Reply**, which answers that post by name ("In reply to Zoë Fischer"), and **Share**. A topic with more replies than **Replies on a page** shows them on numbered pages. **Watch** sends the member a notification of every new reply. Members watch the topics they start, and the ones they reply to unless they chose not to in their notification settings. A board can be watched too, for every new topic in it. ### Solved topics A board where **Topics can be solved** is on is for questions with one answer that helps, such as Help. The one who started a topic, or the team of the board, marks the reply that solved it, and the topic shows it as solved. For questions with votes and an accepted answer, see [Questions and answers](https://www.poly-community.com/docs/features/questions/). ## Starting a topic (Screenshot: New topic: the board General discussion picked, its line Anything that fits nowhere else, then the form with a title, the text and its tools, and Post. New topic.) A member picks the board, gives the topic a title and writes it. The tools are those of every post: formatting, files, a voice message, emoji and a poll. Who may start a topic in a board is its own setting, **Who can start topics**: - **Anyone who can read it**: members start topics without joining the board. - **Its members**: only those who joined it post and reply, and everyone else reads. - **Its admins and moderators**: for announcements, where members still reply. ## What moderators do in a topic The admins and moderators of a board, and the [team](https://www.poly-community.com/docs/features/team/) of the site, have more in the ⋯ menu of a topic: **Pin in this board**, **Pin for everyone**, **Lock**, which takes no new replies, and **Move to another board**. They delete any post, and hide a post for review as on the rest of the community (see [Moderation](https://www.poly-community.com/docs/running/moderation/)). On a phone the menu of a topic rises from the bottom of the window. ## Settings → Forum and Q&A (Screenshot: Settings, Forum: Add a category, then the category Community with Announcements, 1 topic, Public and Its admins and moderators, and General discussion, 1 topic, Public, then Help and support with Help, Public and Solved topics. Each row with Move up and Move down, each category with its pencil and Remove, and Add a board. Settings → Forum and Q&A, Forum.) **Forum** lists the boards under their categories. **Add a category** and **Add a board** make them, the pencil renames a category, and **Move up** and **Move down** set their order. Removing a category leaves its boards, with their topics and members, under **Without a category**. A board opens its own settings: its name, picture and rules, its category, **Who can start topics** and **Topics can be solved**. **Topics and questions** holds the two settings for every board: - **Replies on a page**: a topic with more replies shows them on numbered pages, from 5 to 100. - **The topics of a board open**: **Active first**, the topics replied to most lately first, or **Newest first**, by when each was started. Members can still sort the other way. The topics and replies are kept in the community tables of the site database, not in WordPress posts, so every backup of the database holds them. A deleted board is kept, with every post and member in it, as long as [Moderation → Deleted spaces](https://www.poly-community.com/docs/running/moderation/#deleted-posts-and-spaces) keeps spaces, and restored there. ## Changing the forum Every page of the forum is drawn by the browser from data: one file for the page of all topics, the same for every reader, and the data of each move, with the topic, its posts and what the reader may do there. Whatever you change keeps it that way, and that is what keeps the pages fast. A block you add draws from that data, and what differs from one reader to another is a fact of the reader, never HTML the server draws for them alone. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) shows how by hand, and its part [For coding agents](https://www.poly-community.com/docs/developers/data-driven-pages/#for-coding-agents) gives a coding agent (Claude Code, Codex, Gemini CLI) the same way, with the check command as its test. The forum changes in the ways every component does, set out in [Changing a component](https://www.poly-community.com/docs/developers/changing-components/): its texts in [Settings → Words](https://www.poly-community.com/docs/settings/words/), its pages in the Site Editor, and the items of the ⋯ menu of a topic at the place `topic.menu` of [Tabs and menus](https://www.poly-community.com/docs/developers/tabs-and-menus/). --- # Questions and answers Address: https://www.poly-community.com/docs/features/questions/ Questions are for asking something with an answer: members ask, others answer, the answers are voted up, and the one that helped is accepted and shown first. Questions are asked in Q&A topics, such as Garden questions or Kitchen help. Each Q&A topic is a kind of [space](https://www.poly-community.com/docs/features/spaces/), with its own page, its team and its settings. Questions and answers are a part of the Community component, set up under **Settings → Forum and Q&A**. ## The questions (Screenshot: Questions: Ask a question, tabs All questions, My questions and Watching, Filters and Sort Newest, then the questions, each with its votes and answers, its title and first words, its Q&A topic, who asked and when, and how many views. Answered ones show their number of answers in a green outline, filled green with a tick when one is accepted. On the side, Waiting for an answer and Community in numbers. The questions, as a member sees them.) Each question shows its votes, its answers, its title and first words, its Q&A topic, who asked and when. Its number of answers is outlined in green once it has one, and filled green with a tick once one is accepted. **All questions**, **My questions** and **Watching** choose whose, **Filters** picks a Q&A topic or **Unanswered**, and **Sort** orders them by **Newest**, **Active**, the newest answers and comments first, or **Most votes**. On a phone **Sort** is in the sheet of **Filters**, beside the tabs. ## Asking (Screenshot: The form to ask, in Garden questions: the title, then what you want to know, what you tried, what happened and what you expected, its tools and Post, and under it three tips for a good question. Asking, with a Q&A topic picked.) **Ask a question** first asks where, unless the site has one Q&A topic. Then the form opens: a title, the question itself, and tips for a good one. As the member writes the title, **Similar questions** shows questions like it, one of which may answer it already. Who may ask in a Q&A topic is its setting **Who can ask**: anyone who can read it, its members, or its admins and moderators, for a place of answers from its team where members still answer and comment. ## A question and its answers (Screenshot: A question, Why are my tomato leaves turning yellow?, with Asked, Active, Views and Readers, Watching and Ask a question, its vote and a comment, then 3 answers sorted by Votes: the accepted answer first, marked Accepted answer, then the others with their votes and comments, and Your answer at the end. A question with its answers, the accepted one first.) The question comes first, with its votes and comments, then its answers, sorted by **Votes**, **Newest** or **Oldest**, the accepted one always first. A member votes a question or an answer up with its arrow, and comments under it to ask for details. **Your answer** at the end is for answering the question asked. The one who asked, or the team of the Q&A topic, accepts the answer that helped with its tick. **Watching** sends a notification of every new answer: members watch the questions they ask, and the ones they answer unless they chose not to. ### Closing a question The team of a Q&A topic closes a question from its ⋯ menu, saying why: it repeats a question asked before, which it then links to, it does not fit the topic, or it needs more details. A closed question takes no new answers, and its comments stay open. **Reopen question** opens it again. ## Settings → Forum and Q&A (Screenshot: Settings, Q&A: The Q&A topics questions are asked in, Garden questions with 2 questions and Kitchen help with 1, both Public, each with Move up and Move down, and Add a Q&A topic. Settings → Forum and Q&A, Q&A.) **Q&A** lists the Q&A topics. **Add a Q&A topic** makes one, and **Move up** and **Move down** set their order. A Q&A topic opens its own settings: its name, picture and rules, and **Who can ask**. Members ask without joining one, unless its setting says otherwise. The settings for every board and Q&A topic are in [Forum](https://www.poly-community.com/docs/features/forum/#settings--forum-and-qa). ## Changing questions and answers Every page of questions is drawn by the browser from data: one file for the page of all questions, the same for every reader, and the data of each move, with the question, its answers and what the reader may do, such as vote or accept. Whatever you change keeps it that way, and that is what keeps the pages fast. A block you add draws from that data, and what differs from one reader to another is a fact of the reader, never HTML the server draws for them alone. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) shows how by hand, and its part [For coding agents](https://www.poly-community.com/docs/developers/data-driven-pages/#for-coding-agents) gives a coding agent (Claude Code, Codex, Gemini CLI) the same way, with the check command as its test. Questions change in the ways every component does, set out in [Changing a component](https://www.poly-community.com/docs/developers/changing-components/): their texts in [Settings → Words](https://www.poly-community.com/docs/settings/words/) and their pages in the Site Editor. --- # Catalogues Address: https://www.poly-community.com/docs/features/catalogues/ A catalogue is a kind of post of your own: cars, homes, venues, a gallery of sites. It has its own name, its own address under the community, its own fields and categories, a menu item, a form to add one in a few steps, a page for each post and a My page for its owners. It runs on the same engine as [Listings](https://www.poly-community.com/docs/components/listings/), so it has the same directory with its search and filters, the same stepped form, how long a post stays up, approval before publishing and reviews. There are two ways to make one. You make it on **Settings → Catalogues** to try it on the site, and when it is right you take it as code, where it belongs. Or you write it in code at once. ## Settings → Catalogues (Screenshot: Settings, Catalogues: Cars at /cars/ marked In code, Boats at /boats/ marked Prototype with its Edit, Take as code and Take away, a note on what a prototype is, and New catalogue. Settings → Catalogues.) The screen lists every catalogue the site has, with its address. A badge says where it comes from: - **Prototype**: made on this screen. It runs on the site as it is, with real posts, search and pages. The screen warns that it is a prototype, and that when it is right you take it as code so it is kept with your code. - **In code**: declared by a plugin or your site code. It is read here and not edited here. - **Now in code**: a prototype whose name your code now declares. The code wins, the prototype is no longer read, and the screen lists what the code says differently. A prototype has **Edit**, **Take as code** and **Take away**. Taking one away removes its pages. Its posts stay and show again if a catalogue of the same name comes back, here or in code. ## A new catalogue (Screenshot: The New catalogue dialog: Name in code, One is called, Several are called, Address, Categories, Form steps, Up for, Members review them, A tab on their owner profiles, and Fields with Add a field. New catalogue.) **New catalogue** asks for: - **Name in code**: small letters, such as `car`. It never changes, because posts are kept by it. It can't be a word the community uses, such as `post`, `event` or `job`. - **One is called** and **Several are called**: Car and Cars. The pages take their words from these, such as New car and My cars. - **Address**: under the community, `cars` for `/cars/`. Left empty it is the name and an s. It must differ from the name. - **Categories**: one on each line, and a line starting with `- ` goes inside the one above. They are made once, then yours to change on the page of the catalogue under **Settings → Components**, in its **Categories**. - **Form steps**: Category, Photos and Place can be turned off. Details and Review always stay. - **Up for**: 7 days up to 365, or **Until taken down**. - **Members review them** and **A tab on their owner profiles**. - **Fields**: each has a name in code, a label and a type: short text, paragraph, number, money, date, link, phone, email, dropdown, choice, checkboxes, yes or no, or a link to another post. Dropdowns, choices and checkboxes take their options one a line. A link can point to any post, to members or to another catalogue, with what the other side calls it. Each field can be **Required**, **A filter** in the directory, and shown **On cards**. ## Taking it as code (Screenshot: Take it as code: a PHP snippet of the catalogue with Copy and Download as a plugin. Take as code.) **Take as code** shows the catalogue as PHP. **Copy** it into your site plugin or a mu-plugin, or **Download as a plugin** to upload a one-file plugin. Once the code declares the name, the code wins and the prototype is no longer read. The posts stay. ## Declaring a catalogue in code Declare it on `poly_community_register_catalogs`: ```php function register_car_catalog( $catalogs ) { $catalogs->register( 'car', array( 'label' => 'Car', 'plural' => 'Cars', 'icon' => 'car', 'path' => 'cars', 'nav' => array( 'after' => 'members' ), 'profile' => true, 'fields' => array( 'price' => array( 'label' => 'Price', 'type' => 'money', 'role' => 'price', 'card' => true ), 'fuel' => array( 'label' => 'Fuel', 'type' => 'radio', 'options' => array( 1 => 'Petrol', 2 => 'Diesel', 3 => 'Electric' ), 'search' => true, 'card' => true ), 'year' => array( 'label' => 'Year', 'type' => 'number', 'search' => true ), ), 'categories' => array( 'Cars' => array( 'Small', 'Family' ), 'Vans' ), 'steps' => array( 'category', 'details', 'photos', 'place', 'review' ), 'lifetime' => array( 'days' => 60, 'renew' => 'free', 'remind' => array( 3 ) ), 'labels' => array( 'new' => 'Sell a car', 'mine' => 'My cars' ), ) ); } add_action( 'poly_community_register_catalogs', 'register_car_catalog' ); ``` The name is 2 to 20 letters, and the address is another word than the name and not one the community uses. A declaration that is refused is not registered. The other settings are: - `nav`: `after` names the menu item it follows, and `false` leaves it out of the menu. - `profile`: a tab of it on the profile of its owners. - `steps`: any of `category`, `details`, `photos`, `place`, `contact` and `review`. - `lifetime`: `days`, `renew` and `remind`, or `false` for posts that never end. - `review`: approval before publishing, `off`, `first` or `every`. - `reviews`, `alerts` and `contact`: reviews, saved searches and ways to reach the owner. - `view`: `list` or `map`, what the directory opens on. - `labels`: the words the pages say, such as `new`, `mine`, `edit`, `empty`, made from the name where you give none. A catalogue in code is read from the code, with nothing kept in the database while it stays as declared. The code wins over a prototype of the same name. ## On the site (Screenshot: Cars before anyone listed one: its search, Filters and Sort, Nothing is listed here yet, Be the first to add one, and Sell a car. A catalogue on the site: Cars.) A catalogue adds its directory at its address, a page for each post, and **My** posts for its members, and a menu item unless you left it out. The directory has search, the categories as chips, and **Filters** for the fields marked as filters. (Screenshot: Sell a car, step 1: What are you listing? with the categories as tiles. Sell a car.) Adding one goes in the steps you chose, each saved as it is done, ending with a last look and **Publish**. ## Changing Catalogues The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to a catalogue that way, so its directory and posts stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe for the page of one item. - **Showing more on a post**: data and a template, never HTML drawn for one reader. Register a part on `poly_community_register_page_data` whose answer returns data, and bind it in a template with `state.partHere`. What one reader alone may see goes in a part or shows by a fact. `wp poly-community page-data list` shows the pages and `wp poly-community page-data check ` says whether a page is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show how many cars the owner lists on the page of a car as a part registered on poly_community_register_page_data, its answer returning data and its template binding state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check on the page and fix what it reports." - **In the admin**: **Settings → Catalogues**, the page of each catalogue under **Settings → Components** with its settings and **Categories**, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Forms and fields Address: https://www.poly-community.com/docs/features/forms/ Some parts of the community ask questions: an application to join, a request, a job application, a claim of a listing. Each is a form. A form has questions you can change, a set of states an answer moves through, people who read the answers and decide, and notices for those who send and those who read. [Applications to join](https://www.poly-community.com/docs/components/applications/), [Jobs](https://www.poly-community.com/docs/components/jobs/) and [Listings](https://www.poly-community.com/docs/components/listings/) each bring forms of their own. ## The questions of a form (Screenshot: Applications to join, Forms and fields: a tab for each of its forms, Application to join open with its two questions, their types and Required, and Add a field with the types to pick from. A component, Forms and fields.) A component with forms has a **Forms and fields** tab on its settings, under **Settings → Components**. Each form is a section with a badge for the component it comes from, and the questions in order: - **Add a field** opens the types to choose from, and a type can be dragged into the list. Questions are dragged by their name to move them. - A question has its **Question** text, its type, **Help text**, **Required**, and **Asked**. A question that is not asked is marked Hidden and is not shown. - Dropdowns, choices and checkboxes take a list of options. A file question takes a document or a picture, of the kinds and size **Settings → Files** allows, and only the person and those who answer the form can open it. - Under more options, **Width** is the whole row or half a row, and a choice can be shown in another way. - Deleting a question asks first. Answers already sent keep the questions as they were asked, so changing or removing a question never changes them. Some forms start with questions of their own, such as the note and the CV of a job application, and some add questions for each target, such as the questions a job asks. ## A form on the site (Screenshot: The request form Maintenance on the Requests page: its line, the question What do you need with a paragraph field, and Send. A request form.) A form shows on a page or in a dialog. Members answer it when they are logged in. Some forms take visitors too, with their email address, and a file question is asked of members only. Each form can say: - whether a person may send it once or many times, - whether they can edit what they sent and take it back while it is open, - a line shown once it is sent. Where a form is held back, the member sees why. A suspended member cannot send one, and a member can send only so many answers in an hour. A visitor can send fewer. ## Where an answer stands Each form has its own states. By default an answer is **New**, then **In review**, **Accepted** or **Declined**, and **Withdrawn** when the person takes it back. A form can have its own, such as Seen, Shortlisted, Interview, Offer and Hired for a job application. Each state is open or closed, and some states, such as Accepted or Hired, make the form act, for example letting a member in. ## Who reads the answers An answer is read by the person who sent it, by those who review that form for its target, and by administrators. Who reviews depends on what the form is about: - A form of the whole community or of a role: administrators by default, or the people a component setting names. - A form of a space: its admins and moderators. - A form of a post: the author of the post, such as the employer of a job. - A form of a member: that member. Some forms are decided by your team instead, such as a listing claim. Those are read on the post itself and together under **Settings → Moderation → Requests**. ## Requests to review (Screenshot: Requests to review: a chip for each form, Maintenance open with its statuses New and Scheduled and their numbers, and the request of Maya Chen with New and Answers. Requests to review.) Reviewers see a queue with a tab for each state and how many are in it. Each request is a row with who sent it, its state, who it is given to and how many notes it has. **Answers** opens what they answered and the reason they were told. A reviewer can accept, decline with a reason the person reads, give a request to another reviewer, and add notes that only reviewers see. **Choose all** answers several at once. The queue updates as requests come in. ## Edit profile → Requests (Screenshot: Your requests: each with the form it was for, how long ago, its state, Your answers and Take it back. Edit profile → Requests.) **Requests**, a tab of Edit profile, lists what the member asked for and where each stands, with the reason they were given. **Your answers** opens them. **Take it back** asks first, and the member can send it again later. **Older requests** loads more. ## Notifications and emails Reviewers are told when someone sends a request they review, and a member is told when a request of theirs is answered. A visitor who gave an email address is told by email. A form can limit which closed states tell the person. In the email settings these are **Someone sends a request I review** and **A request I sent is answered**. ## How long answers are kept A form can keep answers for a number of days once they are closed, or until they are deleted. A job application keeps them as your Jobs settings say. They are part of the personal data a member can export or have erased. ## Changing Forms and fields The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to a form that way, so its pages stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more on a request**: data and a template, never HTML drawn for one reader. Register a part on `poly_community_register_page_data` whose answer returns data, and bind it in a template with `state.partHere`. What one reader alone may see, such as their own answers, goes in a part or shows by a fact. `wp poly-community page-data list` shows the pages and `wp poly-community page-data check ` says whether a page is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show the date a request was answered on the Requests page as a part registered on poly_community_register_page_data, its answer returning data and its template binding state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check on the page and fix what it reports." - **In the admin**: the **Forms and fields** tab of each component, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In code**: a form is registered with `register()` on `poly_community_register_forms`, with its states, who reviews, and what happens when it is sent or decided. Actions on `poly_community_submission_submitted` and `poly_community_submission_decided`, and the filter `poly_community_submission_accept`, let a component act on an answer. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Private messages and space chats Address: https://www.poly-community.com/docs/features/messages/ Poly Community has no messenger of its own. With [Better Messages](https://wordpress.org/plugins/bp-better-messages/) active on the site, its messenger becomes a part of the community: members write to each other from the community, and each space can have a group chat of its members. Without it, the community shows nothing of messages, and **Settings → Messages** is not there. The WebSocket version of Better Messages, with instant delivery and video and audio calls, comes with a [WordPlus Cloud](https://www.wordplus.cloud) subscription. ## In the community - **Messages** is a page of the community, in its navigation and beside the bell at the top, with the unread count. The icon at the top opens the latest conversations, and **See all messages** goes to the page. - **Message** on a profile starts a conversation with that member, or opens the one they already have. Who may write to whom follows the community: never across a block, either way, and never from or to a suspended member, though an administrator still reaches one. A component can add rules of its own. - **Chat** in the header of a space opens its group chat, once **A chat for each space** is on. The members of the space are its members, joining and leaving it with the space. Forum boards and Q&A topics have no chat. (Screenshot: Messages as a page of the community: its navigation with Messages and 3 unread, the conversations of Maya Chen with Leo Martins, Zoë Fischer, the group Market stall rota and Fatima Zahra, and the one with Leo open. Messages, a page of the community.) A visitor who opens Messages is asked to log in. ## Settings → Messages (Screenshot: Settings, Better Messages: Better Messages settings, then Messages page /community/messages/, Colors The community or Better Messages, A chat for each space on, Email for space chats off, and Space chats in the mini chats off. Settings → Messages.) - **Messages page**: the page of the community the messenger shows on. Better Messages shows it on the page its own settings name (**Messages location**). Choosing no page there makes Messages a page of the community. - **Colors**: **The community**, the messenger and the mini chats in the colors of the community, light and dark, or **Better Messages**, in the colors of its own Design settings. - **A chat for each space**: each space has a group chat with its members, and the Chat button in its header opens it. - **Email for space chats**: off, the unread messages of space chats send no email, so busy spaces do not fill inboxes. Other conversations still email. - **Space chats in the mini chats**: on, the space chats show in the mini chats bar of Better Messages, its combined list and its phone menu too, not in the messenger alone. **Better Messages settings** opens its own settings, for everything else about the messenger: calls, files, emoji and the rest. ## Changing messages Messages are drawn by Better Messages, which changes in its own ways. What the community decides, who may write to whom, comes from the same rules as everything else in the community: blocking and suspension, and what a component adds. Anything you add to the pages around the messenger follows [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/): data plus a template, never HTML drawn for one reader, and its part [For coding agents](https://www.poly-community.com/docs/developers/data-driven-pages/#for-coding-agents) gives a coding agent (Claude Code, Codex, Gemini CLI) the same way. --- # Search Address: https://www.poly-community.com/docs/features/search/ Members search the whole community from the top of every page: posts and replies, people, spaces, and what the components add, such as articles. Each member finds what they may see and nothing else, so a private space or a hidden member never shows in the results of someone outside. ## The search at the top The magnifier at the top opens the search. As the member types, suggestions show in groups, with the tags that match and a correction when the words look misspelt, and before they type, the searches they made lately. Enter opens all the results, or the suggestion picked with the arrow keys. ## The results (Screenshot: Search results for coffee: the words in the box with Search, tabs for the kinds found with their counts, Best match and Any time, then what matched in each kind, the words found marked. The results of a search.) The results come in tabs by kind, each with how many it found: **All**, then **Posts**, **People**, **Spaces**, and **Articles** where a component adds them, for the kinds that found something. **Best match** puts them in order, or **Newest** or **Oldest** first, and **Any time** narrows them to the past day, week, month or year. A post shows the words that matched, who wrote it and where, a reply who replied. A space shows how many members it has, and a forum board or a Q&A topic says which it is first, as one often shares the name of its group. When nothing matches, the page says so with the words searched for. The magnifier at the top ends with **See all results**, which opens this page. ### Search by meaning With search by meaning on, under **Settings → Services → AI**, the results add **Close in meaning**: posts that say the same thing without the words searched for. It needs OpenAI or Gemini set up there, and until one is, no post is read for it. ## Saving a search On the list of a component, such as jobs or listings, **Save search** keeps the words and filters chosen. The member is told when something new matches, daily at first, and changes how often (at once, daily, weekly or never), renames or deletes each saved search in **Edit profile → Alerts**. A member saves a limited number of searches, and the community says so when the last one is reached. ## Changing search Search follows the same rule as every page of the community: the browser draws it from data, the results of a search come as one answer, and what differs by reader is what they may see. A component adds its kind to the results through its own search, and anything new it shows is data and a template, as [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) shows by hand, and its part [For coding agents](https://www.poly-community.com/docs/developers/data-driven-pages/#for-coding-agents) gives a coding agent (Claude Code, Codex, Gemini CLI) the same way. Its texts change in [Settings → Words](https://www.poly-community.com/docs/settings/words/). --- # Tags Address: https://www.poly-community.com/docs/features/tags/ A word written with # in a post, a topic or a question, such as #running, becomes a tag. A reply or a comment makes none. It turns into a link to the page of the tag, which gathers everything written with it. Nobody makes tags by hand: the community makes one the first time a member writes it. ## The page of a tag (Screenshot: The page of #trailrunning: 3 posts and Follow, then the three posts written with it, the tag in each a link, and beside them the trending tags, #trailrunning and #gear. The page of a tag.) The page of a tag shows how many posts have it, then what was written with it, in tabs by kind when there is more than one: posts, topics of the forum, questions. **Follow** adds its posts to the **Following** feed of the member, and **Following** shows they do, **Unfollow** on it ends it. ## Tags in lists A tag in a post opens its page. In a space or a list of a component, it filters that list instead, **Only #running here**, and **See #running everywhere** goes to the page of the tag. **Clear** shows the whole list again. The trending tags, a widget for the side of a page, list the tags written most lately. ## Content → Tags (Screenshot: Content, Tags: All, Shown and Hidden, a search, then #trailrunning and #gear with how many posts have each, their followers, when each was last used, and the menu of each row. Poly Community → Content → Tags.) **Poly Community → Content → Tags** lists every tag with how many posts have it, who follows it and when it was last used, **Most used** first. A tag opens its own screen, with **Open on the site**, and the menu of its row, or several ticked, holds the rest: - **Rename**, on the screen of a tag, gives it another name. Posts written with the old name still count to it, and its old page leads to the new one. - **Merge into…** moves the posts and followers of the tags chosen into another tag, and their names lead to it from then on. It cannot be undone. - **Hide** makes a tag a plain word, with no page, link, list, follow or trend, as the hidden tags under **Settings → Posts** do. **Show** gives it back. ## Changing tags The page of a tag is drawn by the browser from data, one file for every tag and every reader, with the tag, its posts and whether the reader follows it in the data of the move. Anything you add to it is data and a template, as [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) shows by hand, and its part [For coding agents](https://www.poly-community.com/docs/developers/data-driven-pages/#for-coding-agents) gives a coding agent (Claude Code, Codex, Gemini CLI) the same way. Its texts change in [Settings → Words](https://www.poly-community.com/docs/settings/words/). --- # The member account Address: https://www.poly-community.com/docs/features/account/ Everything a member manages about themselves is in one place, **Edit profile**, opened from the account menu at the top of every page. ## The account menu The picture of the member at the top opens their account menu: **Your profile**, **Edit profile**, **Your spaces**, **Saved**, **Light or dark** (light, dark, or as the device is set) and **Log out**. A component adds its own items, such as the plan of the member, and **Install the app** shows where the browser offers to install the community as an app (see [The web app](https://www.poly-community.com/docs/features/web-app/)). Where realtime is on, the menu also sets the status of the member: Online, Away or Do not disturb, shown on their dot to whoever may see it. With Better Messages statuses on, it is one status in both, set in either. A member allowed to may also appear offline. ## Edit profile (Screenshot: Edit profile, the Account tab: Email address with Change, Password with the current and the new one, Passkeys with Add a passkey, and Devices with Log out everywhere else. Edit profile → Account.) Edit profile has four tabs: - **Profile**: the cover and the picture, the name, the headline under the name everywhere, the about with who may see it, and the [profile fields](https://www.poly-community.com/docs/features/profile-fields/) of the site. - **Notifications**: what reaches the member by email, and when. See [Notifications](https://www.poly-community.com/docs/features/notifications/). - **Privacy**: the members and posts they muted, which send them no notifications and do not know it, and the members they blocked, who and they no longer see each other anywhere in the community. Each can be undone there. - **Account**: everything about logging in and the account itself. ## The Account tab - **Email address**: where the community writes to the member, seen only by them and the team. A new one is confirmed with a code sent to it. - **Phone number**, where the site logs in by phone. - **Password**: changed with the current one, and the member is emailed when it changes, staying logged in where they are. A member who logs in with a connected account chooses a password to log in with it too. - **Passkeys**: logging in with a fingerprint, the face or the PIN of a device instead of the password. A passkey stays on the device or in a password manager. - **Devices**: the browsers and devices logged in as the member, and **Log out everywhere else** if one is not theirs. - **Verification**, where the site verifies members (see [Verification](https://www.poly-community.com/docs/verification/)). - **Your data**: a copy of what the community holds about them, their profile, posts, replies, likes and the rest, as a page to read and as data for other apps. Only they can download it, and they are told when it is ready, usually within minutes. - **Delete your account**: their profile goes, and their posts stay under "Deleted member", so conversations still read correctly. Depending on the site it is deleted at once with their password, or asked for and done by the team after an email confirms it. Administrators delete accounts in the dashboard. ## Changing the account pages The pages of the account are drawn by the browser from data, as every page of the community is: what you add to them is data and a template, as [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) shows by hand, and its part [For coding agents](https://www.poly-community.com/docs/developers/data-driven-pages/#for-coding-agents) gives a coding agent (Claude Code, Codex, Gemini CLI) the same way. The items of the account menu are the place `account` of [Tabs and menus](https://www.poly-community.com/docs/developers/tabs-and-menus/), and the texts change in [Settings → Words](https://www.poly-community.com/docs/settings/words/). --- # Notifications Address: https://www.poly-community.com/docs/features/notifications/ The bell at the top of every page counts what is new for a member: replies to their posts, mentions, answers, requests and invitations, follows and likes, and what each component tells, such as a booking or a ticket. Pressing it opens the latest, and **See all notifications** opens the whole list. A notification opens what it is about, and its **⋯** marks it read or removes it. (Screenshot: The bell open with a mention and two replies to a post. The bell open.) While a member has the community open, a new notification also comes as a card at the corner of the page, and the bell counts it at once, without a reload. On a phone the card comes at the top of the screen, one at a time, so it never covers the buttons at the foot. A member reading everything on one device sees the bell go out on their others. (Screenshot: The feed on a phone with a card at the top of the screen: Nora Haddad liked your post, Just now, and the bell counting 1. A new notification arriving on a phone.) ## What reaches a member away from the community The bell always shows everything. Under **Edit profile → Notifications** each member chooses what also reaches them away from the community, by email and, where the owner turned it on, by push on each of their devices. Each way has a level: - **What is for me**, where every member starts unless the owner chose otherwise: replies and mentions, answers, requests and invitations to them, what they take part in and watch, and decisions about their account. - **Everything**: all of that, and also likes, follows, levels and badges reached, and updates on what they voted on. - **Nothing**: only what cannot be missed, such as a payment that failed or a decision about their account. The line under each way says what the chosen level sends. Email also comes **as it happens**, in **a daily summary** or in **a weekly summary**, and **Quiet hours** hold email and push back until they end, in the time zone of the member. (Screenshot: Edit profile, Notifications, with the email level, quiet hours and Change by topic open. Edit profile → Notifications, Change by topic open.) **Change by topic** turns one kind of notification off in the bell, by email or by push, such as likes and follows or one component. A topic off in the bell is off everywhere. Every notification email ends with a link that turns its topic off by email, and with **Choose your emails**, which opens this page. ## For the owner The level members start with, how often email comes, push and how emails look are set in [Settings → Notifications](https://www.poly-community.com/docs/running/notifications/). --- # Live updates Address: https://www.poly-community.com/docs/live-updates/ Everything that changes on a page updates while it is open: new posts and replies, reactions and votes, edits and deletions, the bell, members joining a space, who is online. Nobody reloads a page to see what is new. ## On any host Out of the box, an open page asks the site what is new every few seconds and draws only what changed. It needs nothing besides WordPress, and it only ever sends a reader what that reader may see. **Settings → Advanced → Live updates** sets how often a page asks, and how often while its tab is in the background. ## Instantly, with WordPlus Cloud With the WordPlus Cloud plugin connected to a [WordPlus Cloud](https://www.wordplus.cloud) subscription, the same updates arrive the moment they happen, over a connection the page keeps open, and the site stops being asked every few seconds. It also brings: - **Who is online**, from the connection itself. - **Push notifications** to phones and computers, even with the site closed. Without them, members still get the bell and email. The WordPlus Cloud plugin is one connector for every WordPlus plugin on the site, so a site that runs [Better Messages](https://www.better-messages.com/) too shares the same connection. ## What a member sees is checked every time Updates go out by permission. A post in a private space reaches its members alone, a hidden reply leaves every open page, and someone removed from a space stops getting its updates at once. --- # Installing the site as an app Address: https://www.poly-community.com/docs/features/web-app/ Where the owner turns it on, members install the community on a phone or a computer from the browser, with no app store. It then opens from its own icon in a window of its own, with the count of unread notifications on the icon, and on an iPhone or an iPad it can show push notifications, which Apple allows only from an app on the Home Screen. ## Turning it on **Appearance → App** turns on **Members can install the site as an app** and sets how it looks: the name under the icon, the icon, the colour of its bar and the background behind the icon while it opens, the page it opens on, how it shows (its own window, with back and reload, or the whole screen) and the shortcuts a long press on the icon offers. A second switch shows members whose browser can install it a card offering the install, until they install it or dismiss it on that device. The app needs an icon before browsers offer it: its own, or the icon of the site. (Screenshot: Appearance, App: the app turned on, waiting for an icon. Appearance → App, on a site with no icon yet.) ## Installing it Where the browser can install the community by itself (Chrome, Edge and other Chromium browsers on a computer or on Android), **Install the app** in the member menu asks the browser to. (Screenshot: The member menu with Install the app. Install the app in the member menu.) Where the browser has no such prompt, the same press shows its steps: - **iPhone and iPad**: Share, then Add to Home Screen, then Add. - **Safari on a Mac**: File in the menu bar, then Add to Dock. - **Firefox on Android**: the browser menu, then Add app to Home screen, or Install. (Screenshot: The steps to add the community to the Home Screen of an iPhone. The steps on an iPhone.) ## Once installed The app has a Back button in its bar on pages deeper than the first page of a section, as its window has none of the browser. Its icon carries the count of unread notifications, and push notifications are turned on under Edit profile → Notifications, one device at a time ([Notifications](https://www.poly-community.com/docs/features/notifications/)). A notification that comes while the app is open and in front shows inside it. An iPhone or an iPad shows it as a push too. --- # Languages and translation Address: https://www.poly-community.com/docs/features/languages/ ## The language of the site The community speaks the language of the site, set in WordPress under **Settings → General → Site Language**, as far as translations of the plugin exist: its texts are in English until a language has them, and a translation made with a tool such as Loco Translate reaches every page, the scripts included. Languages written right to left, such as Hebrew and Arabic, mirror every page. Emails, a data download and the answer to a sign-up are written in the language each member set for their account in WordPress, where it differs from the site. ## Dates and times Dates and times are written by the browser of each reader, in the language of the page and the time zone of the reader: a post from 3 hours ago reads the same everywhere, and an event at 19:00 in Berlin shows when it starts where the reader is. A date typed into a form follows the order of the language of the browser. ## Words of your own **Settings → Words** puts any text of the community and its components in words of your own, in the language of the site. Find a text by the words it shows, such as Join space, then write yours: it changes everywhere the text shows, for every reader of that language. (Screenshot: Settings, Words, finding a text by its words. Settings → Words.) --- # Who can see the community Address: https://www.poly-community.com/docs/joining/who-can-see/ **Settings → Joining → Who can see it** decides what a visitor who is not logged in sees. The start page sets it for the kind of site you picked, and you change it here. (Screenshot: Settings, Joining, Who can see it: Who can see the community, Who can see the rest of the site, Profile pages and Members directory, each with its choices. Settings → Joining → Who can see it.) - **Who can see the community.** Everyone, or members only. With everyone, visitors see the posts, profiles and spaces shared with everyone, and members see what is shared with members too. With members only, visitors are asked to log in, and the login and sign-up pages stay open to them. - **Who can see the rest of the site.** Everyone, or members only. With everyone, your pages and posts stay as WordPress shows them, and only the community follows the setting above. With members only, every page of the site sends a visitor to the login page and back after it, and the community is for members only too. The login, sign-up and password pages and your privacy policy stay open, sitemaps are off, and the content WordPress gives through its REST API answers members alone. - **Profile pages.** Public, members only, or off. Public, each member has a page anyone can open, and their name links to it wherever it shows. - **Members directory.** On, members only, or off. On, Members is in the navigation and in search, with the Online now, New members and Who to follow widgets, and visitors see it while profile pages are public. What a member shares is decided post by post and field by field as well: each post has its audience, and each profile field who sees it. ## Related - [Signing up](https://www.poly-community.com/docs/joining/signing-up/) - [Approval before taking part](https://www.poly-community.com/docs/joining/approval/) --- # Signing up Address: https://www.poly-community.com/docs/joining/signing-up/ Visitors join from **Join** in the header, or from the community sign-up page, `/community/register/` on a site where the community lives at `/community/`. (Screenshot: Create an account under the top bar of the community: Join Riverside Makers, then Your name, Username with the profile address it gives, Email address, Password and Create account. The sign-up page.) How the login and sign-up pages look, a card like this one or the whole screen with your site beside the form, is set in **Settings → Appearance → Login and sign-up**. The form asks for a name, a username (it shows the profile address it gives as it is typed), an email address and a password, then the profile fields you ask at sign-up. With **Confirm email addresses** on, a six-digit code is emailed right after the step with the email address, with a link for another device, and the account is made only once the code is entered. A new member then lands on Edit profile, welcomed and asked for a picture and a few words about themselves. ## Settings → Joining → Signing up (Screenshot: Settings, Joining, Signing up: Anyone can sign up, Email address, Phone number, Confirm email addresses, Reminders to finish signing up, Accounts one connection may make in an hour, and the sign-up form with its steps. Settings → Joining → Signing up.) - **Anyone can sign up.** The WordPress setting “Anyone can register” (Settings → General). Off, nobody can create an account on the sign-up page. - **Email address.** Required, optional or off. A member who joined without one is asked to add it before they post or reply. - **Phone number.** Required, optional or off, once text messages are set up in **Settings → Services → Text messages**. A member confirms it with a texted code, and can log in with it. - **Confirm email addresses.** The six-digit code above. Off, people are signed in as soon as the form is sent. - **Reminders to finish signing up.** Someone who stops partway gets an email with a link to carry on, this many hours later: up to five, separated by commas. Each email has a link to stop them. Empty turns them off. - **Accounts one connection may make in an hour.** A class, an office or a meetup on one network signs up from one internet address, so raise it before such a day. Only an account made counts. - **Sign-up form.** One page, or a few steps: the account first, then the profile, then a picture. **Edit the sign-up form** opens it in the Site Editor, where you choose its fields and steps and add pictures, a verification and an agreement. ## Related - [Approval before taking part](https://www.poly-community.com/docs/joining/approval/): new members who wait until you let them in. - [First steps](https://www.poly-community.com/docs/joining/first-steps/): the spaces they join and the members they follow. - [Logging in](https://www.poly-community.com/docs/joining/logging-in/) --- # Approval before taking part Address: https://www.poly-community.com/docs/joining/approval/ **Settings → Joining → Before taking part** decides whether a new account takes part at once or waits for you. (Screenshot: Settings, Joining, Before taking part: New members wait for approval with No, Yes they can look around meanwhile, and Yes they see only Edit profile meanwhile, then Check sign-ups with Akismet. Settings → Joining → Before taking part.) ## New members wait for approval - **No.** A new member takes part as soon as the account is made. - **Yes, they can look around meanwhile.** They log in, read what members read and finish their profile, which no one else sees yet. Posting, replying and joining spaces wait. - **Yes, they see only Edit profile meanwhile.** They log in to their profile and nothing else. A waiting member reads where they stand on Edit profile, right after signing up: their account waits for approval by an administrator, finishing the profile helps you decide, and an email tells them when they are in. (Screenshot: Edit profile on a phone, with a box saying the account waits for approval by an administrator and to finish the profile meanwhile. What a new member sees while they wait.) You approve or decline each one in **Poly Community → Moderation**. Approved, they get an email and can take part. Declined, they get an email and their account is deleted. ## Check sign-ups with Akismet With the Akismet plugin active and its key set, each sign-up is checked as it is made. An account Akismet calls spam waits in Moderation, flagged, even when approval is off, and every other account goes in as the setting above says. ## Related - [Signing up](https://www.poly-community.com/docs/joining/signing-up/): who can create an account and what the form asks. - [First steps](https://www.poly-community.com/docs/joining/first-steps/): what a new member finds done for them once they are in. --- # First steps Address: https://www.poly-community.com/docs/joining/first-steps/ **Settings → Joining → First steps** sets what a new member finds done for them once they are in: right after signing up, or once you approve them where new members [wait for approval](https://www.poly-community.com/docs/joining/approval/). So their feed has something in it from their first page. (Screenshot: Settings, Joining, First steps: New members join these spaces with Introductions and General chat picked, New members follow these members, and Welcome email off. Settings → Joining → First steps.) - **New members join these spaces.** Up to 20. They join as members, whatever a space asks of others, and can leave any time. The start page fills it with the open spaces it makes for your kind of site, such as Introductions and General chat for a general community, as long as it was empty. - **New members follow these members.** Up to 20, such as your team or members who welcome others. - **Welcome email.** Off by default. Switched on, a new member gets it once they are in, with **Its subject** and **Its words** as you write them. Right after signing up, a new member lands on Edit profile, welcomed and asked for a picture and a few words about themselves. ## Related - [Signing up](https://www.poly-community.com/docs/joining/signing-up/) - [Approval before taking part](https://www.poly-community.com/docs/joining/approval/) --- # Ways to log in Address: https://www.poly-community.com/docs/joining/logging-in/ Members log in on the login page of the community in the ways you switch on under **Settings → Joining → Logging in**: - **Password**: their username or email address and their password, or their confirmed phone number in place of the username. Turned off, it stays for administrators, so nobody is locked out of the dashboard. - **Passkeys**: their fingerprint, face or device PIN, for members who added a passkey to their account. - **A code by email**: a code or a link emailed to them, typed or followed in place of the password. - **A code by text message**: a code texted to their confirmed phone number. [Logging in by text message](https://www.poly-community.com/docs/joining/texted-codes/) explains it. - **Single sign-on**: a button for each provider you set up under **Settings → Services → Single sign-on**: Google, Apple, Microsoft, Facebook, GitHub, and providers of your own over OpenID Connect. [Single sign-on](https://www.poly-community.com/docs/services/sso/) has a guide for each. (Screenshot: The login form with every way on: a username, email address or phone number and a password, Log in, Log in with a passkey, Log in with a text message instead and Email me a code instead. The login form with every way on.) (Screenshot: Under the form, the buttons of the providers: Continue with Google, Microsoft, Apple, Facebook and GitHub. The single sign-on buttons under it.) Each way has its switch there, and a way turned off is refused even when someone sends it to the login page by hand. Two-factor and captcha plugins keep working with every way. **Configure** beside a way opens its own settings, such as what the email of a code holds and how long a code lasts, and the texted code leads to **Text messages**, where texts are set up. (Screenshot: Settings, Joining, Logging in, Ways to log in: Password, A code by email and Passkeys, each switched on with Configure beside the last two, and A code by text message with Text messages beside it. Settings → Joining → Logging in.) The single sign-on providers are switched on and off in the section under it, as [Single sign-on](https://www.poly-community.com/docs/services/sso/) shows. --- # Passwords Address: https://www.poly-community.com/docs/joining/passwords/ A member who forgot their password presses **Forgot your password?** on the login page. The community page that opens asks for their username or email address and emails a link to choose a new one. It answers the same whether or not the account exists, so nobody learns which addresses have one, and the link works for a day. The link opens **Choose a new password** on the community, never the WordPress login screen. The key in the link moves out of the address as the page opens, so it is not left in the browser history. When a link has expired or was used, the page says so and offers **Ask for a new link**. (Screenshot: Choose a new password, for the member whose link it is, with the new password and Show, and Save my new password. Choosing a new password.) Administrators always keep their password, even with **Password** turned off under **Settings → Joining → Logging in**, so nobody is locked out of the dashboard. Members can also log in with a [code by email](https://www.poly-community.com/docs/joining/email-codes/) or a passkey instead. ## Related - [Ways to log in](https://www.poly-community.com/docs/joining/logging-in/) --- # Codes by email Address: https://www.poly-community.com/docs/joining/email-codes/ With **A code by email** on under **Settings → Joining → Logging in**, the login page offers **Email me a code instead** under the password form. A member types their username or email address and presses **Email me a code**. (Screenshot: Log in: We will email you a code and a link to log in with, the username, the message that a code and a link were emailed if that is an account here and work for 15 minutes, the Code field, Keep me logged in and Log in. The login form asking for the code.) The email has a six-digit code and a **Log in** button that opens the login page with the code filled in, so it works on another device too. Both work for 15 minutes, once. The page says the same thing whether or not the account exists, so nobody learns which addresses have one. **Send a new code, or use another address** starts again, and **Log in with a password instead** goes back to the password form. ## Related - [Ways to log in](https://www.poly-community.com/docs/joining/logging-in/) - [Signing up](https://www.poly-community.com/docs/joining/signing-up/): the code that confirms an email address while signing up. --- # Logging in by text message Address: https://www.poly-community.com/docs/joining/texted-codes/ A member with a confirmed phone number can log in with a code texted to it, without a password. On the login form they press **Log in with a text message instead**, type their number and press **Text me a code**. The code has six digits, and typing it logs them in. (Screenshot: The login form with the phone way open: Phone number with a British number typed, Text me a code, Log in with a password instead, Email me a code instead and the buttons of the five providers. Logging in by text message.) (Screenshot: After Text me a code: the number, If that number has an account here, a code is on its way, six boxes for the code, Keep me logged in, Log in, and Send a new code, or use another number. Typing the code.) ## What it needs - **A texting service**, set up under **Settings → Services → Text messages (SMS)**, with the countries you text. - **Phone numbers for members**: under **Settings → Joining → Signing up**, Phone number is Optional or Required, not Off. - **The way switched on**: **A code by text message** under **Settings → Joining → Logging in**. It's on by default as soon as texts are set up, and the row says what is missing while it can't run. Each code is a text you pay for, and it counts toward the **Texts a month** you allow under Text messages. ## Which numbers get a code A member adds their number under **Edit profile → Account**, in the Phone number card, and confirms it with a code texted to it. A member who signed up with their number confirmed it then. Only a confirmed number gets a login code: anyone can type a number, so a number nobody confirmed belongs to no one. A confirmed number also works with the password. The first field of the login form takes it in place of a username or an email address. ## What guards it - The form answers the same for every number, whether a member has it or not, so nobody can use it to find out who is a member. - A code lasts 30 minutes and takes five tries. A new one can be asked for after a minute, and it replaces the one before. - A number gets one text a minute at most, and a network address can ask only so many codes an hour. - The captcha you set for logging in protects this form too. ## Forgot password by text With this way on, the Forgot password form offers **No email address? Use your phone number**. A code texted to a confirmed number opens the page to choose a new password, in the browser that asked for it and no other. The code never logs the member in by itself. A site that emails no member offers it whenever members have phone numbers, as no reset email can reach them there. --- # Passkeys Address: https://www.poly-community.com/docs/joining/passkeys/ With **Passkeys** on under **Settings → Joining → Logging in**, members log in with their fingerprint, face or device PIN instead of their password. A passkey stays on their device or in their password manager: the site keeps only what checks it. ## Adding one A member adds a passkey in **Edit profile → Account → Passkeys** with **Add a passkey**, and their browser or phone asks for their fingerprint, face or PIN. The card then lists the passkeys they added. (Screenshot: The Passkeys card in the account settings: Log in with your fingerprint, face or device PIN instead of your password, No passkeys yet, and Add a passkey. Edit profile → Account → Passkeys.) ## Logging in with one The login page has **Log in with a passkey** under the password form. The browser offers the passkeys it has for the site, and the member is in once they confirm with their fingerprint, face or PIN. (Screenshot: The login form with Username or email address, Password, Keep me logged in, Log in, and Log in with a passkey. Log in with a passkey.) ## Related - [Ways to log in](https://www.poly-community.com/docs/joining/logging-in/) - [Passwords](https://www.poly-community.com/docs/joining/passwords/) --- # How verification works Address: https://www.poly-community.com/docs/verification/ A verified member has a check beside their name. They earn it by proving they belong to your community, in one of the ways you switch on, and the checks run on their own: an identity service such as Didit or Stripe Identity, a code to an address at your organization, your member list. Every way is optional. Others see only the check. What proved it, a document, an address, a member number or a code, stays between the member and your community. ## The five ways - **[Identity check](https://www.poly-community.com/docs/verification/identity/)**: the member shows an ID document and takes a selfie at a checking service. It proves they are a real person, the one they say. For dating, marketplaces, meeting strangers. - **[Email domain](https://www.poly-community.com/docs/verification/email-domain/)**: the member types a code sent to their address at your organization. It proves they work or study there. For staff, universities, alumni. - **[Member list](https://www.poly-community.com/docs/verification/member-list/)**: the member is found on a list you upload, by their email address or member number. It proves they are on your records. For clubs, associations, unions, gyms. - **[Code by post](https://www.poly-community.com/docs/verification/code-by-post/)**: the member types a code you sent them by post or by hand. It proves they received what you sent. For residents, buyers of a product, event guests. - **[Licence or registry number](https://www.poly-community.com/docs/verification/licence/)**: the member gives their number, which your team looks up. It proves a professional status. For doctors, nurses, lawyers. The ways are in **Settings → Joining → Ways to verify**. (Screenshot: Ways to prove they belong: the five ways, each with its state, what it has and how many members it verified. Settings → Joining → Ways to verify.) Each row says whether the way is **Off**, **On** or **Required**, what it has (the domains listed, the entries on the list, the codes not used yet, the requests waiting for your team) and how many members it verified. A way switched on that has nothing to check against yet reads **Not set up**: an identity check with no service, an email domain with no domain listed, a member list not uploaded, codes not made, a licence with no body listed. Click the name of a way to open its page. ## Off, on or required Each way has its own page, which starts with **How it counts**: (Screenshot: The Identity check page: Use it, Verify again after, The badge says. Ways to verify, Identity check, How it counts.) - **Use it**: **Off** (members cannot verify this way), **One way among others** (verifying this way is enough, unless some way is required) or **Required** (every member must verify this way, and by every other required way). - **Verify again after**: a number of months, or empty for **Never**. With months, the member is told two weeks before their verification lapses, and verifies again the same way. Without, it lasts until you or the member end it. - **The badge says**: what a member verified this way is called beside their name, once the badge names the way (see [The badge](#the-badge)). Press **Save changes** to keep what you changed on a page. The tools of a way work at once, without it: uploading or removing the member list, making codes, withdrawing a batch. Who counts as verified: - **No way required:** any one way that is on verifies a member. - **Some ways required:** a member must hold every one of them. The ways that are only on do not count then. - **A way that is not set up** is never treated as required, so a way you have not finished never locks anyone out. - **An administrator** can verify anyone by hand, whatever the ways require (see [Verifying a member by hand](#verifying-a-member-by-hand)). ### When you change how a way counts Each time you save a change to the ways, every check beside a name is read again in the background by the new rule. - **A way made required** takes the check from members who have not verified that way yet. Where **Require verification** is set, they are held back until they do. They get no notification, but their Verification page shows what is asked now. - **A way made optional again** gives the check back to those who lost it: what they proved is kept. - **A way switched off** no longer counts, and switched on again, it counts again for those it verified. Email domain and Member list are the exception: switched off, the verifications they gave end, and those members are told. Switched on again, members with a confirmed address at your domains or on your email list are verified again by themselves, and those on a list of numbers type their number again. ## What members who are not verified may do Switching a way on holds nobody back. Members verify when they like, and those who do get the check. To have members verified before they take part, set **Require verification** in **Settings → Joining → Before taking part**, under **What members must pass**. (Screenshot: What members must pass: Require verification set to Before posting, and Require age verification. Settings → Joining → Before taking part.) - **No**: members verify when they like, from Edit profile, or at sign-up where the form asks. - **Before posting**: members who are not verified can do everything but post and reply. While a component that pays members runs, they cannot sell either. - **Before taking part**: they can only look around: no posts, replies, likes, messages, follows, spaces or uploads. - **Before entering**: they get only Edit profile, until they are verified. It can be set once a way is on and set up. Wherever a member is held back, they read the same words: **Get verified first: your Verification page shows how.**, or, with the identity check as the only way, **Verify your identity first, from Edit profile → Account.** Verifying itself is never held back. **Require age verification** beside it does the same for the age check of your identity service, apart from the ways on this page. ## The badge A verified member has a check beside their name wherever it shows: on their profile, on member cards, in posts and replies. The member directory has a **Verified** filter to show them alone. In the admin, **Members** marks them Verified too. (Screenshot: The profile of Maya Chen with the check beside the name. A verified member, as others see the profile.) What its tooltip says is set under **The badge**, at the foot of Ways to verify: (Screenshot: The badge: Beside a verified member name, Verified or Verified, and how. Ways to verify, The badge.) - **Verified**: a check with Verified as its tooltip, whatever way the member proved it. - **Verified, and how**: its tooltip names the way, in the words its page sets under **The badge says**, such as “Verified resident”. Without words of your own, it says Verified identity, Verified by email, Verified member, Verified address or Verified licence. Neither ever shows the address, number or code. ## What members see Members verify on the **Verification** tab of their settings (Edit profile, then Verification). It is there while any way beside the identity check is on and set up. With the identity check alone, members find it on their **Account** tab instead (see [Identity check](https://www.poly-community.com/docs/verification/identity/)). The page says where they stand, what is held back until they are verified, and whether any one of the ways is enough or which ones are required. A card for each way follows, with its state, its dates and its form. (Screenshot: The Verification page of a member: You are not verified yet, until you are you can look around and take part but not post or reply, any one of the ways below verifies you. Edit profile, Verification.) A notification tells members when your team or a list you uploaded verifies them, two weeks before a verification lapses, and when one ends, with why: its time was up, their email address changed, the community no longer lists what proved it, or the team took it away. Their page changes at once, and so does the check that others see. ## Verifying a member by hand In the WordPress **Users** screen, the row of each user has **Mark verified**, or **Remove verified** for a verified one, with the ways they are verified by in brackets, which only your team sees. (Screenshot: A row of the Users screen with Mark verified among its actions. Users.) - **Mark verified** verifies them, whatever the ways require. They are told. - **Remove verified** ends every way they are verified by. They are told, and can verify again. ## What is kept - What proved a member is kept only as a hash made with your site security keys: the address, the entry of the list, the code. Nobody, you included, can read it back. - A licence number is seen by your team in its request, and by nobody else. - No document or picture of the identity check reaches your site, only whether it passed. - The personal data export of WordPress gives a member their verifications: each way, when, whether your team or the site decided, until when, and whether it still holds. Never what proved it. Erasing their data removes them. If the security keys of your site change (they are in `wp-config.php`), the list and the codes no longer match anything. Ways to verify says so: upload the list again and make new codes. --- # Confirming email addresses and phone numbers Address: https://www.poly-community.com/docs/verification/email-and-phone/ Anyone can type an address or a number. Confirming it makes sure it is theirs: your site sends a six-digit code there, and the member types it. A confirmed address can get their notifications and reset their password, and a confirmed number can log in with a texted code. It is set under **Poly Community → Settings → Joining → Signing up**. (Screenshot: The sign-up form after the email step: a code was sent to the address, six boxes for the code, and Send a new code. The step asking for the emailed code.) ## Which members must have **Email address** and **Phone number** each take **Required**, **Optional** or **Off**. One of the two is always required. - **Email address required, phone number optional** (the default): sign-up asks for the address. A member may add a number in **Edit profile → Account**, confirmed by a code texted to it, and log in with it. - **Both optional**: sign-up asks for an email address or a phone number, as each person prefers. They may add the other in Account. - **Phone number required**: sign-up asks for the number, confirmed by a code texted to it. With the email address optional a member may add one later. With it off the site emails no member at all: notifications come on the site and by push, sign-up reminders and approval news by text, and **Forgot password** works by text. Administrators keep their address. A member who joined before a requirement changed is asked to add what is now required before they post or reply. Text messages need a texting service, set up under [Text messages](https://www.poly-community.com/docs/services/texts/). While none is, every choice that texts is off, with **Needs text messages** beside it. ## Confirming the email address **Confirm email addresses** is on by default. Right after the step with the email address, the form emails a six-digit code, and a link for when the member reads the email on another device. The sign-up goes on once the code is entered, and no account is made before. Off, new members are logged in as soon as they finish the form, without their address checked. A member who changes their address in **Edit profile → Account** confirms the new one the same way: it becomes theirs once the code from it is entered, and until then the old one stays. ## Confirming the phone number A number given at sign-up, or added in Account, gets a code by text. The number is confirmed once it is entered. Only a confirmed number can be used to log in, or in place of a username with the password. The countries texts may go to, the words a member from another country reads, and the limits on texts are set under [Text messages](https://www.poly-community.com/docs/services/texts/). ### When texts can't be sent With the phone number required, **When texts cannot be sent** decides what a sign-up does when its code can't be texted: texts are not working, a limit on texts is reached, or the country of the number is not one you text. - **Ask for the email address instead** (the default): the form says why and takes an email address. Those members are asked for their number before they post or reply. - **Wait**: only a phone number signs anyone up. While its code can't be texted, the form says so and nobody can sign up. ## Against abuse Each code lasts 30 minutes and takes five tries. A new one can be asked for after a minute and replaces the one before, and an address gets five codes an hour at most. Every code you text costs money, and bots fill sign-up forms with numbers that earn their owners money. With phone numbers on, set a captcha service for signing up and for codes by text under [Spam protection](https://www.poly-community.com/docs/services/spam/): the screen says so while only the built-in check guards them. [Text messages](https://www.poly-community.com/docs/services/texts/#countries-that-abuse-codes) also pauses a country whose codes are mostly never entered. ## Reminders **Reminders to finish signing up** emails someone who stopped partway a link to carry on, the hours after they stopped that you set, up to five. Each email has **Do not email me again**. Where members sign up with a phone number alone, the reminder goes by text, once. --- # Identity check Address: https://www.poly-community.com/docs/verification/identity/ The member shows an ID document and takes a selfie at an identity checking service, which decides whether they pass. Your site keeps only that answer, never the document or the picture. It suits communities where knowing that a member is a real person matters most: dating, marketplaces, meeting people you do not know. It proves who someone is, not that they belong to a group. For that, add one of the [other ways](https://www.poly-community.com/docs/verification/#the-five-ways). ## Setting it up 1. Set up a service under **Settings → Services → Identity and age checks**: Didit or Stripe Identity, with the keys of your account there. Each check is made by that service, which may charge for it. 2. In **Settings → Joining → Ways to verify**, open **Identity check**. 3. Under **Use it**, choose **One way among others** or **Required**. 4. If members should check again from time to time, set **Verify again after** in months. 5. Press **Save changes**. (Screenshot: The Identity check page: Use it set to One way among others, Verify again after, The badge says. Ways to verify, Identity check.) The identity check is on from the start. Until a service is set up, its row reads **Not set up** and **Use it** says **Needs an identity service**, with **Set up** leading to Services. **How it counts** on [How verification works](https://www.poly-community.com/docs/verification/#off-on-or-required) explains each setting. ## What the member does With the identity check as the only way, members find it on the **Account** tab of their settings, in the **Verification** card. (Screenshot: The Verification card on Account: Identity, not verified yet, a document and a selfie, with Verify. Settings of a member, Account, Verification.) 1. They press **Verify**. The service opens over the page, or on its own page where it does not allow that. 2. They show their document and take a selfie there, then come back. 3. The card follows the check as it goes: **Checking… This usually takes a minute.**, then **You are verified. A check shows beside your name.** If a person at the service looks at it, it says so, which can take a while. If the check does not pass, the card says **That did not pass. You can try again.** If they leave before the end, it says **You started a check but did not finish it.**, and **Continue** takes them back. When other ways are on too, the identity check is a card on their **Verification** page, beside the others. (Screenshot: The Identity check card on the Verification page of a member, with Verify. Edit profile, Verification, Identity check.) ## Trying it out The identity service has a test mode, for administrators alone or for everyone. Checks started in it run on the test keys of the service: they cost nothing, verify nobody and give no badge. The Verification card says so to whoever it applies to. --- # Email domain Address: https://www.poly-community.com/docs/verification/email-domain/ The member proves they have an address at the email domain of your organization, such as `name@example.org`, by typing a code that is emailed to it. The address stays private. It suits any group whose members share an email domain: the staff of a company, the students and teachers of a school or university, alumni with an address for life. ## Setting it up 1. In **Settings → Joining → Ways to verify**, open **Email domain**. 2. Under **Use it**, choose **One way among others** or **Required**. 3. Under **Domains**, fill in the rest: - **Email domains**: one a line, such as `example.org`, up to 50. - **Subdomains count**: on, an address at `mail.example.org` counts for `example.org`. Off, only an address at the domain itself counts. - **Signing up**: **Anyone, verified by their domain** lets anyone sign up, and members prove an address at your domains to be verified. **Only these domains** lets only addresses at your domains sign up, and their confirmed address verifies them. 4. Press **Save changes**. (Screenshot: The Domains section: example.org and example.net listed, Subdomains count off, Signing up open to anyone. Ways to verify, Email domain, Domains.) **How it counts**, at the top of the page, also has **Verify again after** and **The badge says**: [How verification works](https://www.poly-community.com/docs/verification/#off-on-or-required) explains them. International domain names are compared in their ASCII form, so a look-alike letter never passes: `exаmple.org` with a Cyrillic а is another domain. When you change the domains, every member is checked again in the background. Members verified by a domain you took off, or by a subdomain once subdomains no longer count, lose that verification and are told. Members whose confirmed address is at a domain you added are verified. ## What the member does On their **Verification** page, in the **Email domain** card: 1. They type their **Address at your organization**. It can be another address than the one they log in with. 2. They press **Email me a code**. 3. They type **The code we emailed** and press **Confirm**. The code works for 30 minutes. (Screenshot: The Email domain card: prove an address at your organization, we email it a code, with Email me a code. Edit profile, Verification, Email domain.) If the address is at one of your domains, they read **That address verifies you. You are verified.** If not, **That address is yours, but it is not one the community takes.** A code is emailed to any address alike, so the page says whether an address counts only once the member has proved it is theirs. Members whose account address is at one of your domains have nothing to do once that address is confirmed: by the code at sign-up, by the link of an email change, or by a code in this card. They are verified at once. A few rules keep it fair: - One address verifies one account. - A member waits a minute between codes, and an account or an address gets at most five codes an hour. - After too many wrong codes, the member waits before trying again. - When a member changes their account address, what the old address proved ends, and they are told. It goes on only when they changed it through the link the community emails, and the new address proves the same. - Where your site emails no member, no code can be sent. The card asks them to ask your team to verify them. ## Sign-up for your domains only With **Signing up** set to **Only these domains**, the sign-up form refuses any other address at its first step, saying **Sign-up here is for addresses at the community email domains. Use your address there.** A sign-up with a phone number alone is refused too, as a number has no domain. New members confirm their address with the code the form sends them, and are verified from the start. --- # Member list Address: https://www.poly-community.com/docs/verification/member-list/ You upload the list of your members from a spreadsheet, by their email addresses or their member numbers, and a member on it is verified. Each entry is kept only as a hash made with your site security keys: nobody, you included, can read the list back, and the file itself is never stored. It suits any group that keeps a list of its members already: a club, an association, a union, a gym, an alumni office. ## Two kinds of list - **Email addresses**: a member whose confirmed account address is on the list is verified. Most have nothing to type. - **Member numbers**: a member types their number as you have it, and a second detail if you ask one, such as their surname or date of birth. ## Uploading the list 1. Save the list from your spreadsheet as a CSV file: up to 5 MB and 100,000 lines. 2. In **Settings → Joining → Ways to verify**, open **Member list**, and under **Use it** choose **One way among others** or **Required**. Press **Save changes**. 3. Under **Upload the list**, press **Choose a CSV file** and pick the file. 4. Tell it how to read the file: - **First line**: tick **Names the columns** if the first line holds the names of the columns. - **Members are found by**: **Email address** or **Member number**. - **Its column**: the column that holds them. 5. Look at the preview under it: how many lines were read, how many would be kept, how many cannot be read and are left out, and the first lines of the file with the chosen column marked. Each choice reads the file again. 6. Press **Keep this list**. (Screenshot: Upload the list: a CSV of names and email addresses, the Email column chosen, 4 lines read and 4 would be kept, with Keep this list. Ways to verify, Member list, a list of email addresses.) **How it counts**, at the top of the page, also has **Verify again after** and **The badge says**: [How verification works](https://www.poly-community.com/docs/verification/#off-on-or-required) explains them. Files saved by any spreadsheet are read as they are: with commas or semicolons between the columns, and in the encodings spreadsheets save in. ### Member numbers with a second detail With **Member number** chosen, **A second detail** picks another column whose value members type with their number. Without one, anyone who knows or guesses a member number could take it. - **What members are asked**: the name of the field they fill in, such as Surname. - **It is**: **Words or a postcode**, or **A date**. For a date, **Dates in the file** says their order: day, month, year, month, day, year, or year, month, day. (Screenshot: Upload the list: a CSV of member numbers and surnames, Members are found by Member number, the Surname column as a second detail. Ways to verify, Member list, a list of member numbers with the surname.) Numbers are compared by their letters and digits, so `RC-10482` and `rc 10482` are the same number, and leading zeros count. A surname or postcode is compared without accents, capitals, spaces or punctuation. ## The list as kept (Screenshot: The list as kept: Email addresses, 4 entries, the day it was uploaded and by whom, with Remove. Ways to verify, Member list, The list as kept.) **The list as kept** shows what the list holds (email addresses or member numbers), how many entries, when and by whom it was uploaded, and the second detail members are asked. To change it, upload a new file. **With the list as kept** then offers: - **Replace it**: the new file is the list. Members verified by entries it leaves out lose that verification and are told. The preview counts them, and **Keep this list** asks before it ends theirs. - **Add to it**: the entries of the file join the list. A file of another kind (numbers in place of addresses, another second detail) cannot be added to the list: the preview says so, and keeping it replaces the list. **Remove** takes the whole list away. Members verified by it lose that verification and are told. Each time the list changes, every member is checked against it again in the background. With a list of addresses, members whose confirmed address is on it are verified then. ## What the member does On their **Verification** page, in the **Member list** card: - **With a list of email addresses**, the card shows their address. If it is confirmed, **Check my address** looks for it on the list. If not, **Email me a code**, then **Confirm** with the code from the email. - **With a list of member numbers**, they type their **Member number**, and the second detail if you ask one, and press **Check**. (Screenshot: The Member list card: Member number and Surname fields, with Check. Edit profile, Verification, Member list.) One entry verifies one account. A number another account already used does not match, while the account that used it can use it again when it verifies again. Whatever was wrong, the answer is the same: **That did not match. Check what you typed and try again.** Five wrong tries are free. After that, each wrong try makes the member wait: a minute at first, then twice as long each time, up to a day. A number is guarded the same way, whichever account tries it. --- # Code by post Address: https://www.poly-community.com/docs/verification/code-by-post/ You make codes and send them by your own means: a letter, a card in a welcome pack or in the box of a product, a slip handed out at an event. A member who types one is verified. It proves they received what you sent: they live at that address, bought that product, came to that event. It suits the residents of a building or a neighbourhood, the buyers of a product, the guests of an event. ## Making codes 1. In **Settings → Joining → Ways to verify**, open **Code by post**, and under **Use it** choose **One way among others** or **Required**. Press **Save changes**. 2. Under **Make codes**, fill in: - **How many**: from 1 to 5,000 at once. - **They work until**: a day, or empty for codes that do not run out. - **A note for you**: a street, a building or a year, to tell batches apart. Members never see it. 3. Press **Make the codes**. **How it counts**, at the top of the page, also has **Verify again after** and **The badge says**: [How verification works](https://www.poly-community.com/docs/verification/#off-on-or-required) explains them. The codes show once, under **This is the only time these codes are shown**. Once you leave the page, only their hashes are kept, so take them now: - **Download CSV**: the codes as a spreadsheet, to print on letters with a mail merge. - **Print**: a sheet of cards to cut out, one a code. (Screenshot: Make codes: six codes made, with Download CSV and Print, and the warning that this is the only time they are shown. Ways to verify, Code by post, Make codes.) Each printed card names your community, says **Your code to verify your membership**, gives the code and where to type it, and the day it works until, if it has one. (Screenshot: The printed sheet: six cards, each with Riverside Community, Your code to verify your membership, the code, and Log in and type it at the address of the site. The printed sheet, cards to cut out.) A code is 12 letters and digits in groups of four, such as `7KQ2-M9XD-4TRB`. They are chosen so none is mistaken for another: there is no I, L, O or U. A member may type a code in small letters, with or without the dashes, and an O typed for a zero still works. The CSV has a line a code, with your note and the day it works until. ## Batches (Screenshot: Batches: Welcome packs, 3 of 120 used, and Elm Street letters, 0 of 6 used, each with Withdraw. Ways to verify, Code by post, Batches.) Each batch shows when it was made, its note, how many of its codes are used, and the day it works until. The numbers change as members use codes. **Withdraw** stops the unused codes of a batch, for a batch sent to the wrong place or lost in the post. Members who used one stay verified. ## What the member does On their **Verification** page, in the **Code by post** card, they type **Your code** and press **Check**. (Screenshot: The Code by post card: type the code the community sent you by post, each code works once, with Check. Edit profile, Verification, Code by post.) A code verifies one account, once. A code that was never made, is used, is past its day or was withdrawn gets the same answer as a mistyped one: **That did not match. Check what you typed and try again.** After five wrong tries, the member waits before the next. (Screenshot: The Code by post card after a code: Verified, with the day. The card once the code is typed.) If you set **Verify again after**, members need a new code when the time is up: send another batch before then. They are told two weeks before. --- # Licence or registry number Address: https://www.poly-community.com/docs/verification/licence/ The member gives their licence or registry number and the body that issued it. Your team looks the number up in the public register of that body, and accepts or refuses it. No documents or pictures are taken. It suits professional communities: doctors, nurses, pharmacists, lawyers, architects, electricians, any profession with a public register. ## Setting it up 1. In **Settings → Joining → Ways to verify**, open **Licence or registry number**. 2. Under **Use it**, choose **One way among others** or **Required**. 3. Under **Who issues them**, press **Add a body** for each body whose numbers you take, up to 30. Give its name, and the address of its public register if it has one. **Remove** takes one off. 4. Press **Save changes**. (Screenshot: Who issues them: two bodies, each with its name and the address of its public register, and Add a body. Ways to verify, Licence or registry number.) **How it counts**, at the top of the page, also has **Verify again after** and **The badge says**: [How verification works](https://www.poly-community.com/docs/verification/#off-on-or-required) explains them. Administrators, moderators and staff review the numbers, in **Settings → Moderation → Requests**. The **Requests** button of this section leads there, and says how many wait. ## What the member does On their **Verification** page, in the **Licence or registry number** card: 1. They choose the body under **Issued by**. 2. They type their **Licence or registry number**. 3. They press **Send for review**. (Screenshot: The Licence or registry number card: Issued by, the number, Send for review. Edit profile, Verification, Licence or registry number.) The card then says **With the team**, when they sent it, and that they will hear back there. **Take it back** withdraws the request while it waits. (Screenshot: The card while the number waits: With the team, sent on a day, with Take it back. The card while the team looks the number up.) A member has one request waiting at a time. Once verified, they can send their number again only in the last two weeks before it lapses, when **Verify again after** is set. ## Reviewing a number In **Settings → Moderation → Requests**, each request names the member and when they sent it. **Answers** shows the body, the number, and the **Public register** to look it up in. (Screenshot: A request in Moderation, Requests: the member, the body, the number and the public register, with Accept and Decline. Settings → Moderation → Requests.) - **Accept** verifies the member, by you. - **Decline** asks why, which is optional. The member reads **The team could not verify it:** and your reason on their card, and can send it again. - **Notes only reviewers see** keeps what your team found, for the next reviewer. A number can verify one member. If another member is verified with it already, the request says so, and accepting it is refused. The body and the number are seen by the member and your team alone, never by other members. --- # Courses Address: https://www.poly-community.com/docs/components/courses/ Members teach and take courses: a few lessons on writing that people finish, a month of travel sketching, a paid class in botanical painting. A course is a set of lessons in sections, each a text, a video, files, an embed, a quiz or an assignment. Members enrol, take the lessons in the course player, write notes as they go, and finish with a certificate if the course gives one. Its team builds it, follows its students and marks what they hand in. Courses is a component: switch it on under **Settings → Components**, where **Courses** has its settings (see [the settings](#settings--components--courses) below). ## The catalogue (Screenshot: The Courses page: its categories as tiles, a search with Filters and a sort, then the courses as cards, each with its cover, its title, its teacher, its lessons and length and how many students it has. The catalogue.) **Courses** in the navigation opens the catalogue: the published courses a reader may see, as cards with a cover, a title, the teacher, the lessons, how long they take and how many students take them. A course that costs something says its price on its card. The categories of the courses stand above them, and a search with **Filters** finds a course by its words, its category, its level and its language. A member has **My learning** at the top, for the courses they take. On a phone the categories, the level, the language and the order are all in the sheet of **Filters**, beside the search. ## A course page (Screenshot: A course page: Botanical painting, its summary, three lessons and about 29 minutes, Taught by Zoë Fischer, 29 euros paid once with money back within 14 days, 20 seats left and Buy, then the tabs Overview, Lessons, Reviews and Discussion, the lessons of its section, what the course includes, its instructor and its space. The page of a course on sale.) The page of a course says what it is and how to join it: - Its cover, title and summary, its category, level and language, its lessons and how long they take, how many students it has and who teaches it. - The one thing a reader can do now: **Enrol for free**, **Ask to join**, **Buy**, **Subscribe**, **See the plans**, **Accept the invitation**, or for a student **Start the course** and later **Continue**. A visitor logs in first. On a phone that button stays in a bar at the bottom of the screen. - The tabs **Overview** (what you will learn, the lessons, the description, who it is for and what to have before you start), **Lessons** (the sections and their lessons, with the ones a visitor may open as a preview), **Reviews** and **Discussion** (the course space, where its students talk). - Beside them, what the course includes, its instructors and its space. A student leaves a course from its page or from My learning. Their place is kept: enrolling again carries on where they were. ## The course player (Screenshot: The course player: a bar with the course and the lesson, the progress, the lessons before and after, Notes and a menu, the lessons of the course by section on the left with the done ones ticked, and a text lesson with its title, its kind and length and its words. A lesson in the course player.) A lesson opens in the course player, the whole width of the page: - **The bar** names the course and the lesson, shows how far the student is, steps to the lessons before and after, opens **Notes**, and has a menu with the course page, the course space, all their notes and **Mark as not done**. - **The lessons** of the course stand on the left, by section, each with its kind and length and whether it is done or begun. On a phone they open as a sheet. - **The lesson**, and under it **Complete and next** (or **Next** for a lesson that completes itself, as a video watched through), and the replies of students on this lesson. Each kind of lesson is drawn its own way: - **Text**: words, headings, lists, links, code and pictures. - **Video**: the course video player, its chapters beside it, and notes at the moment of the video. A video counts as watched at the share of it the settings say. - **Files**: worksheets and slides to download. - **Embed**: a video, a slideshow, a map or a sandbox from another site, which plays after a click, so nothing loads from that site before. - **Quiz** and **Assignment**, below. A lesson the student cannot open yet says why: they have not enrolled or bought the course, the course is taken in order and the lessons before it are not done, or it opens on a day or some days after they enrolled (they are told when it opens). ### Quizzes (Screenshot: A quiz lesson: Check yourself, three questions, no time limit, two of two attempts left, sixty percent to pass, When you send your answers, you see your score and the right answers, and Start. A quiz before it is started.) A quiz says how many questions it has, any time limit, the tries left and the score to pass, then **Start**. Its questions take one answer of several, true or false, a few words, or a written answer the course team marks. Its builder sets when students see the right answers: after each try, once they pass, after their last try, or never. A written answer waits on the Marking page, and the student is told once it is marked. ### Assignments (Screenshot: An assignment lesson: Your first page, points and what passes, Your work with Only you and the course team see it, a field for the answer kept as a draft, Attach a file, and Hand in. An assignment, before it is handed in.) An assignment asks for writing, a link or files, as its builder chooses. The answer is kept as a draft until the student presses **Hand in**. The course team marks it with points or pass and fail and a comment, or asks for another try, and the student is told. ### Notes Notes are for the student alone. In a video lesson **Note at this moment** keeps the time of the video with the note, and a press on that time plays from it. **All my notes** gathers them by lesson, and **Download as a file** saves them. ## My learning (Screenshot: My learning: In progress with two courses, each with its lesson and how much is left and Continue, Not started with Start, and Finished with Your finish. My learning.) **My learning** lists the courses a member takes in three groups: **In progress**, with how far they are and **Continue**, **Not started** and **Finished**. Each has a menu with the course page, their notes and **Leave the course**. ## Finishing a course (Screenshot: The finish of a course: Course finished, You finished Photographing birds, the lessons done and the time they took, Your certificate with a switch Anyone with its address can see it and Open your certificate, then Go to the course space, Back to the course and My learning. A course finished, with its certificate.) A student finishes a course once every lesson it requires is done. Its finish page says so and asks for a review. **Show it on my profile** puts the course on the **Learning** tab of their profile. A course with a certificate has the switch of the certificate there instead, which shows the certificate on their profile as well. A lesson added later leaves a finished course finished. ### Certificates (Screenshot: A certificate page: A valid certificate, issued to Leo Martins for completing Photographing birds, Print or save as PDF, Add to LinkedIn, Copy link, a switch Anyone with its address can see it, and the certificate with its QR code. A certificate, as its holder sees it.) A course with a certificate issues it as the student finishes, with their name and the course title as they are then. Its page says whether it is valid, prints alone on one sheet of its paper, and has a QR code of its own address, so anyone can check it. Only its holder opens it until they switch on **Anyone with its address can see it**, which also shows it on their profile. Its holder may add it to LinkedIn. The course team can revoke a certificate with a reason, and issue one later to those who finished before the course had it. The site administrators design the certificates under **Settings → Components → Courses → Certificates**: a design, the paper and its turn, the words and the colour, with a preview beside them. ## Teaching (Screenshot: Teaching: New course, then each course a member teaches with its cover, its state, its students, how many finished and what waits to be marked, with one action each. Teaching.) **Teaching** lists the courses a member builds or teaches, what needs them first at the top: work to mark, a draft ready to publish, a course waiting for approval. Each row has its students, how many finished and what waits to be marked, and one action. A member who may create courses starts one with **New course**: a title and a summary, and whether it gets a space. Everything else is in its builder. (Screenshot: New course: Course title, an optional Summary, a switch A space for the course, and Create and open the builder. New course.) ## The course builder (Screenshot: The course builder: Writing that people finish reading, Published, at the top, its sections and lessons on the left, and Course settings on the right with the tabs Basics, Access, Schedule, Certificate, Team and Publish. The course builder.) The builder is where a course is made. On the left its outline: sections and lessons, moved by dragging or with the keyboard, each lesson with its kind, its length and whether it is a draft. On the right what is picked: the course settings, a section, or a lesson. Each lesson has its editor and three choices: **Preview** (anyone who can see the course opens it), **Required to finish**, and when it opens (right away, some days after a student enrols, or on a day). A lesson is a draft until it is published, and its students see only published lessons. A quiz lesson holds the quiz editor: its questions, their points and answers, the score to pass, the tries and when the answers show. An assignment lesson says what students hand in (a text, files, a link), how it is marked and when it is due. The course settings have six tabs: - **Basics**: the title, the summary, the cover, the category, level and language, what students will learn, who it is for, what they need before they start, the description, and the course space with its chat. - **Access**: how members join (free, by asking, by invitation, bought once, by subscription, or in membership plans), the price, the seats, the days of access and the refund window. - **Schedule**: lessons in order, each opening once the ones before it are done. - **Certificate**: the one students get when they finish. - **Team**: its instructors and assistants. Instructors build the course with its owner, each seeing the changes of the others as they land. Assistants see it as it is built. - **Publish**: who finds it in the catalogue, what is left before it can be published, and **Publish course**. (Screenshot: The Publish tab of a published course: Published, it is in the catalogue, Who finds it in the catalogue with Everyone or Members, Back to draft, Its page and Its space, and Delete the course. The Publish tab.) A course published by a member for the first time may wait for an administrator to approve it, as the settings say. ### Selling a course (Screenshot: The Access tab of a course on sale: How members join with Bought once picked, its price, the refund window in days, how many days access lasts, and the seats. The Access tab of a course on sale.) A course is bought once or by subscription through the site payments (see [Payments](https://www.poly-community.com/docs/services/payments/)), or included in the membership plans of the site. A seat is held while its buyer pays, so the last one is never sold twice. Where the settings let instructors sell their own courses, the course owner is paid as Earnings says, less the site fee. Otherwise the site sells every course. ## Students and Marking (Screenshot: Students of a course: the students, how many finished, To mark, a search, a filter and a sort, then each student with when they enrolled, their progress, when they were last active and their marks. The Students page of a course.) **Students** shows the team who takes a course: how far each has come, when they were last active and their marks, found by name, filtered and sorted, and downloaded as a CSV. Requests to join and invitations wait at its top. A student page shows one student in full: their lessons, their tries and their hand-ins. The team can remove a student. Their progress, notes and hand-ins are kept for 30 days in case they are let back in. (Screenshot: Marking: Handed in, a student with their work on Your first page, the points out of ten, a comment for them, Mark and Ask for another try. Marking.) **Marking** gathers what waits for the team: hand-ins and written quiz answers, the oldest first, each marked in place. ## Course spaces A course gets a space, where its team and its students talk, as the settings say and its builder chooses. Students join it as they enrol, and **Space chat** gives it a Messages tab for all of them. See [Spaces](https://www.poly-community.com/docs/features/spaces/). ## Notifications Members are told, in the bell and by email as they choose under their notification settings, when: - they are added to a course team, or a course team invites them, answers their request to join, removes them or lets them back in, - a lesson of a course they take opens, - their quiz answers or their assignment are marked, or they get another try, - they finish a course, or a certificate is issued, issued again or revoked, - their access to a course bought for a time ends in a few days, and when it has ended, and for those who teach, when someone enrols, asks to join, finishes a course or hands in an assignment. Administrators hear of a new course waiting for approval, and its team hears the answer. ## Settings → Components → Courses (Screenshot: Settings, Components, Courses: the tabs Settings, Selling and reputation, Forms and fields, Certificates and Categories, then Teaching with Who creates courses, New courses wait for an administrator approval, New courses get a space, the certificate a new course gives and when a video counts as watched, Catalogue with Show how many students a course has and Students review courses, and Its data. Settings → Components → Courses.) On the tab **Settings**: - **Who creates courses**: the roles that may. - **New courses wait for an administrator approval**: a course a member publishes for the first time waits until an administrator approves it. Administrator courses are published at once. - **New courses get a space**, and **The certificate a new course gives**: what a new course starts with. Its builder can change both. - **A lesson video counts as watched at, in percent**. - **Show how many students a course has**: on its page and its card in the catalogue. Its team always sees it. - **Students review courses**, and when: as soon as they enrol, after a quarter or half of the lessons, or once they finish. On the tab **Selling and reputation**: - **Refund window a course on sale starts with, in days**. - **Instructors sell their courses**: off, the site sells every course. On, each course owner sells theirs and is paid as Earnings says, less the site fee. - What learning earns where the Reputation component runs: finishing a course, passing a quiz and a certificate. **Forms and fields** has the fields of a course, **Certificates** the designs (see [Certificates](#certificates)), and **Categories** the categories of the catalogue. Switching Courses off takes away its pages, the player, the builders and Teaching, and puts every course and lesson out of sight. Progress and notes are kept, nothing is deleted, and all of it comes back when it is on again. ### Its data The places of a member in courses, with how each was taken and when it ends, their progress, notes and certificates are in the personal data export of WordPress, and are erased with the member. The orders stay as the payments keep them, a course team keeps its lines without the name, and an erased certificate keeps its code and course alone, its page saying it is no longer valid. ## Changing courses The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Courses that way, so the catalogue, each course and each lesson stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe for the page of one item. ### Showing more on a course or a lesson Data and a template, never HTML drawn for one reader. What every reader sees of a course, such as a fact of your own, goes in the data of its row through `poly_community_item_row_data` and is bound in a template of the page. What one reader alone sees, such as their own progress or their place in the course, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. What a reader may do, such as enrol, shows by a fact. `wp poly-community page-data check kit-course` says whether the page of a course is one drawing for a visitor, a member and an administrator, and what to change if it is not, and `kit-learn` the same for a lesson. ### With a coding agent Give an agent such as Claude Code, Codex or Gemini CLI the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the page of a course how many of its lessons are videos: add the count to the row of the course through poly_community_item_row_data and bind it in the template of the course page, said in words by a getter. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-course and fix what it reports." ### In the admin The settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of their texts. ### In the Site Editor With a block theme, open **Appearance → Editor**: - **Community: Courses**, **Community: Course**, **Community: Lesson**, **Community: My learning**, **Community: Teaching**, **Community: Students** and **Community: Marking** are among its pages. - The page of a course holds **Course header** (its category, **Course title**, the review line, **Course facts**, **Course teachers** and **Course enrol card**), then **Course tabs** with **Course details**, **Course outline**, the reviews and **Course space card**, and beside them **Course includes**, **Course instructors** and **Course space card** again. - The page of a lesson is the course player: **Course player: bar**, **Course player: lessons**, **Course player: lesson**, **Course player: next** and **Course player: notes**. - **Course card**, a template part, is each course in the catalogue and in My learning: **Course cover**, its title, **Course teachers**, **Course facts**, the review line and **Course: where I stand**. ### In code A plugin of your own hears that a student finished a course with `poly_community_course_finished`, once, as they finish it. This one tells the site owner by email: ```php function my_site_course_finished( $course_id, $profile_id, $context ) { $course = Poly_Community()->items->get_item( $course_id ); $student = get_userdata( $context['user_id'] ); if ( $course && $student ) { wp_mail( get_option( 'admin_email' ), $student->display_name . ' finished ' . $course->title, 'Another student finished a course.' ); } } add_action( 'poly_community_course_finished', 'my_site_course_finished', 10, 3 ); ``` The other hooks of Courses, for the finish page and for the kinds of lesson the builder offers, are in [Hooks of the components](https://www.poly-community.com/docs/reference/component-hooks/), and [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Events Address: https://www.poly-community.com/docs/components/events/ Members plan events and say they are coming: a picnic in the park, a book club online, a release day someone else holds. An event has a time, a place or a way to join online, and as many places as its host gives it. Members answer **Going**, **Maybe** or **Cannot go**, wait for a place when it is full, ask to come or answer an invitation, and get a reminder before it starts. Events is a component: switch it on under **Settings → Components**, where **Events** has its settings (see [the settings](#settings--components--events) below). ## The Events page (Screenshot: The Events page as a member reads it: Times in your time zone, Berlin, then December with four events, each with its picture, its day, its hours, its title, its place and how many go, and Going on the right. The Events page, as an agenda.) **Events** in the navigation opens the page of events. Its tabs: - **Upcoming**: the events to come, by month, the soonest first. - **Calendar**: a month of events, with the month before and after. On a phone, a list of its days. - **Going**: the events a member answered, asked to come to or is invited to, until they end. - **Hosting**: the events a member hosts or co-hosts. - **Past**: the events that ended, the latest first. Going and Hosting are for members. Times are in the time zone of the reader, named once above the list. A member who may create events has **New event** beside the tabs, and **Subscribe** puts their events in a calendar app (see [Calendars](#calendars)). A member answers from the list with one button: **Going**, which reads **Going ✓** once given. A visitor gets no button, and the whole row opens the event. (Screenshot: The Calendar tab: December as a grid of weeks, each event on its day with its time and title. The Calendar tab.) ### Three layouts **Settings → Appearance → Events → Event list layout** sets how the lists of upcoming and past events look, on the Events page and on the Events tab of each space: (Screenshot: Settings, Appearance, Events: Event list layout with Agenda, Cards and Next up, each with its picture. Settings → Appearance → Events.) - **Agenda** (the default): a row for each event, with its picture, its day, its hours, its place and how many go. - **Cards**: two or three cards across, the date on the picture. - **Next up**: the soonest event large, with a few lines about it, and the others as short rows. (Screenshot: The same events as cards, two across, each with its picture and its date on it. Cards.) (Screenshot: The same events with the soonest large, marked Next up, and the others as short rows. Next up.) An event without a picture shows the picture of its space, or the logo of the site. ## Making an event **New event** opens the form: - **A cover,** the picture of the event in lists and on its page. - **Name of the event.** - **When:** the day and the hours it starts and ends, or **All day**, and its **Time zone**. An event lasts a month at most. (Screenshot: When: Starts and At, Ends and At, All day, and Time zone. When it is.) - **Where:** - **In person:** the **Place** and its **Address**, and a pin on the map where the site shows places. - **Online:** **How people join**, a link or, where the site has them, the group call of its space in Better Messages or a live stream of the Live component. Only members going see the link, on the event page and in their calendar. - **Elsewhere:** a date someone else holds, such as a release or a conference, with who holds it and its own page. Members mark it **Interested** and add it to their calendar, and nobody goes through this site. (Screenshot: Where: In person, Online and Elsewhere, In person picked, with Place and Address. Where it is.) - **Places:** 0 for no limit. When it is full, members can join a waiting list. - **What is it about?**, the text of the event, with its pictures, links and mentions as in a post. - **Held by:** the whole community, or one of the spaces of the host, where its members find it on the Events tab. - **Who can see it:** **Everyone**, or **Members** who are logged in. Below them, sections that open: (Screenshot: The sections that open: Who can come, Who sees who is coming, Roles, Co-hosts and Repeats, each with a line about it. More about the event.) - **Who can come:** **Anyone who sees it**, **Hosts approve** (members ask to come and answer the questions of the host) or **By invitation**, and how many **guests** each member may bring. Guests take places too. - **Who sees who is coming:** everyone who sees the event, the members going, or only its hosts. How many are going always shows. - **Roles:** what the event needs people for, such as 3 drivers and 2 cooks. Members going take one on the event page. - **Co-hosts,** who run the event with the host. - **Repeats** (see [Repeating events](#repeating-events)). - **Tickets** (see [Tickets](#tickets)). What the host was writing is kept in the browser, to bring back after a reload. After **Create event**, the host edits it with **Edit** on its page, and those who answered are told when its time, place or way to join changes. ## An event page (Screenshot: The head of the event Picnic in the park: its cover, its date, the time in Berlin, Riverside Park with its address, Hosted by Maya Chen in Garden club, then Going picked, Maybe, Cannot go and Add to calendar, and You are going, You will get a reminder before it starts. The head of an event.) The head of an event holds its cover, its date, its title, when it is (in the time zone of the reader, and in its own where they differ), where it is, and who hosts it in which space. Then the answers and **Add to calendar**. Its hosts also find **Edit**, **Check-in**, **Attendance** (a CSV file of who answered, to open in a spreadsheet) and **Cancel event**. Below the head: - **Places,** for an event with a limit: how many are left, and how many wait. - **Who is going,** the faces of the members going, those who said Maybe, and the waiting list in its order, to those the event lets see them. - **Roles,** where the event has them. - **The text of the event,** with its comments. (Screenshot: Who is going: 9, with the faces and names of the members going, then Maybe with one face. Who is going.) ### Answering - **Going**, **Maybe** or **Cannot go.** A member going with guests says how many. - **Join the waiting list** where the event is full. The first waiting gets a place that frees up and is told at once. - **Ask to come**, where its hosts approve: the member answers their questions, and the hosts read the requests under **Requests to come** on the event page, to accept or decline. - Where it is **by invitation**, its hosts invite members by name under **Invitations**, and only those invited answer. An online event is attended: **Attend** and **Attending**. A member attending finds **Join** on its page until it ends, which opens its link, its call or its stream, and a call or a stream says **Live now** while it runs. For an event held elsewhere, members say they are **Interested**. A member going gets a reminder before it starts, and their place shows in their calendar when they subscribe. ### Check-in (Screenshot: Check-in of Picnic in the park: 0 of 9 in, Find a name, and the members going, each with Check in. The check-in list.) **Check-in** on the event page opens the list its hosts use at the door: the members going, **Find a name**, and **Check in** beside each. A tap again undoes it. The count of those in follows every check-in, on every phone the hosts use. ### Cancelling **Cancel event** asks first. Everyone who answered is told, and the event stays on its page, marked cancelled. ## Repeating events **Repeats** in the form makes an event happen every week, every two weeks, every month on the same date, or every month on the same weekday (such as the second Tuesday). It ends after a number of times, on a day, or keeps going. Each date is an event of its own, with its own answers, and the next twelve are ready ahead. Editing or cancelling a date asks which dates it is for: **This date only**, **This date and the ones after it**, or **Every date to come**. **Add every date to a calendar** on its page puts them all in a calendar app at once. ## Tickets Where the site takes payments (see [Payments](https://www.poly-community.com/docs/services/payments/)), the form has **Tickets**: free, or a price for each place. Members pay on the secure page of the payment provider and are going once it has told the site they paid. Their place is held while they pay, so the last one is never sold twice. A guest is a place too. When a place frees up at a full event, the first waiting is offered it to buy, and told. Cancelling an event refunds nobody by itself. A site administrator refunds every ticket in one step under **Tickets** on the event page, or one by one in Payments. While Events is off, the buyers cannot open their events, and Settings → Components says how many tickets are paid and not refunded before Events goes off. ## Reminders and notifications Members going are reminded **a day before** and **an hour before**, as the site sets them. Each member turns them off for themselves under **Edit profile → Notifications**, where Events has these: - Someone is going to an event I host. - A place opens for me at an event. - An event I am going to is coming up. - An event I answered changes or is cancelled. - I am invited to an event. - A ticket I waited for is mine to buy. ## Calendars **Add to calendar** on an event adds it to Google Calendar or Outlook, or downloads its file for Apple Calendar and any other calendar app. (Screenshot: The menu of Subscribe: Apple or another calendar, Google Calendar, Outlook.com, Microsoft 365 and Copy the address. Subscribe.) **Subscribe** on the Events page gives a member the address of a feed of their own events, and on the Events tab of a space, of its events. A calendar app that subscribes keeps them up to date. The address of their own feed carries a key: whoever has it can read those events, so **Get a new address** on the Going tab stops the old one. ## Events in spaces Each space has an **Events** tab with its events, its calendar and its past events. Its members find **New event** there when they may create events in it, and an event held by a space reaches the members of that space. Spaces that are not open keep their events to their members. ## The Upcoming events widget (Screenshot: Upcoming events: four events, each with its date, its title, its hours and how many go, then See all events. Upcoming events.) **Upcoming events**, beside an event page and wherever a site places it, lists the next events the reader may see, and on the page of a space, the events of that space. ## Settings → Components → Events (Screenshot: Settings, Components, Events: Events switched on, then Who creates events with Every member picked, Places at a new event, An Events tab on spaces, Remind members going with A day before and An hour before, and what it keeps. Settings → Components → Events.) - **Who creates events:** **Every member**, **Moderators** or **Staff**, or the roles **Narrow it down** picks. Administrators always may. Space roles count in their own spaces: the admins and moderators of a space create events there. By default, administrators and the team of each space. - **Places at a new event:** how many places the form starts with. 0 for no limit. The host can change it. - **An Events tab on spaces:** on by default. - **Remind members going:** **A day before** and **An hour before**. Each member can turn reminders off for themselves. **Its data** says what Events keeps, and **Delete Events data** removes it, after a question. While tickets are paid and not refunded, switching Events off or deleting its data says so first. ## Changing events The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Events that way, so the lists and each event stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe for the page of one item. ### Showing more on an event Data and a template, never HTML drawn for one reader. What every reader sees of an event, such as a fact of your own, goes in the data of its row through `poly_community_item_row_data` and is bound in a template of the page. What one reader alone sees, such as their own answer or ticket, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. What a reader may do shows by a fact. `wp poly-community page-data check kit-event` says whether the page of an event is one drawing for a visitor, a member and an administrator, and what to change if it is not. ### With a coding agent Give an agent such as Claude Code, Codex or Gemini CLI the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show how long an event lasts on its page: add it to the row of the event through poly_community_item_row_data and bind it in the template of the event page, the length said in words by a getter. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-event and fix what it reports." ### In the admin The settings above, **Settings → Appearance → Events** for the layout of the lists, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of their texts. ### In the Site Editor With a block theme, open **Appearance → Editor**: - **Community: Events**, **Community: Event**, **Community: New event**, **Community: Edit event** and **Community: Check-in** are its pages. The Events page holds **Event tabs**, **Event calendar** and **Event list**. The page of an event holds **Event header** (with **Event date badge**, **Event name**, **Event time**, **Event place**, **Event host**, **Event answer**, **Add to calendar** and **Event tools**), then **Event places**, **Event tickets**, **Requests to come**, **Event invitations**, **Event roles**, **Who is going** and **Event description**. - **Event row**, a template part, is each event in the lists of the Events page and of the Events tab of a space: **Event picture**, **Event date badge**, **Event time**, **Event name**, **Event place**, **Event summary**, **Event answer** and **Event numbers**. Change it once and every list follows, in each of the three layouts. - **Upcoming events** is a block for any page or a widget area. ### In code A plugin of your own adds a way to join an online event with `poly_community_event_join_sources`. The form then offers it under **How people join**, its button is on the event, and a member attending gets its address. This one sends everyone to the stream of the town hall: ```php function my_site_event_join_sources( $sources ) { $sources['town-hall'] = array( 'label' => 'The town hall stream', 'button' => 'Watch the stream', 'available' => 'my_site_town_hall_available', 'target' => 'my_site_town_hall_target', 'state' => 'my_site_town_hall_state', ); return $sources; } add_filter( 'poly_community_event_join_sources', 'my_site_event_join_sources' ); function my_site_town_hall_available( $event ) { return true; } function my_site_town_hall_target( $event, $user_id ) { return 'https://stream.example.com/town-hall'; } function my_site_town_hall_state( $event ) { return 'idle'; } ``` `available` says whether an event may be joined that way (the group call of Better Messages is offered only to the events of a space with one), `target` gives the address to a member, or nothing to keep it from them, and `state` says `live` while it runs, for the **Live now** mark. The other hooks of Events are in [Hooks of the components](https://www.poly-community.com/docs/reference/component-hooks/), and [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Jobs Address: https://www.poly-community.com/docs/components/jobs/ Jobs is a job board for the community. Members post jobs for themselves or for an organization they run, each with its pay, where the work is and how to apply. Candidates find them on the board, apply inside the community, by email or on the site of the employer, and follow their applications. Employers move applicants along a board of stages, and find members open to work under **Candidates**. Switch it on under **Settings → Components → Jobs**. It adds **Jobs** to the navigation and a **Jobs** tab to the profile of each organization that has open jobs. ## Settings (Screenshot: Settings, Components, Jobs: who posts jobs, who applies and who searches candidates, members with an open job search candidates, every job says what it pays, a feed of open jobs, ways to apply, how a new job takes applications, employers ask questions of their own, the message to a candidate who is declined, and days an application is kept. Settings → Components → Jobs.) - **Who posts jobs**, **Who applies** and **Who searches candidates**: every member, moderators, staff, or the members you narrow it down to. A category can ask more of whoever posts in it, on the Categories tab. - **Members with an open job search candidates**: whoever has a job open, of their own or of an organization they post for, finds members open to work as an employer does. - **Every job says what it pays**: a job is published only with a salary, at least its bottom or its top. - **A feed of open jobs**: an RSS feed of the board and of each search, with the jobs a visitor may see. - **Ways to apply**: in the community, by email, on a website. **How a new job takes applications** is the one picked at first. - **Employers ask questions of their own**: up to ten on a job, after the fields of the application form. - **The message to a candidate who is declined**: offered with Decline, for the employer to change before it is sent. `{name}` is the candidate and `{job}` the job. - **Days an application is kept once decided**: hired, declined or withdrawn, an application is deleted with its files after this many days. 0 keeps them. The other tabs of Jobs hold the rest: - **Publishing**: how long a job stays up, renewing it and approving it, below. - **Forms and fields**: the fields of the job and of the application form (**Job application**): a note, a CV, a link and a phone at first. - **Categories** and **Skills**: the two trees a job is filed under. A category can ask more of whoever posts in it, or less. - **Packages**: paying to post and to feature a job, below. ### How long a job stays up On **Publishing**: - **Stays up for, in days**: from when a job is published. A closing date its poster gives it can end it sooner, never later. - **Renewing**: free, its poster renewing it for as long again, paid, or off. A renewed job keeps its place among the newest, never jumping to the top. - **Remind its owner**: so many days before it ends, in the bell and by email as each member chooses. They are told when it ends too. - **Approval before it is published**: none, a member first (once one job of theirs is approved, the next are out at once), or every one and every edit. Jobs waiting are in Moderation. My jobs shows when each job ends, with **Renew**. A job that ended keeps its page, saying so, and leaves the board. ### Paying to post and featuring With [Payments](https://www.poly-community.com/docs/services/payments/) connected and Paid membership on, **Packages** sells posting: a package is so many jobs, each up for so many days, some featured for a while, used within a time, for some categories or all. **Free posts for each member** gives each member a number a month (or another period) before a package is asked for, and a category can have a price of its own, or be free. Publishing a job then takes a free post or one the member holds, or asks them to pick a package and pay. The job waits as a draft until it is paid, and is out once it is. A featured job comes first on the board for its days: its poster buys it from the ⋯ menu of the job or from My jobs, as **Feature** with its days and price. ## The board (Screenshot: Jobs: Candidates and Post a job, the skills as chips, the search, Filters and the sort, the categories as tiles, then Open jobs, each with the logo of its company, its title, the company, where and what type, its pay and when it was posted. The board.) The board lists the open jobs, newest first, each with the logo of its company, its title, the company, where the work is, its type, its experience, its pay and how long ago it was posted. A job marked **New** was posted in the last two days. Search by words, pick a skill or a category, or open **Filters** for the type, the workplace (on site, hybrid, remote), the experience, a place and a salary of at least so much. **Save search** under ⋯ keeps a search, and members hear of new jobs that match. On a phone the row is the search and **Filters**: the skills, the categories, the order and Save search are in its sheet. ## A job (Screenshot: A job: the logo, Senior product designer, Northwind, Remote, when it was posted and when it closes, its salary, type, experience and workplace as tiles, Apply, Save, Share, then About the job and the company. A job, as a member sees it.) Each job has a page of its own: the company and where the work is, when it was posted and when it closes, its salary, type, experience and workplace, the description, its benefits, the company and more jobs from the same poster. Search engines read it as a job posting while visitors may see it. **Apply** says how: **Apply** in the community, **Apply by email**, or **Apply on** the site of the employer. On a phone it stays at the foot of the screen. (Screenshot: Apply, Senior product designer, Northwind: Quick apply with what was sent last time, then A note to the employer, the CV, a link and a phone, then the questions of the job. Applying in the community.) Applying in the community opens the form over the page: a note, a CV, a link and a phone, then the questions of the employer. **Quick apply** fills it with what the candidate sent last time. Only the employer sees what is sent, and what is typed is kept on the device until it is sent. A visitor sees **Log in to apply**. ## My applications **My applications**, linked from the board, lists each job a member applied to, where it stands (Sent, Seen, Shortlisted, Interview, Offer, Hired, Not this time) and what the employer wrote. A candidate withdraws an application while it is open. ## Posting a job (Screenshot: Post a job: the company, the member or another company, then the job title, category, type, workplace, experience and skills. Post a job.) **Post a job** is one form: the company (the member, an organization they post for, or another company with its name and logo), the job (title, category, type, workplace, experience, skills, where), its pay as a range an hour, a day, a week, a month or a year, the description, how to apply, and who sees it (everyone, or members only). It is saved as a draft as it is typed. **Preview** shows the page as candidates will see it, and **Publish** puts it out, or says what is still missing. **My jobs** lists the jobs a member posted, by where each stands (active, waiting for review, ended, drafts), with how many applied and the new ones. From there the poster edits a job, renews it, opens its applicants, or marks it filled, which takes it off the board and tells those still waiting. ## Applications, the board of an employer (Screenshot: Applications: columns New, Seen, Shortlisted, Interview and Offer, each with its number and its applicants. The applications of a job.) The applications of a job are a board of stages: **New**, **Seen**, **Shortlisted**, **Interview**, **Offer**, **Hired**, and **Declined** folded at the end. Drag an applicant to another column, or use the ⋯ menu of the card. The candidate reads where their application stands in My applications, and hears when it is shortlisted, at the interview, at the offer, hired or declined. Several picked at once move together, or are declined together, each with the message. (Screenshot: An application open beside the board: the candidate, stars, Message, what they sent, and notes for the team. An application, opened beside the board.) Opening an application shows it beside the board: what the candidate sent with their CV, stars, notes only the team reads, **Message**, and **Decline** with the message of the job. On a phone the board shows one stage at a time, picked over it. ## Open to work, and Candidates (Screenshot: Job search: Not looking, Open to work or Open to the right offer, who sees it, hide this from people at an organization, the CV, then what you are looking for. Edit profile → Job search.) On **Job search**, a tab of Edit profile, members say whether they are looking (**Not looking**, **Open to work**, **Open to the right offer**), who sees it (every member, employers only, or nobody but the jobs they apply to), and the organizations whose people never see it, such as their current employer. They keep a CV for applying and for employers they let find them, and say what they want: a headline, types of work, workplace, experience, categories, skills, where, and a salary of at least so much. Open to work shows as a badge on their profile and card, to those it is shown to. (Screenshot: Candidates: filters by a job of yours, category, skill, type, workplace and experience, then members open to work, each with Message and View CV. Candidates.) **Candidates** lists the members open to work who let the viewer find them, filtered by a job of the viewer, a category, a skill, a type, a workplace and experience, each with **Message** and **View CV**. ## Notifications and emails Employers hear when someone applies (the applicants of a day together), and candidates when an employer answers their application and when a job they applied to is filled. In email settings these are **Job applications: new applicants, and answers to mine**. Posters are told before a job closes, to renew it. ## Changing Jobs The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Jobs that way, so the board and each job stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe for the page of one item. - **Showing more on a job**: data and a template, never HTML drawn for one reader. What every reader sees of a job, such as a fact of your own, goes in the data of its row through `poly_community_item_row_data` and is bound in a template of the page. What one reader alone sees, such as their own application, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. What a reader may do shows by a fact. `wp poly-community page-data check kit-job` says whether the page of a job is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show how many applied to each job on its page: add the count to the row of the job through poly_community_item_row_data and bind it in the template of the page. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-job and fix what it reports." - **In the admin**: the settings above, its fields and categories on the tabs of Jobs, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: **Community: Jobs** is the board and **Community: Job** a job, and the template part `community-job-row` is each job on the board. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Knowledge base Address: https://www.poly-community.com/docs/components/knowledge-base/ Members look for answers where they already are. With Knowledge base on, **Help** is in the navigation of the community and leads to the help center of [Evo Support](https://www.poly-community.com/docs/integrations/evo-support/): its articles in topics, with a search of their own. With Poly Theme its pages sit inside the community, beside the navigation, and the search of the community finds the articles too. Poly Community keeps no articles of its own. They are written, arranged and kept in Evo Support, which also decides who may read each one. ## What it needs Knowledge base is a component: switch it on under **Settings → Components**. It needs Evo Support, a separate plugin by the makers of Poly Community. Until Evo Support is active the component waits and adds nothing, and its card says **Needs Evo Support** with **Install** beside it. In Evo Support, the help center shows the articles of a public knowledge base with its help center on. Until there is one, Help stays out of the navigation, and the settings of the component say so. ## Help in the navigation (Screenshot: The help center inside the community: the navigation column with Help marked, then Help, Guides and answers from the Riverside Community team, Search help, three topics, Getting started, Groups and events and Your account, each with its articles counted, and Popular, a list of articles. The help center in the community.) Help comes last in the navigation. On a phone it is in the bar at the foot of the screen, or under **More** where the menu holds more than the bar fits. On every page of the help center, its home, a topic, an article and its search results, Help is marked as the page shown. ## The help center in the community With Poly Theme, the pages of the help center are framed by the community: its header, its navigation column and its look, light or dark as each reader chose. A move between the help center and the rest of the community stays in the page. (Screenshot: An article inside the community: Help, Groups and events, Going to an event, when it was updated, its text, Was this helpful with Yes and No, More in Groups and events, and beside it Still need help with Ask about this article. An article of the help center.) Evo Support decides what a page of the help center holds: the topics, the popular articles, **Was this helpful?**, and beside an article, where Evo Support has its assistant on, a way to ask about it. With another theme, Evo Support draws its help center in the pages of that theme, and Help in the community leads there. ## Articles in search (Screenshot: The community search for event: All and Help counted, then Help with Going to an event and Hosting your own event, each with a line of its text and Help, Groups and events under it. Articles in the community search, as Help.) The search of the community finds the articles as **Help**, beside posts, members and the rest, each with its title, a line of its text and its topic. It finds only what visitors may read: published articles, public in Evo Support, in a knowledge base with its help center on. An article written for the assistant alone, a draft, or one behind a password never shows. The community search asks the search of Evo Support, so both find the same articles. Evo Support reads a saved article into its search in the background, on the scheduled tasks of WordPress. If **Search help** in the help center finds no article that is there, it is usually that those tasks have not run on the site yet, and Help in the community search is empty until they do. ## Settings → Components → Knowledge base (Screenshot: Settings, Components, Knowledge base: switched on, and a note saying Help leads to Evo Support help center, which shows its public articles, and to write and arrange them in Evo Support. Settings → Components → Knowledge base.) Knowledge base has no settings of its own. Its page says where the articles are kept, or, while the help center of Evo Support is off, that Help waits for it. Switching the component off takes Help out of the navigation and the articles out of the search, and leaves the help center as Evo Support draws it. ## Changing the knowledge base The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change that way, so the community stays fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules and the API. ### The articles and the help center Evo Support keeps the articles, their topics, who reads them and the pages of the help center: change them there, and its pages in the Site Editor, where it keeps their template. ### Search and the navigation Help in search is a kind of search, and Help in the navigation an item of it: both are data, a row of words and an address, which the browser draws. A site adds its own the same way, with no HTML drawn for one reader: a kind of search on [`poly_community_register_search_kinds`](https://www.poly-community.com/docs/reference/php-actions/#poly_community_register_search_kinds), whose rows return a title, an address and a line of text, and an item on [`poly_community_register_ui`](https://www.poly-community.com/docs/reference/php-actions/#poly_community_register_ui). The words of Help are in [Settings → Words](https://www.poly-community.com/docs/settings/words/). ### With a coding agent Give an agent such as Claude Code, Codex or Gemini CLI the page above and ask for the change in its words. For example: "In Poly Community, add the questions of my FAQ page to the community search as their own kind, FAQ: register it on poly_community_register_search_kinds in a small plugin, its find returning the matching ids and its row the title, the address and a line of the answer as data. Draw no HTML in PHP. Then search for a word of one question and check it shows under FAQ." [Hooks of the components](https://www.poly-community.com/docs/reference/component-hooks/) lists the hooks of the components, and [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Listings Address: https://www.poly-community.com/docs/components/listings/ Listings is a directory members fill: businesses, places, homes, cars, things for sale or to swap. Each listing is in a category, and the category decides what it asks, such as a price, a condition or opening hours. Members list in a few steps, with photos, a place and how to reach them, and each listing has a page of its own. Switch it on under **Settings → Components → Listings**. It adds **Listings** to the navigation, and **New listing** and **My listings** for members. A site that wants kinds of its own, a gallery of sites and a directory of experts for example, each with its own address, fields and categories, makes them as [catalogues](#catalogues-kinds-of-your-own), which run the same way. ## Settings (Screenshot: Settings, Components, Listings: who lists, members review listings and who reviews, questions under listings, who sees how to reach the owner, then Claims. Settings → Components → Listings.) - **Who lists**: every member, moderators, staff, or the members you narrow it down to. A category can ask more of whoever lists in it, on the Categories tab. - **Members review listings** and **Who reviews**: stars and a few words on a listing page and its card, each answered once by its owner. Turned off, those written stay. - **Questions under listings**: members ask under a listing, in public, and its owner or anyone else answers. - **Who sees how to reach the owner**: the phone, email and website of a listing, to everyone who sees it, to members only, or as each field says. Visitors see the rest of the listing and are asked to log in for these. - **Claims**: **Members claim listings**, **Who claims**, a **Claim fee** paid before your team sees a claim, and **Refund a declined claim fee**. See [Claims](#claims). The other tabs of Listings: **Publishing** (how long a listing stays up), **Forms and fields** (the fields of a listing and of a claim), **Categories**, **Packages** (paying to list) and **Import and export**. ## The directory (Screenshot: Listings: New listing, the search, Anywhere, Filters, the sort and the ⋯ menu, the categories as chips, then the listings as cards with a photo, a title, a price or opening hours, a category and stars. The directory.) The directory shows the listings as cards, featured ones first: a photo, the title, the price or whether it is open now, the category and the place, and the stars of its reviews. Search by words, pick a place to search near it, choose a category from the chips, and open **Filters** for the fields of a category, such as a price range. The ⋯ menu saves the search, to hear of new listings that match, and holds the RSS feed of the list. On a phone the row is the search and **Filters**: the place, the categories, the order, Save search and the feed are in its sheet. Where the site has a map service (**Settings → Services → Places**), **Map** shows the listings beside a map: a card and its marker light each other, and **Search this area** looks again where the map was moved. On a phone the map fills the screen, the cards a sheet over it. ## A listing (Screenshot: The photos of a café: one large, four smaller, and 5 photos. A listing opens on its photos.) A listing page holds its photos, which open in a viewer, its title with **Featured**, **Claimed** or **Ended** after it where so, its key facts, whether it is open now and its opening hours, the description, the rest of its details, its place on a map with **Get directions** and **Larger map**, its reviews, and more from its owner and in its category. (Screenshot: Listed by Leo Martins, Is this your business? Claim it, then Message, Call and Website. How to reach the owner.) Beside it, **Listed by** names the owner, with **Message** (where the site has a messenger), **Call**, **Email** and **Website**, as **Who sees how to reach the owner** allows. On a phone they stay at the foot of the screen. A place shown by its area, such as a home, says the owner gives the address when someone gets in touch. ## Listing something (Screenshot: New listing, step 1 of 5, Category: What are you listing? with Find a category and the categories as tiles. New listing.) **New listing** goes in steps, each saved as it is done: 1. **Category**: what it is, which decides what the next steps ask. 2. **Details**: the title, the description and the fields of the category. 3. **Photos**: several at once, or dropped there, cropped or turned, put in order, with words for those who cannot see them. 4. **Place**: an address or a place nearby, the pin moved where it belongs, and how exactly it shows: a door, or just the area. 5. **Contact**: how people reach the member, each way for everyone or for members only. Members can also message them in the community. The last look shows the listing as it will show in lists, then **Publish**, or the package to pay for where posting is paid. (Screenshot: My listings: New listing, the tabs Active, Waiting for review, Ended, Waiting for payment and Drafts, and a listing with when it ends, its views and contacts this week, Edit and Renew. My listings.) **My listings** holds the listings of the member by where each stands: active, waiting for review, ended, waiting for payment and drafts. Each says when it ends, its views and contacts this week, with **Edit**, **Renew**, and in its ⋯ menu **Mark sold** (or **Close** for what is not sold), featuring it, and deleting it. A listing marked sold leaves every list, its page says so, and the ways to reach its owner go, until it is renewed. On its own page the owner has the same in a bar above it. ## How long a listing stays up, and paying for it As Jobs, Listings has a **Publishing** tab: how many days a listing stays up, renewing it (free, paid or off), reminders before it ends, and approval before it is published (none, a member first, or every one). A listing that ended keeps its page, saying so, and leaves the directory. With [Payments](https://www.poly-community.com/docs/services/payments/) connected and Paid membership on, **Packages** sells listing: packages of so many listings for so many days, some featured, free listings for each member each month, and a price or a free pass on a category of its own. A featured listing comes first in the directory for its days. ## Claims Someone who runs a place another member listed asks to look after it: **Is this your business? Claim it** on the listing. They tell the team who they are there and send something that shows it, and only the team and they see what they sent. The team decides on the listing page and under **Settings → Moderation**. Accepted, the claimant looks after the listing and it says **Claimed**. A claim fee, where you ask one, is paid before the team sees the claim. ## Reviews and questions Members review a listing with stars and words, and its owner answers each once. Questions under listings, where they are on, are asked and answered in public under it. ## Import and export **Import and export** brings listings in from a CSV, with the columns of its template, up to a size and a number of lines it names. Each line is checked first and nothing is written until you import. It also takes listings out as a CSV, of a category or all. ## Catalogues: kinds of your own (Screenshot: Settings, Catalogues: kinds of posts with their own fields, categories and pages, with New catalogue. Settings → Catalogues.) A catalogue is a kind of post with its own name, address, menu item, fields, categories, form and My page, run by the same engine as Listings: cars, homes, venues, a gallery of sites. **Settings → Catalogues** makes one to try on the site as a prototype: its name, what one and several are called, its address under the community, its categories and fields. When it is right, **Take as code** gives it as a snippet for your site plugin, or a plugin to upload, where it belongs. Listings itself can then be off, and the menu holds the catalogues alone. ## Notifications and emails Owners are told before a listing ends and when it has ended, and when someone reviews it, in the bell and by email as each member chooses. The member who made a listing hears when a claim of it is accepted. Claims wait for the team in Moderation. ## Changing Listings The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Listings that way, so the directory and each listing stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe for the page of one item. - **Showing more on a listing**: data and a template, never HTML drawn for one reader. What every reader sees of a listing, such as a fact of your own, goes in the data of its row through `poly_community_item_row_data` and is bound in a template of the page. What one reader alone sees, such as their own claim or review, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. What a reader may do shows by a fact. `wp poly-community page-data check kit-listing` says whether the page of a listing is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show the date a listing was first published on its page: add it to the row of the listing through poly_community_item_row_data and bind it in the template of the page, the date worked out in the reader time zone by a getter. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-listing and fix what it reports." - **In the admin**: the settings and tabs above, its catalogues, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: **Community: Listings** is the directory and **Community: Listing** a listing, and the template part `community-listing-card` is each card of the directory. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Live Address: https://www.poly-community.com/docs/components/live/ Members go live from their profile or a space: a run along the river, a set on the night stage, a cactus repotted. While they are live, their post in the feed plays the stream in place, their picture carries a LIVE mark everywhere it shows, and those who follow them, or the members of the space, are told. Once it ends, the post says how long it ran and how many watched, with its recording where there is one. Live is a component: switch it on under **Settings → Components**, where **Live** has its settings (see [the settings](#settings--components--live) below). It streams through [WordPlus Live Stream](https://www.poly-community.com/docs/integrations/live-stream/), a separate plugin with its own service and terms. Until it is installed, the component waits and adds nothing to the site, and its card says **Needs WordPlus Live Stream** with **Install** beside it. ## Going live (Screenshot: A member profile with Edit profile and Go live beside it, and a LIVE mark on the profile picture. Go live on a profile.) A member who may go live has **Go live** on their profile, and in a space where lives are on, **Go live in** that space. It opens the studio. (Screenshot: The studio before going live: a title, What is your live about, a line saying Go live opens your studio with your camera, your screen or OBS and that the post goes up the moment you are live, who sees it, and Go live. The studio, before going live.) In the studio they give their live a title (as the settings ask) and a few words, pick who sees it, and go live with their camera, their screen, or a streaming app such as OBS. Their post goes up the moment they are live, and nothing is posted before. A live started and never begun waits in the studio, to go live with or discard. Before WordPlus Live Stream is set up to stream on the site, the studio offers a test stream only its member sees, to try a camera and a microphone. When as many members are live as the settings allow, a member who goes live is told it waits a moment, and tries again once one ends. Administrators always can. ## Watching (Screenshot: A post in the feed: Maya Chen, Sunday long run live from the trail, the stream with Live and 18 watching on it and a play button, Maya Chen is live, Started just now, 18 watching, and Watch. A live in the feed.) A live is a post. In the feed, on a profile and in a space it shows as a card: the stream with **Live** and how many watch, and a play button. Pressed, the stream plays right there, the page never left. One plays at a time, and one scrolled away stops. **Watch** opens the page of the live, with the chat beside the stream. How many watch changes on the card as people join, and when the live ends, the card says so in place: who was live, how long it ran and how many watched. ### The LIVE mark While a member is live, their picture carries a **LIVE** mark on every page: in the feed, on Members, in the widgets, on their profile. It goes when their live ends. ## The Live page (Screenshot: The Live page: Who is live now, and who was, Go live, two lives with their streams and how many watch, Leo Martins live in Night stage and Maya Chen, then Recently live with Zoë Fischer, 42 minutes and 42 watched, yesterday. The Live page.) **Live** in the navigation opens the Live page: who is live now, each with their stream and how many watch, and who was live recently. A space has a **Live** tab of its own, as the settings say, with who is live in it now and who was. (Screenshot: The Live now widget: Leo Martins live in Night stage, started just now, 6 watching, Maya Chen is live, started a minute ago, 18 watching, and See who is live. The Live now widget.) **Live now** is a widget for the side of a page: who is live, with **See who is live**. ## Ending a live A member ends their own live in their studio. A moderator or an administrator, and the admins and moderators of a space in it, may end anyone else live with **End live** in the menu of its post, after a question. Its member is told. A live never ends because it has run long: it ends when its stream does. ## Notifications Members are told when someone they follow, or someone in their spaces, goes live, and when a moderator ends their live. Each member chooses how under their notification settings. ## Settings → Components → Live (Screenshot: Settings, Components, Live: Going live with Who goes live, Live in spaces, Streams live at once, A live title and A post in the feed, Watching with Chat beside the stream and A Live tab on spaces, and Its data. Settings → Components → Live.) - **Who goes live**: the roles that may. Space roles count in their own spaces. - **Live in spaces**: members go live inside the spaces they post in, for the space members. - **Streams live at once**: past it, members wait for a live to end before they go live. - **A live title**: required or optional. A space that requires titles asks for one either way. - **A post in the feed**: while they are live, and how it went once it ends. - **Chat beside the stream**: the chat of WordPlus Live Stream, kept only while live, or a Better Messages chat room kept with its history, where Better Messages is active. - **A Live tab on spaces**. Switching Live off takes away its pages, the studio and the Go live buttons. **Its data** says what it keeps, and **Delete Live data** deletes it. ## Changing live The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Live that way, so the feed and each live stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe for the page of one item. ### Showing more on a live A change is data and a template, with no HTML drawn for one reader. What every reader sees of a live, such as a fact of your own, goes in the data of its row through `poly_community_item_row_data` and is bound in a template of the page. What one reader alone sees is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. What a reader may do, such as end a live, shows by a fact. `wp poly-community page-data check kit-live` says whether the page of a live is one drawing for a visitor, a member and an administrator, and what to change if it is not. ### With a coding agent Give an agent such as Claude Code, Codex or Gemini CLI the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the page of a live the most people who watched it at once: add the number to the row of the live through poly_community_item_row_data and bind it in the template of the live page, said in words by a getter. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-live and fix what it reports." ### In the admin The settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of their texts. ### In the Site Editor With a block theme, open **Appearance → Editor**: **Community: Live** holds the Live page and the page of a live, and **Community: Go live** the studio. [Hooks of the components](https://www.poly-community.com/docs/reference/component-hooks/) lists the hooks of the components, and [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Photo albums Address: https://www.poly-community.com/docs/components/photo-albums/ With Photo albums on, members gather their photos into albums: a name, a few words about it, who sees it, and as many photos as the site allows, uploaded many at once. An album lives on a profile, in a space, or on an event page as its gallery. In the feeds it is one post, and each of its photos has a page of its own with likes and replies. It's switched on under **Settings → Components → Photo albums**, where its settings are. ## Making an album **New album** on the Photos tab of a profile or a space opens the form: - **Name** and **About it**, a few words under the name. - **Where**: on the profile of the member, or in a space they may post in. - **Who sees it**: Everyone, Members, Followers, People I choose or Only me. In a space, the album is seen as the posts of the space are. - **Content rating**, while [Ratings and warnings](https://www.poly-community.com/docs/components/ratings/) is on: General, Mature or Explicit. - **Photos**: many picked at once, or dropped on the form. (Screenshot: The new album form: Name Autumn walk, About it, Who sees it with Everyone picked, Members, Followers, People I choose and Only me, Photos 0 of 200 with Add photos, and Make the album. A new album.) Photos go up three at a time, each with its progress. One that fails keeps its tile with the reason and **Try again**. Leaving the page while photos are still on their way asks first, and an album saved before they all arrive takes what has arrived, the rest joining as they come. Each photo has a **Caption**, shown under it in the picture viewer, and **Alt text**, read aloud in its place for people who can't see it. One of them is the **Cover**. The photos are put in order by dragging their handle, or from the keyboard: Enter picks a photo up, the arrow keys move it, and Enter puts it down. Photos keep no location or other details of the camera, and a photo taken on its side is turned upright. ## An album and its photos An album page has its name, who made it, how many photos it holds, who sees it and its text, with **Edit album** for whoever runs it. (Screenshot: The head of the album Spring walk on the north ridge: Maya Chen, 7 photos, Everyone, and its text about a morning with the club. The head of an album.) Under it, its photos as a grid, a page at a time, each opening in the picture viewer with its caption. Whoever runs the album adds more photos by dropping them on its page. Each photo also has a page of its own, found by its caption in search: the photo large, its album and the photos either side, then its likes and replies. (Screenshot: The photos of an album in a grid of four a row: a meadow of flowers, a yellow poppy, two birds at dusk and more. The photos of an album.) ## In the feeds A new album is one post in the feeds: its name, its text, how many photos it holds, and its first four photos, the last with how many more. Likes and replies belong to that post. Photos added later change it in place, with no new post. (Screenshot: Maya Chen posted the album Spring walk on the north ridge: its text, 7 photos, four photos in a square with +3 on the last, then Like, Reply and Share. An album in the feed.) ## The Photos tab Each profile has a **Photos** tab with its albums as cards, each with its cover and how many photos it holds, and all the photos of the member too. In a space, its admins turn the tab on with **Albums here**, on the Posts tab of the settings of the space, and whoever may post there makes albums. (Screenshot: Three album cards side by side on a Photos tab: By the sea, Garden club, June and Spring walk on the north ridge, each with its cover, the number of photos and who sees it. The Photos tab of a member.) With [Events](https://www.poly-community.com/docs/components/events/) on, each event page has a gallery its guests add to, under the same rules as posting there. The **Latest photos** widget shows the newest photos each reader may see, each leading to its album. ## Who sees the photos A photo opens only for the people who may see its album, at every size and wherever its address goes. When an album narrows to fewer people, its photos close to the others at once. An album shared with People I choose opens for those members alone, and each is told it was shared with them. Photos kept on a storage service open by a link sealed for a few minutes. [Trust](https://www.poly-community.com/docs/components/trust/) levels can hold back uploads, and a member who may not upload yet is told why, with no picker offered. ## The settings (Screenshot: Where albums live: On profiles, In spaces and On events, each switched on. Settings → Components → Photo albums.) - **On profiles**: a Photos tab on every profile, each album with its own audience. - **In spaces**: the admins of a space can turn its Photos tab on. - **On events**: a gallery on each event page, once Events is on. - **Photos an album holds**: 200 at first, up to 1,000, an event gallery too. What doesn't fit is said on the form. - **Who makes albums**: by role, and in a space its members who may post there. ## Changing Photo albums The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Photo albums that way, so albums and their photos stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe for the page of one item. - **Showing more on an album or a photo**: data and a template, never HTML drawn for one reader. What every reader sees, such as a place of your own where it was taken, goes in the data of its row through `poly_community_item_row_data` and is bound in a template of the page. What one reader alone sees is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. `wp poly-community page-data check kit-album` and `wp poly-community page-data check kit-photo` say whether an album and a photo are one drawing for a visitor, a member and an administrator, and what to change if they are not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the page of an album the date of its newest photo: add it to the row of the album through poly_community_item_row_data and bind it in the template of the page. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-album and fix what it reports." - **In the admin**: the settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: **Community: Album**, **Community: Photo**, **Community: New album** and **Community: Edit album** are its pages, with the blocks **Album header**, **Album photos**, **Album replies** and **Album photo**. The Photos tab of a profile or a space is the block **Photos tab**, the template part **Album card** is each album on it, and **Latest photos** is a block for any page or a widget area. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. ## Switched off The album pages answer as not found, albums leave the feeds and search, and their photos close. Everything is kept for when it is on again. Deleting the data of Photo albums takes every album with its photos, and every photo of the event galleries, their files too, from this server and from any storage. --- # Votes Address: https://www.poly-community.com/docs/components/votes/ Votes lets members vote on what is posted in a space and on the replies, so the best rises to the top. On top of votes, a space can collect ideas, each given a status by its team and shown on a roadmap, and members can start petitions that others sign towards a goal. It's switched on under **Settings → Components → Votes**, where its settings are. Its statuses for ideas are under **Statuses**, beside its settings. ## Votes in a space Each space turns votes on for itself, on the **Posts** tab of its settings: **Members vote on posts and replies** (on a board, topics and replies), **Votes can go down**, and how its posts are listed, **Newest first** or **Top first**, the most voted first, replies too. Readers can switch between the two. Each member votes once on each post. (Screenshot: The Votes card of a space: Members vote on posts and replies, Votes can go down and Its posts are ideas, all on, and Lists them, Top first. The Votes card, on the Posts tab of the settings of a space.) The owner sets what every space starts with under **Votes**: **Votes in every space**, **Votes can go down**, and how a space with votes lists its posts. In the questions and answers of the Q&A topics votes are always there, with up and, where it is on, down. (Screenshot: Votes in the settings: Votes in every space, Votes can go down, and A space with votes lists its posts. Settings → Components → Votes.) (Screenshot: An idea by Zoë Fischer marked In progress, with its votes: the arrow up, 3, and the arrow down. An idea with its votes and its status.) ## Ideas and the roadmap With **Its posts are ideas** on in a space (its topics, on a board), its admins and moderators give each post a status, such as Planned, In progress or Done. Voters and followers are told when it moves, and an idea that is done takes no new votes. The owner sets the statuses under **Statuses**: their names, colours and order. **A Roadmap page**, when it is on, shows the ideas of every such space in a column for each status, the most voted first in each. (Screenshot: The roadmap: a column for each status, Under review, Planned, In progress and Done, each with its ideas and their votes. The roadmap.) ## Petitions With **Petitions** on, the members picked under **Who starts petitions** start one from the Petitions page: its title, what it asks and why, and its goal, which starts at **Signatures a new petition aims for** (100 at first). Members sign it, with their name shown or not, and take their signature back while it is open. Its page shows how far it has come, who signed and how many others did. (Screenshot: A petition: its title, the signatures so far against its goal, Sign, and the members who signed. A petition and its signatures.) Its author and its signers are told when it reaches its goal. Its author closes it when it is done, and it takes no more signatures. ## Who votes and signs Members banned from a space, suspended, or who can't see a post never vote on it. Beyond that, the owner may ask for more under **Who votes and signs**: - **Members need**: a verified identity or a confirmed age, as [Verification](https://www.poly-community.com/docs/verification/) gives them. - **Only these member types**, where member types are on. - **For**: voting, signing petitions or both. With Trust levels on, votes down can wait for a level, and with Reputation, voting up and down for an amount of reputation. ## Notifications Members are told when an idea they voted on or follow changes status, when a petition they started or signed reaches its goal, and when a petition they started closes. By email they come as one switch: an idea changing status or a petition reaching its goal. ## Changing Votes The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Votes that way, so the roadmap and the petitions stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe for the page of one item. - **Showing more on a petition or an idea**: data and a template, never HTML drawn for one reader. What every reader sees, such as a fact of your own, goes in the data of its row through `poly_community_item_row_data` and is bound in a template of the page. What one reader alone sees, such as whether they signed, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. `wp poly-community page-data check kit-petition` says whether the page of a petition is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the page of a petition how many signed it this week: add the number to the row of the petition through poly_community_item_row_data and bind it in the template of the page. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-petition and fix what it reports." - **In the admin**: the settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: **Community: Roadmap**, **Community: Petitions**, **Community: Petition** and **Community: Start a petition** are its pages, and the template parts **Roadmap card** and **Petition row** are each idea of the roadmap and each petition of the list. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. ## Switched off Votes leave the posts, the roadmap and the petitions leave the site, and nothing is deleted: the votes, statuses and signatures are there when it is on again. --- # Applications to join Address: https://www.poly-community.com/docs/components/applications/ Applications to join lets people answer your questions before they are let in. A space that approves its members asks them to answer the questions of its admins, and the community itself can ask the same of every new member. Members can also apply to help run a space or the community, and you can make request forms for anything else a member asks of your team, such as a maintenance request, a grievance or a ticket. Around an application it adds vouches from members, an agreement the applicant accepts first, a wait after a decline, and one queue where your team reads, notes, assigns, accepts and declines. Only the person who sent an application and those who answer it can read it. Switch it on under **Settings → Components → Applications to join**. ## Settings (Screenshot: Settings, Components, Applications to join: the sections Spaces, The community and Requests with their switches and numbers. Settings → Components → Applications to join.) The settings come in three sections. **Spaces** - **Days before asking again**: after a request to join a space is declined. The default is 30. 0 lets the member ask again at once. The most is 365. - **Members apply to help run a space**: on at first. The admins of each space choose whether theirs takes such applications, on its Privacy tab, and its admins answer. **The community** - **New members apply to join**: off at first. While Settings → Joining approves new members, each one answers your questions and waits in Requests. The questions are on the **Forms and fields** tab, under **Application to join**. If Settings → Joining lets new members in at once, this setting shows a warning, because nobody is waiting to apply. Choose approval there for applications to be asked. - **Vouches an application needs**: how many members must vouch for the applicant before they can be let in. The default is 0 and the most is 10. An administrator may let them in without all the vouches. - **Days before applying again**: after an application is declined. The default is 30. The account of the member waits meanwhile. - **Who answers applications and requests**: administrators and moderators at first. They answer on the **Requests to review** page, and administrators also in Settings → Moderation. - **Members apply to be the community moderators or staff**: off at first. Members apply from **Edit profile → Requests**, and only an administrator gives a site role. **Requests** - **Members send requests**: on at first. These are the forms you make under **Request forms**, below. ## Request forms (Screenshot: The Request forms screen: a form named Maintenance with a line about it and its statuses, each with a colour and a Closes it switch, and Add a form. Request forms, a screen of the component.) The component adds two screens of its own to its settings: **Community agreement** and **Request forms**. Request forms are for what a member asks of your team other than joining: the maintenance requests of a building, the grievances of a union, the tickets of a franchise. Each form is private to the member and those who answer it. You can make up to 12. Press **Add a form** and give it a **Name** (up to 80 characters) and a line about it. Its questions are not on this screen. You edit them on the **Forms and fields** tab of Applications to join. Under **Statuses, after New** you name the statuses a request moves through, up to 8 on a form. Each status has a **Name**, a **Colour** and a **Closes it** switch. A request that reaches a status that closes it is done, and the member who sent it is told. Each form needs at least one status that closes a request, such as Done or Resolved. The colours are Accent, Blue, Green, Amber, Red and Grey. **Delete** takes a form off. A form deleted when you save keeps the requests it had, and nobody can send it any more. Members send a request from the **Requests** page, where the forms show as chips, and follow it in **Edit profile → Requests**. ## The agreement of the community (Screenshot: Your application to join the community: its questions answered by a waiting member, with the agreement to accept above them and Send my application. A new member applying to join the community.) On the **Community agreement** screen you write what a new member reads and accepts before sending their application: a code of conduct, a waiver. Give it a **Title** and **The text**, or leave it empty to ask none. The site keeps a record of who accepted which version and when, and each member can read theirs in **Edit profile → Requests**. The agreement is asked while new members apply, so **New members apply to join** must be on, with approval in Settings → Joining. Changing the text makes a new version, which those applying from then on accept. You can also tick **Ask the members already in to accept this version too**. Until they do, they do not post, reply or react, and they see a notice in Edit profile → Requests. ## Applying to join the community With **New members apply to join** on, a new member waits for approval and finds an **Application** tab in their Edit profile. It shows **Your application to join** with your questions. The first two questions are **Tell us a little about yourself** and **How did you hear of us?** until you change them. They press **Send my application**, once, and can edit it while it waits. While it waits, they are told that the team reads it and that they will be told when they are in. After a decline they see that it was not accepted, the reason you gave if you wrote one, and the day they can apply again. Accepting an application lets the member in, as **Approve** in Settings → Moderation does. Approving them there accepts their open application too. ## Applying to a space (Screenshot: The dialog Ask to join Night Owls: the agreement to read and accept, the questions of the space, the number of vouches asked and Send request. A member asking to join a space that approves its members.) A space that approves its members shows **Request to join**. It opens a dialog titled **Ask to join** and the name of the space. The dialog says that its team reads the request before letting the member in and that only they see what is sent. It shows, in this order: - The agreement of the space, if it has one, with the box **I have read it and I accept it** and the button **I accept**. A member who is invited or joins directly sees **I accept and join**. - The questions of the space. - When the space asks for vouches, how many, and that the member shares their request link once it is sent. - **Send request**. A member who was declined sees **Ask again on** and a date, and cannot send another request before it. The admins of each space set this on the **Privacy** tab of the space, in a section named **Applications to join**: - **Vouches a request needs**: members of the space who vouch before someone can be let in. 0 asks none, and a site administrator may let them in without. - **Members apply to help run it**: shown while the component setting is on. Members apply from the **⋯** menu of the space, and accepting makes them a moderator. - **An agreement to accept first**: a title and a text. A change makes a new version, and a tick asks the members already in to accept it too. The questions themselves are in the card **Who can join** on the same tab. ## Vouches When an application needs vouches, the applicant sees a link to share with members who know them. A member who opens it sees **Vouch for** the name of the applicant and can press it. Only members in good standing can vouch, and for a space, only its members. Nobody can vouch for themselves. A member can take a vouch back with **Take my vouch back** until the request is answered. After that, vouches stand as they were. The team sees the vouches as a line such as 2 of 3 on the application. Members find the vouches they gave in **Edit profile → Requests**, under **Vouches you gave**. A withdrawn application loses its vouches. ## Answering applications (Screenshot: The Requests tab of a space: To join and To help run it, with requests waiting, their answers, vouches and Accept and Decline buttons. Requests, the tab of a space for its team.) The team of a space finds a **Requests** tab on the space, with the number waiting. Its chips are **To join** and, for its admins, **To help run it**. Requests made before the space took applications are listed under **Asked before applications**. (Screenshot: Requests to review for the site: chips for Application to join, Helping run the community and the form Maintenance with its number open, and Application to join with its New and In review counts, nothing new in it yet. Requests to review, and Settings → Moderation → Requests.) For the community, the people you chose under **Who answers applications and requests** use the **Requests to review** page. It has a chip for each form with the number open: **Application to join**, the role applications and each request form of yours. Administrators find the same queue in **Settings → Moderation → Requests**. On each request the team reads the answers, the vouches and the agreement, adds notes, assigns it, and moves it between the statuses. **Accept** and **Decline** end it, and a decline can carry a message to the person. The statuses of an application are New, In review, Accepted and Declined. Accepting does what the form means: it lets a member into the space, lets the new member into the community, makes a member a moderator of the space, or gives a site role. Only an administrator gives a site role, and never one lower than the member holds. ## Notifications and emails - A member who sent a request is told when it is closed, in the bell and by email as they chose in their email settings (**A request I sent is answered**). For an application to the community, they are told when it is declined. - Those who answer are told when someone sends a request they review (**Someone sends a request I review**). - The applicant is told when a member vouches for them: **vouched for you**, with the name of the space or the community. Several vouches in a day show as one line. ## Switching it off Applications waiting stay stored and come back when it is on again. Meanwhile spaces take requests as they did before, a member waiting for approval waits in Settings → Moderation, and vouches and agreements are not asked. Deleting its data removes every vouch, and every application to join the community, to help run it or a space, and every request sent with your request forms, with their answers, notes and files. Space join requests and the agreements members accepted stay. ## Changing Applications to join The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Applications to join that way, so the queue and the Requests pages stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more on a request or in the queue**: data and a template, never HTML drawn for one reader. What one reader alone sees, such as their own request or the queue of their team, is a part registered on `poly_community_register_page_data`, its answer returning data, bound in a template with `state.partHere`. What a reader may do, such as answer a request, shows by a fact. `wp poly-community page-data check kit-review` says whether the queue is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show beside each request in Requests to review how long it has waited, worked out in the browser from the time the request carries. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-review and fix what it reports." - **In the admin**: the settings above, the questions of each form on the **Forms and fields** tab, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Matching Address: https://www.poly-community.com/docs/components/matching/ Matching gives members **Discover**, a page where they meet each other. They say **Like** or **Pass** to each member it shows, and a like both ways is a match. Around it, members see who likes them, their matches and, if they choose, who viewed their profile. Matching questions show how well two members match, mentors take mentees in cycles, matchmakers suggest two members meet, and the people going to an event meet in a Discover of its own. The words fit the site: the **Dating** set says Like, Pass, It is a match and Matches, and the **Connecting** set says Connect, Skip, You are connected and Connections. Either can be written over word by word, under the **Words** tab of its settings. It's switched on under **Settings → Components → Matching**, where its settings are, in three tabs: Settings, Mentoring and matchmakers, and Words. (Screenshot: The Discover card of Matching: Who Discover is for, This community is for adults, Age from the field Born, and Likes a member gives in a day, 100. Settings → Components → Matching, Discover.) ## Who Discover is for Discover stays closed until the owner says who it is for, and members see that it is not open yet: - **This community is for adults**: a member the site knows to be under 18, by the age field or an age check, is never shown in Discover and can't use it. - **Some members may be under 18**: only members known to be adults use Discover, and meet each other there. Anyone else meets no one in Discover, and is told it is for adults here for now. Their profile and the rest of the community are theirs as for anyone. **Age from** names the date field members give their birthday in. Cards show an age only to whoever may see that answer, and members filter by it the same way. An [identity check](https://www.poly-community.com/docs/verification/identity/) can vouch for an age too. ## Discover Discover is in the menu after Members. It shows the members a member may like to meet, in a grid or **one at a time**, with filters for age and, where members give their place, distance. **Recently active** puts who was here last first, and **Best match**, with matching questions, who answered most like them. (Screenshot: Discover in a grid: cards of members with their pictures, names and ages, Pass and Like on each, the tabs Discover, Likes you, Matches and Who viewed you, and Your Discover beside them. Discover, in a grid.) One at a time, a member swipes right or presses Like, and swipes left or presses Pass. (Screenshot: One card at a time: a member with their picture, name and age, and Pass and Like under it. One at a time.) What a member likes and passes stays theirs: nobody else is shown it. A member passed on comes back after 90 days, and a member gives 100 likes a day at most, or the number set under **Likes a member gives in a day**. Members turn Discover off for themselves on their Privacy tab: then nobody new finds them there and they don't browse it, while their matches stay. ## Matches When two members like each other, it is a match, and the one who liked second is told at once, with **Send a message**, **See their profile** and **Keep going**. The other is told by a notification. (Screenshot: It is a match: the picture and name of Leo Martins, Send a message, See their profile and Keep going. A match.) **Matches** lists them, each with Message and **Unmatch**. With **Only matches message each other** on and Better Messages active, members who have not matched can't start or carry on a conversation, apart from administrators, moderators and staff. ## Likes you and Who viewed you **Likes you** lists the members who liked a member, for the members picked under **Who sees who likes them**. Everyone else sees only how many. **Who viewed you**, while it is on, lists the members who looked at a profile in the last 30 days. It is both ways: a member who shows their visits sees those of others who show theirs, and turning it off takes their own visits away. (Screenshot: The Discover card of a Privacy tab: Who you chose and who chose you stays between you and them, Show me in Discover on, Show my visits off, and Matchmakers may suggest me on. Discover, on the Privacy tab of a member.) ## Matching questions The owner picks profile fields with choices as matching questions (fields of the kinds Dropdown, Choice or Checkboxes, asked of every member, made under Settings → Members → Profile fields). On **Your answers**, a member answers each, says which answers they would accept from others, and how much each matters to them. (Screenshot: A matching question, Languages I speak: Your answer English, who sees it, Answers you would like them to have English, and How much it matters to you, from Does not matter to Very much. A question on Your answers.) Cards and profiles then show how well two members match, as a percent. It counts only answers the viewer may see, and shows once the two share enough questions (**Questions counted before a percent shows**, five at first, three at least), so one question can't give an answer away. **What a percent counts** is how well the answers of a member meet what the viewer accepts, so two members may see different numbers for each other, or what both are looking for. What a member accepts and how much each question matters are never shown to anyone. (Screenshot: The head of the profile of Leo Martins with a percent for the viewer under the headline, and the line saying it comes from how well the answers match what the viewer looks for. How well two members match, on a profile.) ## Mentoring With **Mentoring** on, under the tab **Mentoring and matchmakers**, members the owner picks mentor and others ask for a mentor. A mentor says on the **Mentoring** page whether they take mentees, and takes as many in a cycle as the setting says (three at first). A mentee has one mentor at a time, asks a mentor with room, and the mentor accepts or declines. A cycle has a name and, if wanted, the day it starts and the day its pairings end. Mentor and mentee know of their pairing alone, unless **Who knows who mentors whom** says everyone who sees their profiles: then their profiles get a Mentoring tab. ## Matchmakers With **Matchmakers** on, the members picked under **Who may suggest matches** suggest two members who might get on, on the **Suggestions** page. Each is asked privately, and it is a match only if both say yes. The matchmaker sees whether it became one, or that it lapsed after 14 days, never who said no. Members turn suggestions off for themselves with **Matchmakers may suggest me** on their Privacy tab. (Screenshot: Suggest a match: One member and And another, each found by name, Suggest, and the suggestions made before with Became a match or Waiting. A matchmaker suggesting two members.) ## A Discover for each event With **Discover for each event** on and the Events component running, the people going to an event who choose to take part meet each other in a Discover of its own, from the event page. It ends with the event. ## Notifications Members are told of a match, of a mentoring request and its answer, of a suggestion made for them and of one that became a match. Each is under its topic in their notification settings. ## Changing Matching The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Matching that way, so Discover stays fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more on a card of Discover**: data and a template, never HTML drawn for one reader. What every reader sees of a member, such as a fact of your own, goes in the data of the row of the member and is bound in the template of the card. What depends on the reader, such as how well the two match, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. `wp poly-community page-data check kit-discover` says whether Discover is one drawing for each kind of reader, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on each card of Discover how many matching questions the reader and the member both answered: register a part on poly_community_register_page_data that returns the number for each member, and bind it in the template of the card with state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-discover and fix what it reports." - **In the admin**: the settings above, its questions on their tab, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: **Community: Discover**, **Community: Likes you**, **Community: Matches**, **Community: Who viewed you**, **Community: Your answers**, **Community: Mentoring**, **Community: Suggestions** and **Community: Meet people going** are its pages. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. ## Switched off Discover, Likes you, Matches, Who viewed you, Mentoring and Suggestions leave the site, and messages are no longer kept to matches. The likes, passes, visits, answers, matches, pairings and suggestions are kept for when it is on again. **Delete Matching data** on its settings deletes them for good, while the answers on profiles stay. --- # Member types Address: https://www.poly-community.com/docs/components/member-types/ Member types divide your members into kinds: employers and candidates, mentors and mentees, sellers and buyers. A type has a badge beside the name of its members, profile fields that only its members fill in, a card at sign-up and a tab in the members directory. A member has one type at most, and members without one have no type. Nothing changes for your members until you make a type. Everyone keeps their profile as it is. Other components lean on types. A plan in [Paid membership](https://www.poly-community.com/docs/components/payments/) can give a member type while it is held, [Organizations](https://www.poly-community.com/docs/components/organizations/) adds the types Organization and Household, and every **Who may** setting can name member types. Switch it on under **Settings → Components → Member types**. ## Settings (Screenshot: Settings, Components, Member types: Members change their type, A type is picked at sign-up, Badges beside names with Profiles, Member cards and lists and Posts and replies, and The birthday. Settings → Components → Member types.) **Members and their types** - **Members change their type**: on at first. From Edit profile, members move to a type open to sign-up. A type that needs approval waits for it. - **A type is picked at sign-up**: on at first. Off, the sign-up offers **None of these** too. - **Badges beside names**: where a type badge, a staff role and the Official mark show. Choose among **Profiles**, **Member cards and lists** and **Posts and replies**. Profiles and cards at first. **Birthdays** - **The birthday**: a date field of your profile fields. Only members who choose to show theirs appear, and their age only if they say so. The choice **None: no Birthdays widget** is the default. The setting **Moderator and Staff beside their names** is on the **Members → Team** screen of the admin, beside the roles it marks. It is on at first. ## The types (Screenshot: The Member types screen: a list of types such as Employer, Candidate and Mentor with their icons, how one becomes each and a Directory tab badge, with Edit and Delete, and Waiting for approval below. The Member types screen in wp-admin.) The **Member types** screen lists your types in order. It tells how many members have no type. **Add a type** makes a new one, **Edit** opens it and **Delete** removes it. Each type shows its icon, how one becomes it and, when it has one, a **Directory tab** badge. A link, **Open them**, goes to the component settings above. With no type yet, the screen says **No member types yet** and offers **Add a type**. ## Editing a type (Screenshot: Edit Employer: Name, Name for several, A line about it, Icon, Colour, How one becomes it, Where it shows, Its fields and Members of this type cannot. Editing a member type.) A type is edited in a dialog. Press **Done** to close it, and the screen saves with its own button. - **Name** and **Name for several**: the plural is used on the directory tab and in the **Who may** settings. - **A line about it**: shown under its name on the sign-up cards. - **Icon** and **Colour**: the icon is the one of its badge. You can give your own SVG. - **How one becomes it**: **Chosen at sign-up** (members pick it when they sign up, or later in Edit profile), **After approval** (members ask for it, and it is theirs once you approve), **By invitation** (whoever signs up through its link, or opens it logged in) or **By an administrator** (given on the profile of the member in WordPress, or by approving a request). - **Invitation link**: made when you save, with **New link** to replace it. The old link stops working. - **Where it shows**: **Its badge beside member names** and **A tab in the member directory**. - **Its fields**: the profile fields asked of these members only. The fields themselves are made in **Settings → Members → Profile fields**. A field marked for no type is asked of everyone. Answers to fields of another type are kept and never shown or counted. - **Profile completeness counts**: with profile completeness on, the profile picture, cover picture and headline that count for this type, or **As the rest of the site**. - **Members of this type cannot**: actions the type is kept from, such as **Post**, **Reply**, **Like**, **Start conversations**, **Follow**, **Add friends**, **Join spaces**, **Create spaces**, **Upload pictures and files**, **Start forum topics**, **Ask questions** and **Answer questions**. - **Who sees its fields**: pick types and only they see its fields on a profile, besides the member and administrators. Pick none and the visibility of each answer decides. Deleting a type asks where its members go: **Its members become** another type or **No type**. With another type, its fields become theirs too. With none, their answers to its fields are kept, hidden. Fields only this type had are turned off, and **Who may** settings that name it let no one through as it until you change them. Press **Delete when I save**. ## Waiting for approval Members who asked for a type that **needs approval** appear under **Waiting for approval**, as **Asked to be** the type. A member whose account waits too is marked **Their account waits too**. **Approve** gives the type, and **Decline** refuses it. Either way they are told. Until you answer, they keep their profile as it is. Approving the account of a waiting member in Settings → Moderation gives them the type they asked for as well. ## Staff roles and the Official mark Under **Staff roles** you give **Moderator** or **Staff** to a member, with a badge beside their name, and mark an account **Official** for the organiser accounts. Search a member with **Find a member**, then press **Make Moderator**, **Make Staff** or **Mark Official**. Administrators keep the moderation queue, the community pins and the settings. Moderators and Staff count wherever a **Who may** setting names them, such as who creates events. With the live kit on, they also moderate the chat of every live stream. On the page of a member in WordPress, the section **Community** has **Member type**, **Staff role** and **Official**. ## Choosing a type at sign-up (Screenshot: The sign-up form with the cards of the types under I am here as: Employer, Candidate and Mentor with a line about each, Mentor saying an administrator approves it. Choosing a type at sign-up.) The sign-up form has a step with a card for each type open to sign-up, under **I am here as**. A card shows the name of the type and its line, and **An administrator approves it** where it needs approval. With **A type is picked at sign-up** off there is also **None of these**. A type given by invitation shows only to someone who opens its link. The profile fields kept to the type chosen are asked in the sign-up, and those of other types are not. ## Changing it later (Screenshot: Edit profile, Member type: You are here as Mentor, the cards of Mentor, Employer, Candidate and No type, and Save. Edit profile → Member type.) With **Members change their type** on, **Edit profile** has a **Member type** card above the profile form. It says **You are here as** the current type, offers the types open to sign-up and, with a note about answers kept, a **Save** button. A member who asked for a type that needs approval sees that an administrator will look at it, with **Withdraw**. A member invited to a type sees **You are invited to be**. A member whose type was given by the community team is told to ask them to change it. ## In the directory (Screenshot: The tabs of the members directory: Discover and Following, then Employers, Candidates and Mentors, each with its number of members. The members directory by type.) Each type with a directory tab gets a tab in the members directory with its number of members, kept live. The **Member types** filter under the search lists the types as chips. ## Birthdays (Screenshot: Edit profile, Your birthday with Show my birthday and With my age, and the Birthdays widget listing Today and Tomorrow. Birthdays, and the choice of each member.) When you choose **The birthday** field in the settings, members find **Your birthday** in Edit profile, in the privacy settings. **Show my birthday** puts them in the **Birthdays** widget on the day, and **With my age** adds the year. They fill in the date field on the Profile tab first. Without a choice, nothing is shown. The **Birthdays** block lists today first, then the days ahead, each member with **Today**, **Tomorrow** or the weekday and, if they allow, **turns** and the age. In the editor it has **Days ahead** (1 to 31), **Members shown** (1 to 24), **Title** and **Staff roles and the Official mark too**. ## Notifications and emails A member is told in the bell when a type is given or refused: **You are now** the type, or **Your request to be** the type **was not approved**. It is the notification **Your member type**. ## Switching it off Switching it off shows no warning of its own. Deleting its data removes every type. Their members then have no type, and their fields are asked of everyone. It also empties the birthdays. ## Changing Member types The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. A type shows on pages other components draw (a badge beside a name, a tab of Members, fields of a profile), so keep a change to it that way. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing a type somewhere new**: data and a template, never HTML drawn for one reader. The type of a member is data of the member, bound where a template shows them. What a reader may do because of their own type shows by a fact registered on `poly_community_register_page_data`. `wp poly-community page-data list` says which pages are one drawing, and `wp poly-community page-data check` with a page name says what to change. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show the member type of each member on the cards of Members, from the data of the member, bound in the card template. Draw no HTML for one reader in PHP. Run wp poly-community page-data list and fix what it reports for Members." - **In the admin**: the settings and types above, the fields of each type in **Settings → Members → Profile fields**, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Organizations Address: https://www.poly-community.com/docs/components/organizations/ Organizations let a company, a club, a team or a household be a member of your community. An organization has a page like the profile of a person, with a logo, a cover, a line under its name and its own followers. It has no login. Its people are members with a role, and its owner and admins write as it from its page. It builds on [Member types](https://www.poly-community.com/docs/components/member-types/), which it needs, and it adds two member types of its own: **Organization** and **Household**. It also works with [Jobs](https://www.poly-community.com/docs/components/jobs/), where a member can post a job for an organization they run. Switch it on under **Settings → Components → Organizations**. ## Settings (Screenshot: Settings, Components, Organizations: the sections Making them, On member profiles and Households and couples, with who makes organizations, how many a member may own, the word before an organization name and the households switch. Settings → Components → Organizations.) **Making them** - **Who makes organizations**: members at first. Administrators always may. - **Organizations a member may own**: 5 at first, from 1 to 100. Administrators own as many as they like. Whoever makes an organization owns it, invites its people, and with its admins posts as it from its page. **On member profiles** - **Before an organization name**: the words that come before the organization on the profile of a member who chooses to show where they belong. It is **Works at** at first. A household reads **Part of**. **Households and couples** - **Members make households and couples**: off at first. A household is one profile with two or more logins. Everyone in it posts as it, each still logs in as themselves, and messages through Better Messages reach each person, not the household. A note on the screen reminds you that an organization fills in the profile fields kept to the **Organization** type, such as its sector, its address or its website, set on the **Member types** tab of Member types. It never shows the fields of a person. To give organizations a field, name their type on that field. See [Member types](https://www.poly-community.com/docs/components/member-types/). ## The directory (Screenshot: The members directory on its Organizations tab: cards of companies with their logos, followers and a New organization button. Organizations in the members directory.) Organizations stay out of the list of people. They have a tab of their own in the members directory for each type, **Organizations** and, with households on, **Households**. A member who may make one sees a **New organization** button above the list. In wp-admin, the **Members** screen lists organizations and households beside people. Each one shows **Its people** with their roles: Owner, Admin and Member. ## Making an organization (Screenshot: New organization on a site without households: Name, Line under its name, Who sees its page with Everyone or Members, and Create. New organization.) A member who may make one opens **New organization**. With households on, they first choose **What is it?**: **An organization** (a company, a club, a team) or **A household or a couple**. Then they give it a **Name** and a **Line under its name**, and press **Create**. They own it and add its picture, its cover and its details from its page afterwards. A member who may not make one sees **Organizations are not yours to make here**. When a member already owns as many as you allow, the form refuses. ## The page of an organization (Screenshot: The page of Northwind Studio as a member sees it: cover, logo, name and line, Follow, its followers, people and posts, and the tabs Posts, People, About and Followers. The profile of an organization.) An organization has a profile with its followers, its people and its posts in the header, and a **People** tab. It has no friends and follows no one, and it has no photo albums. Its owner and admins see **Edit**, which opens **Edit organization**: **Change cover**, its logo, **Name**, **Line under its name**, **Who sees its page** (**Everyone** or **Members**), and its fields. Press **Save**. The owner also finds **Delete it** there. The page, its people and every post written as it go for good. To give it to someone else, the owner hands it on from the People tab instead. To delete it, the owner types its name and presses **Delete**. A person invited to it sees **Accept invitation** and **Decline** on its page. On the profile of a member who shows it, the organization appears under their headline, after **Works at**. ## Its people (Screenshot: The People tab of an organization: Invite people with a search for members and the choice As a member or As an admin, and the list of people with their roles, Show on my profile and Leave. The people of an organization, and its invitations.) The **People** tab lists those in the organization with their roles. Those who run it also see **Invite people** (**Add someone to the household** for a household). They search members by name, choose **As a member** or **As an admin** and press **Invite**. Only the owner invites admins. Nobody is added without their yes: the person joins once they say yes. An invitation shows **Cancel invitation** while it waits. The invited member sees **invited you to join** and the name of the organization, as a notification and by email. They press **Accept** or **Decline**, and a tick, **Show it on my profile**, chooses whether it shows under their headline. Each member can change **Show on my profile** later on the People tab, and can **Leave**. The owner manages each person from the menu of the row: **Make an admin** or **Make a member**, **Make owner**, and **Remove**. Making someone owner keeps the old owner as an admin. An organization always has an owner, so the owner hands it on before leaving. When the account of an owner is deleted, its longest serving admin takes it on, and in a household anyone in it does. ## Writing as the organization (Screenshot: The composer on the page of an organization with the line Posting as Northwind Studio, its title, Write as Northwind Studio and Post. Posting as an organization.) The owner and the admins of an organization write as it from its page. The composer there says **Posting as** and the name of the organization. Everything else they do stays their own. In a household, everyone in it posts as it. Readers see the organization as the author. Those who run the organization, the moderators of the community and its administrators also see **Written by** and the name of the member, in the menu of the post and under a reply. For a member who has left it says **a member who has left**. The moderation queue shows such a post as **Posted as** the organization **by** the member. ## Notifications and emails - **Someone invites me to an organization**: the notification **invited you to join** the organization, or **invited you to run it with them** for an admin. It can also come by email, as members choose in their email settings. - **Someone joins an organization I run**: **joined** the organization. Several in a day show as one line. - **My role in an organization changes**: **made you an admin of** it, **made you a member of** it, or **handed it on to you: you are its owner now**. ## Switching it off Organizations leave the directory and every list, and posts written as them are hidden until it is on again. Nobody can post as one meanwhile. Deleting its data removes every organization and household, with its people and every post written as it. ## Changing Organizations The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. An organization is a member page, so its page and its tabs are drawn as every member page is. Keep a change to Organizations that way. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more on an organization**: data and a template, never HTML drawn for one reader. What every reader sees goes in the data of the page and is bound in a template. What one reader alone sees, such as their own invitation or role, is a part registered on `poly_community_register_page_data` with `of` set to `profile`, its answer returning data, bound with `state.partHere`. What a reader may do, such as post as the organization, shows by a fact. `wp poly-community page-data list` says which pages are one drawing, and `wp poly-community page-data check` with a page name says what to change. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show the year an organization was founded under its name, from a profile field of the Organization type, as data of the page bound in its template. Draw no HTML for one reader in PHP. Run wp poly-community page-data list and fix what it reports for the member pages." - **In the admin**: the settings above, the fields of organizations on the **Member types** tab of Member types, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Reputation Address: https://www.poly-community.com/docs/components/reputation/ Reputation is points members earn in questions and answers: when their questions and answers are voted up, and their answers accepted. It shows beside their names, on a Reputation tab of their profile and in a leaderboard beside the questions, and it can open voting, comments and votes to close questions at the levels the owner picks. It works with the questions and answers of the Q&A topics. It's switched on under **Settings → Components → Reputation**, where its settings are. Where totals show beside names is set with the other marks, under **Settings → Appearance → Marks and badges**. ## What earns reputation Each is worth what the owner sets, and 0 gives nothing for it. These are the defaults: - **An answer voted up**: 10 to its author, for each vote up. - **A question voted up**: 5 to the one who asked, for each vote up. - **An answer accepted**: 15 to its author, never for answering their own question. - **Accepting an answer**: 2 to the one who asked, once a question, never for accepting their own answer. - **A vote down received**: 2 taken off the reputation of its author, on a question or an answer. - **Voting an answer down**: 1 taken off the reputation of the voter, so a vote down costs a little. Each is undone with what earned it: a vote taken back or changed, an answer no longer accepted, a post deleted or held for review, an account deleted. A change of the values counts from then on. (Screenshot: What earns reputation: An answer voted up 10, A question voted up 5, An answer accepted 15, Accepting an answer 2, A vote down received 2, Voting an answer down 1. Settings → Components → Reputation, What earns reputation.) ## What reputation opens In questions and answers, four things can wait for a level of reputation: **Voting up**, **Commenting on the questions and answers of others**, **Voting down** and **Voting to close questions**. Each is not asked at first, and the owner picks a level for it, from 1 to 3,000. Beside each level the settings say how many of the members listed today have it, and warn when almost nobody could. Administrators, moderators and the team of a space are never held back. Where Trust levels runs too, a member needs both the level and the reputation. (Screenshot: What reputation opens: Voting up at 15 reputation, Commenting on the questions and answers of others at 50, Voting down at 100, Voting to close questions at 100, and Votes that close a question, 3. What reputation opens, with a level for each.) A member below the level sees what it needs where they would act: "You need 15 reputation to vote up. Your profile Reputation tab shows how to earn it." ## Voting to close a question With **Voting to close questions** open at a level, members who reach it vote to close a question, saying why: a duplicate of another question (picked from the questions), off the topic, and so on. Once **Votes that close a question** members have voted (3 at first, from 2 to 10), it closes as a moderator close does, for the reason most of them gave. Only the moderators of its topic see who voted, and they still close a question at once themselves. (Screenshot: Vote to close the question: Why should it be closed, with the reasons to pick from. A vote to close, with its reasons.) ## Where it shows Beside member names, on questions, answers and their comments, and on the questions pages, or everywhere a name shows, or nowhere but the Reputation tab of each member and the leaderboard. It shows only where the viewer may see the profile of the member, and never for a suspended member. (Screenshot: An answer by Zoë Fischer, the reputation of its author beside the name, and its votes up. An answer, its author with their reputation.) ## The Reputation tab Each profile has a **Reputation** tab after About: the total, how to earn it, and the history of what earned it, a page at a time. (Screenshot: Your reputation on the Reputation tab of Zoë Fischer: 130, earned by 13 votes up received. The top of the Reputation tab.) (Screenshot: How to earn it: each way and what it is worth. How to earn it, on the Reputation tab.) ## The leaderboard Beside the questions, the leaderboard lists the members with the most reputation this week, this month or of all time. Members switch the period when the owner lets them. (Screenshot: Top members: the members with the most reputation, each with their picture, name and total. The leaderboard beside the questions.) ## Changing reputation The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to reputation that way, so profiles and questions stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more of reputation**: data and a template, never HTML drawn for one reader. What every reader sees, such as a total of your own beside a name, goes in the data the page is drawn from and is bound in a template. What one reader alone sees, such as which privileges they have reached, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. `wp poly-community page-data check profile` says whether a profile is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the Reputation tab how much reputation the reader needs for the next privilege: register a part on poly_community_register_page_data that returns the number, and bind it in the template of the tab with state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check profile and fix what it reports." - **In the admin**: the settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: the Reputation tab is drawn from **Reputation**, **How to earn reputation** and **Reputation history**, and **Leaderboard** and **Vote to close** are blocks for other pages. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. ## Switched off Every privilege it holds opens again for every member, and totals leave the names. Members keep the reputation they have, and votes on questions and answers go on earning it. **Delete** on its settings takes the votes to close questions away, while the reputation of each member stays with the votes and answers that earned it. --- # Bookings Address: https://www.poly-community.com/docs/components/bookings/ Members offer services and book open times from each other: a garden design consultation, a writing feedback session, a yoga class in the park. A provider keeps their hours once, and every service they offer shows its open times in them. A client picks a time, which is held for them while they check it, and books it with one press. Both get the booking page, a calendar file, a reminder before it starts, and a way to move or cancel it within the service policy. Bookings is a component: switch it on under **Settings → Components**, where **Bookings** has its settings (see [the settings](#settings--components--bookings) below). ## The Services catalogue (Screenshot: The Services page: Lessons, Wellness and Coaching as category tiles, a search with Filters and a sort, then four services as cards, each with its picture, its provider, its price or Free, its length, where it happens, its seats and its next open time. The Services catalogue.) **Services** in the navigation opens the catalogue: the services members offer, as cards with a picture, the provider, the price or **Free**, how long it takes, whether it is online or in person, the seats of a group, and the next open time. A search with **Filters** finds a service by its words, its category, its price and where it happens. On a phone the categories, the place and the order are in the sheet of Filters too. A member may save a service for later. ## Book a time (Screenshot: Book a time: a week from today, each day with how many times are open, and the open times of the day picked, each with the seats left. Book a time on a service page.) The page of a service says what it is, who offers it and how long it takes, and has **Book a time**: a week of days with how many times each has, and the open times of the day picked. Times are in the time zone of the reader, and **Change** picks another. A service with several lengths shows each with its price. (Screenshot: A time picked: Held for you: 9:00 AM, Wednesday, December 2, with a countdown, then what is being booked, the provider, the group, where, the price and the policy, a field for a note to the provider, and Book. A time held, ready to book.) A time picked is held for the client for ten minutes, so nobody else takes it while they read what they are booking: the time, the provider, where it happens, the price and the policy for moving and cancelling. They answer the provider questions if the service asks any, add a note if they like, and press **Book**. A visitor logs in first and comes back to their pick. When two members press the same time at once, one gets it and the other is told it is taken. A service booked **at once** is confirmed straight away. A service where the provider **accepts each booking first** waits for their answer, the time held for the client until then. ## A booking (Screenshot: A booking page: Garden design consultation, Waiting for payment, Friday December 4, 12:00 to 1:00 PM, a note to pay 45 euros by a time to confirm it, where, with Maya Chen and Message, the service and the price, then Pay 45 euros and Take it back. A booking waiting for its payment.) Both people get the page of the booking: its day and time, where it happens and how to join, who it is with and a **Message** button, the service, the price, and the answers to the provider questions. **Add to calendar** gives a calendar file. A booking names the other person clock too where it differs, so a client in another time zone knows the provider hour as well. - **Move** shows the open times of the service and takes the booking to another one, saying why if the policy asks. - **Cancel booking** asks first, with a word for the other person. A paid booking cancelled in time gives back what the service policy says, and a provider cancel gives all of it back. - Past the policy, the page says so and offers a message to the other person instead. The provider sees the same page with **Accept** and **Decline** for a booking that waits for them, and **Write to everyone coming** and **Cancel the whole session** on a group session. ## Group sessions and waiting lists A service for a group has seats at each time. Each member books a seat. The provider sees who is coming, and the others see only how many seats are left. A full time has a waiting list: when a seat frees up, it is held for the first in line for a while and they are told. ## Booking every week A service may let clients book it every week: the same day and time for up to twelve weeks, each a booking of its own, which can be moved or cancelled alone. ## Paid services, packages and credits Where the site takes payments (see [Payments](https://www.poly-community.com/docs/services/payments/)), a service can be **Paid when booking**. The client pays on the secure page of the payment provider and the booking is confirmed once the site is told they paid. The time is held while they pay, so the last seat is never sold twice. The provider is paid through **Edit profile → Earnings**. - **Packages** sell several sessions of a service at once, used within a number of days: the client books each one with a credit. - **Plan credits**: the members of the paid membership plans the site picks get a number of credits each month, for the services that take them. ## Reminders and notifications Both people are reminded a day and an hour before, as the settings say: in the bell, by email, and by text message where the site sends them and the member gave a number. They are also told when a booking is made, confirmed, asked for, accepted or declined, moved or cancelled, when a seat frees up for them, and when it has taken place, with a request for a review. ## My bookings (Screenshot: Bookings: the tabs Booked by me and Booked with me, Upcoming with two bookings, each with its date, its time, its provider and where, one Waiting for payment, and Past. My bookings.) **Bookings** in the account menu lists a member bookings: **Booked by me** and, for a provider, **Booked with me**, upcoming and past. A member with credits sees them there too. ## The provider calendar (Screenshot: Your calendar: the week of 30 November to 6 December on Lisbon time, with a group class and a booking on Friday, Day and Week, Edit your week and Block time. The provider calendar.) **Your calendar** shows a provider week or day: their bookings, the requests waiting for them, the time off they blocked, and the busy times of their other calendars. A booking opens in a panel beside it, with **Move**, **Cancel booking** and a private note for the provider alone. **Block time** keeps a stretch free of bookings. ## Availability (Screenshot: Availability: Time zone Lisbon, Weekly hours from 9:00 AM to 6:00 PM Monday to Saturday and Sunday unavailable, Dates with a month calendar and Choose several days, Coming up, and Busy calendars with Add a calendar. Edit profile → Availability.) A provider keeps their hours on **Edit profile → Availability**, once for every service they offer: - **Weekly hours**, on the clock of their time zone, one or more stretches a day. - **Dates**: other hours or a day off on a date, or a run of days off for a holiday. - **Busy calendars**: the private address of another calendar, whose busy times are never offered. Below them, **Your services** lists what they offer, with **Offer a service**, **Pause** and **Edit**, and **Your bookings in your calendar** makes a private address for a calendar app to follow. ## Offering a service (Screenshot: Offer a service: what you offer, a category, how long it takes, who comes, every week, how it is paid, how it is booked, questions for clients, where it happens, a description, pictures, More options, and How your times look this week, then Cancel, Save draft and Publish. Offer a service.) The form of a service says what is offered and how it is booked: its category, how long it takes (several lengths, each with a price), one person or a group, once or every week, free or paid, at once or accepted first, questions for clients, where it happens (at the provider place, at the client place, online, by phone), a description and pictures. **More options** sets how soon and how far ahead it can be booked, free time kept between bookings, and until when clients may move or cancel. **How your times look this week** shows its open times as clients will see them. ## Settings → Components → Bookings (Screenshot: Settings, Components, Bookings: Who offers services, A new service with when it can be booked, the answer time of a request and the policy, Reminders, After a booking with reviews, Plan credits, and Its data. Settings → Components → Bookings.) - **Who can offer services**, and **Approve providers before they take payments**: a member asks first when they make a service paid, and an administrator answers in **Moderation → Requests**. - **A new service**: what a new service starts with, which each provider changes for their own. **Booked at the soonest** and **at the latest**, **A provider answers a request within**, **Clients can cancel** and **Clients can move a booking** up to some hours before, and **A paid booking cancelled in time gives back** all, half or nothing. - **Reminders**: a day before, an hour before, or both. - **After a booking**: **Clients review a service** and **Clients review a provider**. - **Plan credits**: how many credits each month, and the plans that give them. **Forms and fields** has the fields of a service, and **Categories** the categories of the catalogue. Switching Bookings off takes away its pages and puts every service out of sight. The providers keep their hours, and all of it comes back when it is on again. Bookings to come are not reminded of while it is off. ### Its data A member bookings, their answers, notes and credits are in the personal data export of WordPress and erased with the member. **Delete Bookings data** deletes every service and the hours and dates providers keep here. Their time off and busy calendars stay theirs, as other WordPlus plugins read them too. ## Changing bookings The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Bookings that way, so the catalogue and each service stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe for the page of one item. ### Showing more on a service A change is data and a template, with no HTML drawn for one reader. What every reader sees of a service, such as a fact of your own, goes in the data of its row through `poly_community_item_row_data` and is bound in a template of the page. What one reader alone sees, such as their own booking or credits, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. What a reader may do, such as book, shows by a fact. `wp poly-community page-data check kit-service` says whether the page of a service is one drawing for a visitor, a member and an administrator, and what to change if it is not. ### With a coding agent Give an agent such as Claude Code, Codex or Gemini CLI the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the page of a service how many times it has been booked: add the count to the row of the service through poly_community_item_row_data and bind it in the template of the service page, said in words by a getter. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-service and fix what it reports." ### In the admin The settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of their texts. ### In the Site Editor With a block theme, open **Appearance → Editor**: **Community: Services** is the catalogue and **Community: Service** a service, and the template part **Service card** is each card of the catalogue. [Hooks of the components](https://www.poly-community.com/docs/reference/component-hooks/) lists the hooks of the components, and [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Creators sell Address: https://www.poly-community.com/docs/components/creators/ Creators sell lets members sell memberships of their own. A creator has a page with tiers that supporters pay for each month or year, posts written for supporters, posts sold one by one, tips and a goal. Members find creators in a directory and look after what they support on the **Supporting** page. The money goes through [Payments](https://www.poly-community.com/docs/services/payments/), the service every component that sells shares, and the paid membership component ([Paid membership](https://www.poly-community.com/docs/components/payments/)), which this component needs. Connect a way to pay there first. The site keeps a commission of each payment, and how a creator is paid is set under **Settings → Services → Payments → Sellers**. Switch it on under **Settings → Components → Creators sell**. ## Settings (Screenshot: Settings, Components, Creators sell: Who can become a creator, Approve each creator first, Creators verify who they are first, then the tips settings and the directory and 18+ toggles. Settings → Components → Creators sell.) Under **Who sells**: - **Who can become a creator**: members at first. Members under 18 never can. - **Approve each creator first**: on at first. A member asks on **Edit profile → Earnings**, and you answer in **Moderation → Requests**. The questions of the form are yours to change on the **Forms and fields** tab. - **Creators verify who they are first**: off at first. Creators go through the Verification page before they sell. On an 18+ site they always do. Under **Tips**: - **Visitors may tip**: off at first. A visitor gives a name and an email for the receipt and passes the check against spam. It works where Settings → Services → Payments lets visitors pay. Their name shows only where they choose. - **Amounts a creator starts from**: up to four amounts in the currency of the site, apart by commas. 3, 5, 10 at first. Each creator changes their own. - **Days a creator may give back a tip**: 7 at first, from 0 to 60. It covers a post bought on its own too, counted from its payment. With 0, only administrators give them back. Under **Creators pages**: - **A directory of creators**: on at first. It shows every open creator on one page and adds **Creators** to the navigation. - **Creators may mark their page 18+**: off at first. Off, no page can be marked so. ## Becoming a creator (Screenshot: Become a creator on a site that approves nobody first: Getting paid done, then Your page with its line, words, cover and choices, Your tiers and Open your page to do, and the Tips and Your goal cards below. Become a creator.) A member who may sell sees **Become a creator** at `creators/start`, and a **Membership** tab on their own profile. The page lists the steps and where each stands: - **The site approval**: where approval is on, the member asks to become a creator and waits for your answer. A declined request says why, when you gave a reason, and the member can ask again. - **Getting paid**: how the payments of supporters reach the creator, set up on **Edit profile → Earnings**. Where creators are paid on their own account, nobody can join until it is connected. Where they are paid through the site, earnings collect on a balance and nothing waits. - **Your page**: a line about what the creator makes, **What supporters get**, a **Cover**, and three choices: **Show how many support me**, **Let supporters show their tier beside their name** and **My page is for adults (18+)**. - **Your tiers**: at least one tier. - **Open your page**: once the steps are done. An open page can be paused with **Pause**, which stops new supporters while those who support keep their tier, and opened again with **Take supporters again**. Until the page opens, only its creator sees the Membership tab, with a preview of the tiers. ## The creator page (Screenshot: The Membership tab of a creator: Why join, three tiers with prices and Join, a card to send a tip, and a goal with its bar. The Membership tab of a creator.) The page of a creator is the **Membership** tab of their profile. It shows **Why join**, the tiers, a card to send a tip, the goal and the wall of tips. With **Show how many support me** on, the number of supporters shows on the page and in the profile header. Off, only the creator and administrators see it. Who supports whom is never shown to anyone else. A tier says its price **a month** and, where there is one, **a year** with what a year saves. It lists what it gives, whether it has **A space for its supporters**, and how many seats are left. A supporter sees their own tier marked **Your tier**. (Screenshot: Join Studio: pay each month or each year, who sees the name and the tier, the space the supporter joins, and Continue to payment. The Join dialog of a tier.) **Join** opens a dialog with **Monthly** and **Yearly**, says who sees the name of the supporter and that the tier can be cancelled in **Billing**, and goes to the payment page with **Continue to payment**. Back from paying, the tab says **We are confirming your payment**, then **You are in**, and what the tier gives is open at once. A supporter can move to another tier from the same tab, where the way they pay allows it. Otherwise they cancel in Billing and join the new one when the first ends. Who supports whom is seen by the two of them and by you. A supporter badge shows beside a name only where the supporter chose it. ## Tiers (Screenshot: The tier editor: the list of tiers with arrows to move them, and the form with Name, A month, A year, What it gives lines, Limit of supporters, A space of its own, Hidden from your page and Closed to new supporters. The tier editor.) A creator makes up to eight tiers at `creators/tiers`, or with **Edit your tiers** in the studio. Each has: - **Name**, up to 60 letters. - **A month**, and **A year (if you like)**. A yearly price below twelve months shows supporters what they save. A new price is for new supporters, and those who pay now keep theirs. - **What it gives**: up to eight lines. - **Limit of supporters (if any)**. Once full the tier shows **Full** and opens again when someone leaves. With the count private, only Full is shown. - **A space of its own**: a private space its supporters join and leave with their support, where its members see one another. - **Hidden from your page**: nobody sees or joins it. A tier that has supporters is **Closed to new supporters** instead, which keeps it on the page for those who have it. The order is the level. Supporters see the tiers in the order they are in, and a tier space takes in the supporters of every tier after it too. Arrows move a tier. ## Posts for supporters In the composer, a creator picks **For supporters** and chooses who reads the post: - **Everyone who may see it**. - **All my supporters**. - **A tier and up**: its supporters and those of every tier after it. - **Those who pay for it**: the post sold on its own, at a price of its own, no less than the smallest payment the way to pay allows. A price can be given beside a tier too. Left empty, the post is sold only through the tiers. Bought once, it stays with the buyer. (Screenshot: A post for supporters as a member without the tier sees it: its author and when it was written, a lock, For Studio supporters and up with the price of Studio, and Join. A post for supporters, as another member sees it.) Everyone else sees that the post exists: its author, when it was written, its title, a blurred stand-in for its pictures and how to open it, with **Join**, **Upgrade**, a button to buy the post for its price, or **Log in**. They never see its words. This holds in search, in notifications and in emails. The post opens the moment a member joins or buys it. The posts a member bought are listed in **Billing**, under their own heading. ## Tips (Screenshot: Send a tip: the amounts to pick or Other, a message to the creator, a box to show it on the wall, and Continue to payment. The tip dialog.) A creator switches tips on in the studio with **Take tips**, and picks the amounts they offer, a smallest and a largest tip, and whether to **Show a wall of tips on my page**. Members and, where you allow it, visitors send a tip once, with a message, from the page of the creator or from one of their posts. A tip shows on the wall only where its sender chose it, and the creator can hide any. Only the creator sees the others. A creator can give a tip back within the days you set, with **Give back**. ## Goals A creator sets one goal at a time. It counts **Supporters**, **What supporters bring a month** or **Tips, from now on**, with a target and a few words. The page shows a bar of how far it is, and everyone who sees the page sees it. How many support the creator and what they earn show only as the page shows them. **Set a new goal** ends the one there, and **End this goal** closes it. A goal reached tells its creator. ## The studio (Screenshot: Your studio: Overview with supporters now, new and left this month, what was earned each month, the goal and the tiers, and the Supporters and Tips tabs. Your studio.) The studio, at `creators/studio`, has three parts: - **Overview**: supporters now, new and left this month, what the creator earned this month and over the last 12 months with a bar for each month, the goal and the tiers with their supporters. - **Supporters**: who supports, with their tier and since when, as **Now** or **Left**. The studio says which of them show their badge. - **Tips**: every tip, the private ones too, with **Hide from the wall**, **Show on the wall** and **Give back**. Earnings are what the creator keeps of each payment after the fee of the site and any refund, as **Earnings** counts them. ## Supporting and Billing (Screenshot: Supporting: the creators a member supports, each with the tier, its price, when it renews and a switch to show the badge, and Manage in Billing. Supporting.) **Supporting** lists the creators a member supports, with the tier, what it costs, when it renews or ends and a switch to show their badge beside their name on the posts of that creator. Each creator sees the name and the tier of the supporter, and nobody else does. The tiers a member holds are also in **Billing**, in Edit profile, where **Change card** and **Cancel** work as [Paid membership](https://www.poly-community.com/docs/components/payments/#billing) describes. A cancelled tier stays theirs until the time paid for ends. ## The directory (Screenshot: Creators: a search box, the order Popular or Newest, and cards of creators with their cover, a line about what they make, supporters and the price from. The directory of creators.) **Creators**, at `creators/`, lists every open creator as a card. It has a search, and the order **Popular** (the most supporters first) or **Newest** (who started selling last first). A card says what the creator makes, how many support them where they show it, and the lowest price. Switch it off with **A directory of creators**. ## 18+ creator pages With **Creators may mark their page 18+** on, a creator can mark their page so. It then stays out of the directory, search, every card and live news for anyone the age check does not let through, and so do their posts for supporters, which wait for review as explicit posts do. The age check is the one of Ratings and warnings in its 18+ mode. Until that mode is on, only the creator and administrators see such a page. On an 18+ site, creators verify who they are first. If the site is in the 18+ mode and none of the ways to pay connected takes adult content and charges each month (CCBill does), nobody becomes a creator and no tier is sold. The settings say so. These are tools for you. Poly Community keeps no records of the people shown and does not make your site meet any law. ## Notifications and emails Creators are told when someone begins supporting them, when a supporter stops, when someone sends a tip and when a goal is reached. Tips in the same hour are told one by one up to five and then as one notice. In their email settings this is **As a creator: new supporters, those leaving, tips and goals reached**. A supporter is told when a payment for a creator they support fails, with a way to update how they pay in Billing. This one is always sent. In their email settings it is **A payment for a creator I support fails**. ## Switching it off Switching Creators sell off closes the creator pages and stops new supporters. Supporters go on being charged until their tiers are cancelled under Payments. Deleting its data takes every tier off sale and empties the tier spaces of the supporters the component put there. Supporters go on being charged until their tiers are cancelled under Payments. ## Changing Creators sell The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Creators sell that way, so the directory, the creator pages and the studio stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more on a creator page or a tier**: data and a template, never HTML drawn for one reader. What every reader sees goes in the data the page answers with and is bound in a template of the page. What one reader alone sees, such as their own tier, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. What a reader may do, such as join or tip, shows by a fact. `wp poly-community page-data check kit-creators` says whether the directory is one drawing for a visitor, a member and an administrator, and `wp poly-community page-data list` lists the other pages. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on each card of the Creators directory how many posts the creator wrote this month, as data the directory answers with and a template that binds it. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-creators and fix what it reports." - **In the admin**: the settings above, the questions of its form on the **Forms and fields** tab, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Paid membership Address: https://www.poly-community.com/docs/components/payments/ Paid membership sells plans. A plan is paid for each month, each year or once, and while a member holds it, it opens what you choose: spaces, posts written for its members, kinds of post only its members may write, things only its members may do, and a member type. Members find the plans on the **Plans** page and look after theirs in **Billing**, in Edit profile. The money goes through [Payments](https://www.poly-community.com/docs/services/payments/), the service every component that sells shares: your own account with Stripe, PayPal, Mollie or CCBill, or a bank transfer. Connect a way to pay there first. You can make and preview plans before, but nobody can buy one until a way to pay is connected. Switch it on under **Settings → Components → Paid membership**. ## Settings (Screenshot: Settings, Components, Paid membership, Plans: who writes posts for the members of a plan, members under 18 may buy plans, and the hours before a reminder of a checkout left. Settings → Components → Paid membership.) - **Who writes posts for the members of a plan**: administrators at first. Others see such a post as its author and a line saying which plan opens it. Its words, pictures and replies stay hidden from them. - **Members under 18 may buy plans**: off at first. While it is off, a member the site knows to be under 18 is told to ask a parent or another adult. - **Remind a member who left a checkout after (hours)**: one email, with the way back to the plans, to a member who started paying and did not finish. 0 sends none. While it is on, members can turn the reminder off in their email settings. The second tab, **Plans**, is where the plans are made. ## Making a plan (Screenshot: The Plans screen: Gold, Supporter and Team, each with its prices, its members and the spaces it opens, and Edit, Members and Take off sale. Settings → Components → Paid membership → Plans.) The Plans screen lists the plans in the order members see them. Drag a plan, or use its arrows, to move it. Each says its prices, how many members hold it, its free days and what it opens. With one plan or more, the screen also has the numbers of the month: what the plans bring each month, new members, cancellations and trials that turned into payments. **Make a plan** opens the editor: (Screenshot: Edit Gold: Name, Description, Benefits one on each line, Prices each month, each year and once, Trial days, Seats for others, Who may join, Offered beside it at checkout, As a gift, then What it opens. A plan in its editor.) - **Name**, **Description** and **Benefits**, one on each line: what the Plans page shows. The description shows on the payment page too. - **Prices**: each month, each year and once, in the currency of the site. Leave a price empty to not offer it. A plan with no price yet stays on the screen, marked, and cannot be bought. Monthly and yearly prices need a way to pay that charges again, such as Stripe, PayPal or Mollie. - **Trial days**: days free before the first monthly or yearly payment. - **Seats for others**: for a team, a company or a family. The buyer gives this many seats to other members, each opening what the plan opens. - **Who may join**: **By invitation only** hides the plan from the Plans page. Only members who opened its link see it and may buy it. **Make a new link** stops the old one. - **Offered beside it at checkout**: another plan sold for one payment, which buyers may tick when they join this one, such as a welcome pack. They pay for it on its own, right after. - **As a gift**: a plan sold for one payment may be bought for someone else, as [Gifts](#gifts) says. Then **What it opens**: - **Spaces**: a space named here is open only to members holding one of its plans. A space can also be opened by plan from its own settings, below. - **Kinds of post only its members may write**, such as events or listings. - **What its members may do**: the **Who may** settings of the components that run, such as who posts jobs. A plan ticked here adds its members to those each setting already names. - **Member type while held**: with Member types on, members holding the plan have this type until it ends. Changing a price never changes what members already pay. The editor says how many pay the old price, and they keep it. **Take off sale** stops new payments for a plan. Members holding it keep it until it ends. ### Members of a plan (Screenshot: Members holding Gold: Leo Martins with until a date, and Give it to a member with a username or email and a day it ends. Members of a plan, and giving it by hand.) **Members** on a plan lists those holding it, the newest first, with when it ends and any payment that failed. **Take it back** ends it at once. **Give it to a member** gives the plan free of charge, until a day you pick or for good. Under the plans, **Add them** gives plans to many members at once: a line each with their email or username, the name of the plan and the day it ends. **Download the plans of every member** makes a CSV of who holds what. ## The Plans page (Screenshot: The Plans page: Monthly and Yearly, then Gold at $9.00 a month with the first 7 days free, Supporter at $49.00 paid once, and Team at $29.00 a month, each with its description, benefits, the spaces it opens and Join. The Plans page, as a member sees it.) Plans is a page of the community, at `plans/`, linked from the account menu of each member. Each plan is a card with its price as the provider will charge it, its free days, what it includes and **Join**. Where plans are sold both monthly and yearly, **Monthly** and **Yearly** switch the prices. A plan the member holds is marked **Your plan**, with a way to Billing, and a member paying for one plan switches to another from here, where the way they pay allows it. **Join** goes to the payment page. Back from paying, the page says where the payment stands: **We are confirming your payment** until the provider tells the site, then **You are in**, and everything the plan opens is open at once, in every tab the member has open. A bank transfer shows the reference to give and waits until you mark the money received under Payments. In the account menu, a member holding a plan sees **Your plan** with its name, which leads to Billing. ## Posts for the members of a plan (Screenshot: Who reads this post: Everyone who may see it, or Gold members at $9.00 a month, Supporter members at $49.00 and Team members at $29.00 a month, with Done. Writing a post for the members of a plan.) Whoever may write for a plan picks **For the members of a plan** among the tools of the composer, then the plan. Everyone else sees the post as its author and a line saying which plan opens it, with **See plans**. Its words, pictures and replies stay hidden from them, in the page, in search, in notifications and in emails. (Screenshot: A post by the admin, its words replaced by Join Gold to read, $9.00 a month, and See plans. A post for Gold members, as another member sees it.) The post opens the moment a member gets the plan, with no reload. ## Spaces open by plan A space is opened by plan from the plan editor, or from the space: in its settings, under **Privacy**, **Open by plan** lists the plans. Only members holding one of them see what is posted there and join. The admins and moderators of the space always do. (Screenshot: Included in Gold and Team: members holding one of these plans see what is posted here and may join, with See plans. A space open by plan, to a member without one.) To a member without one of its plans, the space says which plans it is included in, and **See plans** takes the place of **Join** in its head. Members who hold a plan see **Included in Gold** on the space instead. ## Pages of the site behind a plan Beyond the community, a plan can open the pages and posts of the site itself, under **Settings → Access rules**. A rule names what it keeps (a page or post, every page or post of a type, what is in a category or tag, addresses such as `/guides/*`, pages with a template, or something members do, such as sending messages or creating spaces) and who it opens to: the members of some plans, member types or roles, any of them or only all together. To anyone else, a page a rule keeps shows what the rule says: - **Its start, then a card with the plans**: the words before a More block in the page (or its first words), and the plans that open it with **Join**, or **Log in** for a visitor. - **Your message alone**. - **Nothing: it goes to the plans**, or to an address you give. - **Nothing: hidden from lists, search and feeds**, and its address answers that it is not there. **Free to read whole, a month** lets a visitor, or a member without the plan, read so many of these pages whole each month before the start alone shows. A rule can also open a page some days after a member joined or first held the plan, or a series of pages one by one, with an email to each member as the next opens. Its author and administrators always see it. ## Billing (Screenshot: Billing: Your plans and purchases with Gold at $9.00 a month, Free until a date, then it renews, with Change card and Cancel, then Receipts. Edit profile → Billing.) **Billing**, a tab of Edit profile, holds the plans of the member, what else they bought the same way (a tier of a creator, a course), and their receipts: - Each plan says what it costs and when it renews or ends. - **Change card**, where the provider allows it, opens the payment page to pay with another card. - **Cancel** asks first. The plan stays theirs until the time paid for ends, and nothing more is charged. **Keep the plan** takes the cancel back before then. - **Pause** and **Resume**, where you allow it for the way they pay. - A plan given by an administrator, or paid once, says so, with when it ends. - **Receipts** lists each payment with its state and a link to the receipt. Members do all of this on your site. No page of the provider is in the way. ## Seats A plan with seats lets its buyer give them to other members. On the Plans page the buyer sees how many are given, gives one by a member name or email, and takes one back. Each member with a seat holds what the plan opens for as long as the buyer does. ## Gifts A plan sold for one payment, with **As a gift** ticked, can be bought for someone by their email address. Once paid, they get the code by email with a link to the Plans page, which redeems it for whoever opens it logged in, signing up first if they need to. The plan is theirs from that day, for its time. The buyer finds the gifts they gave in Billing, with **Send again** while nobody has redeemed one. ## Notifications and emails Members are told when a plan of theirs begins, when a payment for it fails, before a plan that will not renew ends, and when it ends. A failed payment is always told. In their email settings these are **My plan begins, a payment fails, or it ends**. ## Changing Paid membership The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Paid membership that way, so the pages stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more on the Plans page or on a teaser**: data and a template, never HTML drawn for one reader. Register a part on `poly_community_register_page_data` whose answer returns data, such as how many seats are left, and bind it in a template with `state.partHere`. What one reader alone may see, such as their own plan, goes in a part or shows by a fact. `wp poly-community page-data check kit-plans` says whether the Plans page is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show the seats left on each plan of the Plans page as a part registered on poly_community_register_page_data, its answer returning data and its template binding state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-plans and fix what it reports." - **In the admin**: the settings and plans above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: **Community: Plans** is the Plans page, with its block **Plans**. **Billing**, **Paid post teaser** and **Space plan gate** are the other blocks of the component. - **In code**: `poly_community_paywall_held` says whether a viewer reads a post held behind a product of another component, such as a tier of a creator, and `poly_community_paywall_text` is the plain line such a post reads as in notifications, emails and search. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. --- # Spaces inside spaces Address: https://www.poly-community.com/docs/components/nested-spaces/ The chapters of a national body, the departments of a company, the classes of a school: with this component on, a space holds other spaces, and those hold more, up to four levels in all. Each keeps its own posts, members and admins, while the space around it keeps them together. It's switched on under **Settings → Components**, with the other components of spaces, and its settings are a card of their own under **Settings → Spaces**, below the first one: - **Who makes a space inside another**: at first the site administrators and the admins of the space it goes inside. A space role counts in the space the new one goes inside, so the admins of the spaces around that one count too. - **Levels**: how deep spaces go, the top one counted, from two to four. - **A space feed shows the posts of the spaces inside it**: what each space starts with. The admins of each space change it in its own settings. (Screenshot: The card Spaces inside spaces: Who makes a space inside another with Administrator and Space admin picked, Levels 4, and the switch for a space feed showing the posts of the spaces inside it. Settings → Spaces, Spaces inside spaces.) ## A space with spaces inside it The spaces inside one are listed beside its page, the first few with **See all**, and on a tab of their own after Posts. The tab is called **Sub-spaces** unless the space gives them a name of its own, such as Chapters, Departments or Run groups, which its tab and its cards then use. A visitor or a member sees only the spaces inside it they may see. (Screenshot: Run groups 3 beside the page of Trail Runners: Morning runners, Race team and Weekend long runs, each with how many members it has. The spaces inside Trail Runners, beside its page.) (Screenshot: The Run groups tab of Trail Runners: three cards with their covers, who can see each and how many members, and New at the top. The Run groups tab, as the admin of Trail Runners has it.) The spaces directory opens on the spaces at the top, each card saying how many spaces are inside it. **Your spaces** and a search list every space, wherever it is. On the page of a space inside another, the trail above its header leads up through each space it is in. ## Making a space inside another **New** on the tab opens a short form: its name, what it is about, who can see it and how people join. A space inside another is never seen by more people than the space it is in, so a choice more open than that one is shown but can't be picked. (Screenshot: A new space inside Trail Runners: the name Trail beginners, what it is about, Who can see it with Public picked, How people join, and the switch Only members of Trail Runners can join, on. New, on the tab of a space.) **Only members of Trail Runners can join** is on at first. Others are asked to join the space around it first, and a member who leaves that space leaves this one too. A space inside a hidden space always takes only its members, as only they may know of it. ## Who runs them and who is in them - **The admins of a space are admins of every space inside it**, at any depth, except where they are banned. Someone who runs a space around it can be removed or given another role only by someone who runs a space higher still. - **Leaving a space takes a member out of every space inside it.** A member who owns a space inside it hands that space on first. - **Who sees what is kept by the tree**: a space inside a hidden one is known only to its members, a ban holds in every space below, and none is more open than the space it is in. A space can't be made more open than that later either: on its **Privacy** tab the choices more open than the space it is in are shown but can't be picked. - With **Paid membership**, a space inside one that is open by plan follows its plans and is never open to more of them. With **Ratings and warnings**, a space inside one that rates its posts higher can't rate them lower. ## Its own settings The admins of each space set three things on the **Privacy** tab of its settings, in the card Spaces inside spaces: **Only members of … can join** (for a space inside another), **Its feed shows the posts of the spaces inside it**, and **What the spaces inside it are called**. With its feed on, the feed of a space lists the posts of every space inside it too. Each reader sees only the posts they may read in each, and each post says where it was posted. (Screenshot: A post by Maya Chen in Weekend long runs, shown in the feed of Trail Runners with the name of the space after the name of its author. A post of a space inside, in the feed of Trail Runners.) ## Moving a space The **Place** tab of the settings of a space moves it inside another space, or back to the top, with everything inside it. Only the admins of the space it is in move it, and only the site administrators make a space a top one. A place it can't go to is listed with the reason: a hidden space whose members would lose it, too many levels with what is inside it, a space of another kind. (Screenshot: Where it is: Inside Trail Runners › Race team, then Move it inside with the top and every space the admin runs, Race team marked Here now. The Place tab of Marathon squad.) ## Automatic members The **Automatic members** tab gives a space a rule: members who match it are added by themselves, and taken out when they no longer match. Nobody who joined by hand is taken out, and nobody who left is put back. A rule is any or all of these: - **A profile field**: one of its answers, or the words typed. A rule reads only a field every member may see on a profile. - **A member type**, where member types are on. - **Time since they joined**: in the last so many days, counted again every day, so members leave the space as the time passes. - **Membership of the space it is inside.** The tab says how many members match and how many are in the space by the rule. A member added to several spaces by one change is told once, naming them. (Screenshot: Automatic members of Marathon squad: how many matched and how many are here by the rule, Add the members who match all of these, In Race team and Joined the community in the last 365 days, then Add a condition. Automatic members, with a rule of two conditions.) ## A role until a date An admin or a moderator of a space can hold the role until a date: **Set an end date** in the menu of the member on the Members tab. They and the space owner are told a week before, and the day after the last day they are a member again. The owner has no end date: they hand the space on first. (Screenshot: Maya Chen in the members of Weekend long runs: Moderator, until 31 May 2027, and the menu of the member. A moderator until the end of May.) (Screenshot: When the term ends: Maya Chen, Last day 31 May, and the line saying who is told and when. The end of a role, set from the menu of a member.) ## Deleting a space with spaces inside it Deleting a space asks what becomes of the spaces inside it: they move up into the space it was in (or to the top), with their posts and members, or they are deleted too, with their posts. A space put in the trash takes them along or moves them up the same way, and a restore puts the tree back. ## Notifications Members are told when a rule adds them to a space and when a role of theirs is ending or has ended. Both are under Spaces in their notification settings. ## Changing spaces inside spaces The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to spaces inside spaces that way, so a space and its tree stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more on a space**: data and a template, never HTML drawn for one reader. What every reader sees, such as a fact of your own about each space inside it, goes in the data the page is drawn from and is bound in a template. What one reader alone sees, such as whether they belong to each space inside it, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. `wp poly-community page-data check space` says whether a space is one drawing for a visitor, a member and an administrator, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on each space inside a space whether the reader is a member of it: register a part on poly_community_register_page_data that returns the ids of the spaces the reader is in, and bind a mark in the template of the list with state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check space and fix what it reports." - **In the admin**: the settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: the tab of the spaces inside a space is drawn from the blocks **Sub-spaces** and **Sub-space count**, and **Space place** and **Automatic members** are its blocks for a page of a space. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. ## Switched off Nothing is deleted. The spaces keep their places in the tree and who may see them, as spaces themselves keep that, and a role ends on its date all the same. The tabs, New, the rules and the notices wait until it is on again. --- # Private participation Address: https://www.poly-community.com/docs/components/sensitive/ Private participation is for communities where belonging to a space says something about a person: health, recovery, faith, identity or politics. Members can hide which spaces they belong to, and post anonymously in the spaces whose admins allow it. The moderators of the space and of the community still see who wrote what and who is a member. It's switched on under **Settings → Components → Private participation**, where its settings are. ## Posting anonymously In a space that allows it, the composer and the reply form offer **Post anonymously**. While it is on, the form says what it hides and what it doesn't. (Screenshot: The composer of the space Talk it through with a post written and Post anonymously on: You are shown as Anonymous member, with no picture or link. The space moderators and the community moderators can still see it is you. Reactions and votes stay under your name.. Post anonymously in the composer.) Readers see **Anonymous member**, with no picture, link or name, on every page, in search, in notifications and in emails. The author sees **You** beside it. (Screenshot: A post by Anonymous member, with no picture or name: I have not slept properly in weeks and I do not know who to tell. Does it get better? Under it a reply by Leo Martins. An anonymous post, as a member reads it.) The moderators of the space and the administrators see the real name beside the label. (Screenshot: The same post as a moderator of the space reads it: Anonymous member, with an eye and Maya Chen beside it. The same post, as a moderator reads it.) An anonymous post stays anonymous: an edit can't lift it, following its author doesn't bring it, and it earns its author no points or reputation. Reactions and votes stay under the name of the member. Anonymous is not untraceable: anyone with the database of the site can tell who wrote a post. ## Hidden memberships A hidden membership is left out of the member list of the space, the profile of the member and every list of people. The team of the space and the administrators still see it, and it still counts in the number of members. A member hides one from the menu of the space, where it says what it hides, and shows it again the same way. (Screenshot: The menu of a space with Hide my membership: Out of the member list and your profile, while the team of the space still sees it. Your posts here keep your name.. Hide my membership in the menu of a space.) **Join** has a second button, an eye crossed out, to join with the membership hidden from the start. (Screenshot: Join and, beside it, the button Join with my membership hidden, an eye crossed out, then Share. Joining hidden.) On the **Privacy** tab of Edit profile, a member chooses to hide their memberships in every space they join from now on, and sees which of their memberships are hidden. (Screenshot: Your memberships: what a hidden membership is left out of and who still sees it, and the switch Hide my memberships in spaces I join, Each space menu hides or shows one at any time. Edit profile → Privacy.) ## In each space The admins of a space choose on its **Privacy** settings, under **Anonymity**, whether members may post anonymously there and whether the memberships of new members are hidden. (Screenshot: Anonymity: Anonymous posts, Members may post and reply as Anonymous member, and Hide the memberships of new members. The Anonymity settings of a space.) ## The settings (Screenshot: Hidden memberships: Members may hide their memberships, and New memberships, in spaces that have not chosen, Shown, until a member hides theirs. Settings → Components → Private participation, Hidden memberships.) - **Members may hide their memberships**: from the menu of a space, and as their own default in Edit profile. - **New memberships, in spaces that have not chosen**: shown until a member hides theirs, or hidden until a member shows theirs. (Screenshot: Anonymous posts: Anonymous posts where a space allows them, Allowed in spaces that have not chosen, and the note Anonymous is not untraceable. Anonymous posts.) - **Anonymous posts where a space allows them**: the admins of each space choose on its Privacy settings. - **Allowed in spaces that have not chosen**: off at first, so a space allows them only once its admins say so. For what members say about their health, beliefs and the like, mark a profile field **Special-category data** in [Profile fields](https://www.poly-community.com/docs/features/profile-fields/#special-category-answers): its answer is kept only once the member agrees to a consent. ## Changing Private participation The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Private participation works inside that: an anonymous post is drawn from its row as any post is, and its row names the author only to the author and to those who may know. A hidden membership is left out of the data of every list. Keep a change that way. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more of an anonymous post**: data and a template, never HTML drawn for one reader. The mark beside **Anonymous member** is part of the card, the template drawn once for every post of a page over the row of each, so a change to it binds the row of the post in the card view, never PHP. What one reader alone may see is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. `wp poly-community page-data check space-post` says whether a post in a space is one drawing for each kind of reader, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show a note under every anonymous post that its replies may be anonymous too: bind it in the card view to the row of the post, which says whether the post is anonymous. Draw no HTML for one reader in PHP. Run wp poly-community page-data check space-post and fix what it reports." - **In the admin**: the settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: Private participation has no blocks of its own. **Post anonymously** is part of the **Post composer** block and the reply form, and the mark is part of **Post author** in the template part **Community post**. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. ## Switched off Posts written anonymously stay anonymous, and memberships hidden stay hidden, their members still able to show them. Members can no longer post anonymously or hide a membership. --- # Ratings and warnings Address: https://www.poly-community.com/docs/components/ratings/ With Ratings and warnings on, members rate what they post and warn of what is in it, and each reader chooses how such posts show to them: shown, blurred behind **Show**, or hidden. A post can carry a rating, **General**, **Mature** or **Explicit**, and warnings from the list of the site, such as violence or spoilers, with a label of its own. It's switched on under **Settings → Components → Ratings and warnings**, where its settings are, with the list of warnings on its **Warnings** tab. ## Rating a post The composer has a rating tool. Its dialog offers the ratings the site allows, the warnings, and a label for a spoiler. A post with a warning or a label is collapsed behind Show, with these as the reason. (Screenshot: Rating and warnings: General, Mature picked and Explicit, the warnings with Spoilers picked, a spoiler label, then No rating and Done. The rating dialog of the composer.) - **General**: for everyone. - **Mature**: violence, strong language, adult themes, blurred for whoever chose so. - **Explicit**: sexual content and nudity, never shown to visitors, and only after the age check. A moderator can change the rating of a post from its menu, and its author is told. ## How rated posts show A rated post shows its cover and labels in place of its words and pictures until the reader presses **Show**. A post rated Explicit asks a member who hasn't passed the age check to verify their age first. (Screenshot: A post rated Mature in the feed, its picture blurred, with Rated Mature, the labels Mature and Violence, and Show. A rated post, blurred in the feed.) (Screenshot: A post behind a content warning: Spoilers and the label Spoilers: season 3, with Show. A post behind its warning.) Each member chooses for themselves on their **Privacy** tab: mature posts and explicit posts shown, blurred or hidden, and posts with warnings collapsed or shown. A hidden one is not in their feeds, search or notifications. Members who have not chosen get what the owner sets. (Screenshot: Rated posts on a Privacy tab: Mature posts and Explicit posts with Shown, Blurred and Hidden, and Posts with warnings with Collapsed and Shown. The choices of a member.) ## The settings (Screenshot: Ratings: What the community allows, Up to Explicit, Who may open mature posts, Everyone, visitors too, and Explicit posts, for visitors, Not shown. Settings → Components → Ratings and warnings, Ratings.) - **What the community allows**: General only, up to Mature, or up to Explicit, which needs the 18+ mode. - **Mature posts** and **Explicit posts, for members who have not chosen**: shown, blurred behind Show, or hidden. - **Who may open mature posts**: everyone, visitors too, logged-in members, or adult members only. Anyone else sees the cover and its labels, never the words or pictures. Adults are members who passed the age check, as [Identity and age checks](https://www.poly-community.com/docs/verification/identity/) gives it, and with Young members on, those it vouches for. - **Explicit posts, for visitors**: not shown, or their cover with Log in to view. - **Posts with warnings** for members who have not chosen, collapsed or shown, and **who may open them**. - **Spoilers in posts**: a phrase hidden until tapped, from the Spoiler button of the formatting bar or typed as `||words||`. Emails and notifications never show its words. ## Spaces for mature posts The admins of a space choose how its posts are rated: members rate each post, or every post is rated Mature or more, or Explicit. A reader who doesn't show such posts is asked once on the space, and its posts stay blurred until they open them. (Screenshot: This space is for mature posts: its posts stay blurred until you open them, you are asked once, and Show its posts. A space for mature posts.) ## The 18+ mode The **18+ mode** allows explicit posts, blurred at first, and adds: - **The age check**, for everyone or only for members in the countries you list (two-letter codes). Everyone else is asked before their first explicit post. - **Adult labels on every community page**: the rating meta tag search engines read and the RTA label parental filters read. They mark the pages and block no one. - **Review explicit pictures and videos before they are published**: such a post waits in Moderation until you approve it. The plugin does not check uploads against known child-abuse images. A service you sign up for can, through the `poly_community_media_check` filter, and Cloudflare CSAM Scanning Tool works in front of any site on Cloudflare. - **Members may go incognito**: out of the member directory, its counts, New members and suggestions, and never shown online. These are tools. The laws on age checks and adult content where you and your members live are yours to meet, and no setting meets them for you. ## Changing ratings and warnings The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. A rated post is one drawing for every reader: its cover, labels and Show are drawn for all, and what each reader chose decides in the browser whether it shows. Keep a change to ratings that way. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more on a rated post**: data and a template, never HTML drawn for one reader. What every reader sees, such as a note of your own beside its labels, goes in the data of its row through `poly_community_item_row_data` and is bound in a template. What depends on the reader is a part registered on `poly_community_register_page_data`, bound with `state.partHere`. `wp poly-community page-data check post` says whether a post is one drawing for each kind of reader, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show the name of the moderator who rated a post beside its labels: add it to the row of the post through poly_community_item_row_data and bind it in the template of the post. Draw no HTML for one reader in PHP. Run wp poly-community page-data check post and fix what it reports." - **In the admin**: the settings above, the warnings on their tab, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of their texts. - **In the Site Editor**: **Rated posts settings** is the block of the choices of a member, and **Space rating gate** the question a space for mature posts asks. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. ## Switched off Posts show as they were written, with no rating, cover or Show, and the ratings and warnings are kept for when it is on again. --- # Trust levels Address: https://www.poly-community.com/docs/components/trust/ Trust levels hold a few things back from members until they have taken part for a while: links to other sites, uploads, votes down. Each member earns levels from the days since they joined, the days they visited, the replies they wrote, the reactions they received and the days with no report upheld against them. There are five levels: **0 · New**, **1 · Basic**, **2 · Regular**, **3 · Trusted** and **4 · Leader**. Members earn the first four, worked out once a day. Level 4 is given by an administrator only. It's switched on under **Settings → Components → Trust levels**, where its settings are, on two tabs: Settings, with what each level opens and the new members, and Levels, with what each level asks. ## What each level opens Each held-back action is opened at the level picked for it: - **Posting links**: links to other sites in posts and replies, from level 1 at first. Links to the pages of the site always pass. - **Uploads**: pictures, files, video, audio and recordings, from level 1 at first. Profile pictures and covers are never held back. - **Starting forum topics**: open to every level at first. - **Voting down**, where the Votes component lets votes go down: from level 2 at first. - **Voting to close questions**, where the Reputation component lets members vote to close them: from level 3. Writing posts and replies is never held back. Administrators, the moderators of the site, and the admins and moderators of a space inside their space are never held back either. (Screenshot: What each level opens: Posting links and Uploads at Level 1 · Basic, Starting forum topics at Level 0 · New, Voting down at Level 2 · Regular. Settings → Components → Trust levels, What each level opens.) A member below the level doesn't get what it holds back: the composer has no attach button until uploads open. A post with a link to another site is refused with what it needs: "Reach level 1 to post links. Edit profile → Trust level shows what is left." ## What each level asks On the **Levels** tab, each of levels 1 to 3 asks for all of these, and for the levels below it. 0 asks nothing. | | Level 1 | Level 2 | Level 3 | |---|---|---|---| | Days since joining | 1 | 7 | 30 | | Days visited (each day counts once) | 2 | 10 | 30 | | Replies written | 0 | 5 | 25 | | Reactions received from other members | 0 | 5 | 25 | | Days without an upheld report | 30 | 60 | 90 | An upheld report is one an administrator acted on, against the member or what they posted. A member with one reaches the next level only once that many days have passed since it. A level earned stays: it never goes back down by itself. (Screenshot: Level 2 · Regular: Days since joining 7, Days visited 10, Replies written 5, Reactions received 5, Days without an upheld report 60. What Level 2 · Regular asks.) ## New members **Posts held for review** holds the first posts and replies of a member at level 0 in Moderation until that many are approved. At 0, none wait. ## A member and their level Each member sees their own level under **Edit profile → Trust level**: what they have reached, what the next level asks and what is still to go. Nobody else sees it. When a level opens something new, they are told: "Level 1 · Basic is yours: you can now post links and upload". The notice is in their notification settings as **My trust level goes up**. (Screenshot: Your trust level: Level 1 · Basic, earned from what the member has done here, and it stays theirs. Edit profile → Trust level.) (Screenshot: On the way to Level 2 · Regular: days since joining 7 of 7, days visited 4 of 10, replies 4 of 5, reactions 4 of 5, no upheld report in the last 60 days, and what is still to go. What the next level still asks, under it.) ## Setting a level by hand An administrator sets the level of a member by hand from the row of the member under **Users**, or on their user profile in the WordPress admin, under **Community trust level**: a level from 0 to 4, or **Earned from activity**. A level set by hand stays until it is set back to Earned from activity. Level 4 is only ever given this way. ## Changing trust levels The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to trust levels that way, so the pages stay fast. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more of a level**: data and a template, never HTML drawn for one reader. What a level allows a reader, such as a button they may press, shows by a fact the page is drawn with, never by HTML drawn for that reader. What one reader alone sees, such as what is left for their next level, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. `wp poly-community page-data check settings` says whether the page is one drawing for each kind of reader, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the Trust level page the date the member reached their level: register a part on poly_community_register_page_data that returns it, and bind it in the template of the page with state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check settings and fix what it reports." - **In the admin**: the settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: **Trust level** is the block of the page where a member sees their level. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. ## Switched off Everything the levels hold back opens again for every member. The level of each member is kept and holds again when the component is switched on. **Delete** on its settings takes every level away, those set by hand too, and switched on again, it works each level out from what members did. --- # Young members Address: https://www.poly-community.com/docs/components/minors/ With Young members on, every member gives their date of birth, and members under 18 are protected: kept out of every list, closed to adults outside the spaces they share, never shown online, kept from rated posts, and never messaged privately by adults you have not allowed. A parent or guardian can be linked to a young member, once the community team confirms them. It's switched on under **Settings → Components → Young members**, where its settings are. These are tools. The laws on the data of children where you and your members live are yours to meet, and no setting meets them for you. ## The date of birth The sign-up form asks for the date of birth before anything else. Only the member and the community staff see it. (Screenshot: The sign-up form with Date of birth first, We ask everyone. Only you and the community staff see it, then the name, username, email and password. The date of birth on the sign-up form.) A child younger than the youngest age to sign up alone is turned away, and nothing of what they typed is kept. That browser waits a day before it may try again. An administrator of a school or club can still make their account from **Users → Add New**, with their date of birth and the consent of a parent or guardian. (Screenshot: Date of birth with an error: You cannot sign up here yourself. If your school, club or group uses this community, ask the person who runs it to make an account for you.. A child turned away.) Members who joined before Young members was on are asked once, the next time they come in. They can say **Not now**, and until they answer they are protected as young members are. (Screenshot: Your date of birth: We ask every member once. It decides what this community keeps younger members safe from, and nobody but you and the community staff sees it. A date field, Save and Not now. The date asked of a member from before.) Staff see and correct a date of birth on the WordPress user screen of each member, and **Users** has two bulk actions: **Mark as adult, checked by me** and its undo. ## What young members are kept from A member under 18, or one whose age is not known: - is out of the member directory, search, suggestions, New members and every other list of people, and never shown online. - has a profile closed to adults outside the spaces they share. On their **Account** tab, a young member can open it to the members of their spaces, and their posts in a space are seen there as any post is. - can't be messaged privately by an adult, unless you allowed that adult, or the adult is their linked parent or guardian. - doesn't see posts rated Mature or Explicit, posts with warnings, spaces and events kept for adults. - can't go live, record a video, put a place on a post or buy a plan. (Screenshot: Your date of birth on the Account tab of a young member, kept as given, with the switch Members of my spaces may see my profile. The date of birth and the choice of a young member.) Young members see the profiles of other young members only in the spaces they share, and only when the age of both was checked. Young members and adults outside your team are in a space together only where your team runs it, or where an administrator opened it to young members on its **Privacy** tab. A space can also be kept for adults alone. An adult is someone whose age was vouched for: by you for the members from before, by staff, by an administrator approving the account, or by an age check from [Identity and age checks](https://www.poly-community.com/docs/verification/identity/). An adult who only typed a date of birth doesn't open what is kept for adults. On their 18th birthday a young member is told the protections no longer apply. Their profile and posts keep the audiences they chose. ## Parents and guardians A young member asks a parent or guardian by email, from the **Account** tab of Edit profile. The email names no one: it asks the adult to open the link, signed in with that address. (Screenshot: Your parent or guardian: Ask a parent or guardian to link their account to yours, what they see once the community team confirms it, Waiting for the address asked with Take back, and Their email address with Ask them. A young member asks a parent.) The adult says whether they are the parent or the legal guardian, and agrees to the young member taking part. Only the account with that address can answer, and only once it is an adult whose age was vouched for. (Screenshot: Zoë Fischer asks you to be linked as their parent or guardian. What are you to them? I am their parent, picked, or I am their legal guardian. The statement I am the parent or legal guardian of Zoë Fischer, and I agree to them taking part in Riverside Community, the note that the community team checks the answer, and the buttons I am their parent or guardian and That is not me. The page the parent answers on.) By default the link then waits for an administrator in **Settings → Moderation**, ahead of ordinary reports, with who asked, who answered and what they say they are. Until it is confirmed, the adult sees and can do nothing more than before. Declined, both are told, and the same two can't be linked this way again for 30 days. (Screenshot: A parent or guardian to confirm in Moderation: Zoë Fischer, Answered by Leo Martins, I am their parent, when it was asked and answered, with Confirm and Decline. The check of the community team.) Once linked, the parent or guardian sees the profile, posts and spaces of the young member and whom they have conversations with, never what is said, and can message them. (Screenshot: Young members in your care: Zoë Fischer, the spaces they are in and their conversations, with End the link. Young members in the care of a parent.) Either of them can end the link, and every link ends at 18. A young member can have up to four parents or guardians linked. Staff can link one at once from the account of the young member in **Users**. ## The settings (Screenshot: Who is protected: what young members are kept from, three warnings (spaces anyone can join with young members in them, spaces members made with young members and adults in them, children under 13), and Members who joined before this was switched on, with Ask each for their date of birth and They are adults, checked by me, picked. Settings → Components → Young members.) - **Members who joined before this was switched on**: ask each for their date of birth, or declare them adults, checked by you, recorded with your name and the date. Staff can still correct any one of them. - **Youngest age to sign up alone**, under **Settings → Joining → Signing up**: 13 at first, as most services ask, up to 17 where the law of a country sets more. - **Adults who may message young members privately**: teachers or coaches by role or member type, and the admins or moderators of a space only in the spaces they share with the young member. Administrators, moderators and staff always may. - **A link a young member asks for stands** once an administrator confirms it, after the adult says yes, or as soon as the adult says yes. (Screenshot: Parents and guardians: A link a young member asks for stands, Once an administrator confirms it, after the adult says yes, picked, and the note An administrator confirms each parent or guardian in Settings → Moderation. Parents and guardians.) The screen warns of what leaves young members open: - Sign-up with no approval and no age check, so ages are only what members type. - Spaces anyone can join, with young members in them. - Spaces members made that already had young members and adults in them when it was switched on. **Settings → Moderation** lists each one, to open to young members or keep for adults. - Members who can create spaces. Let only administrators create them under **Settings → Spaces**. - The Users lists of Better Messages, which show every account. ## Changing Young members The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Young members works inside that: whether a reader finds a young member in a list or sees their profile is decided in the data that reader gets, never in a page drawn for them. Keep a change that way. [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) gives the rules, the API and a recipe. - **Showing more of a young member or of a link to a parent**: data and a template, never HTML drawn for one reader. What one reader alone may see, such as the young members in the care of a parent, is a part registered on `poly_community_register_page_data`, its answer returning data, bound with `state.partHere`. A fact about a young member never goes in the data of a row every reader gets. `wp poly-community page-data check settings` says whether the page is one drawing for each kind of reader, and what to change if it is not. - **With a coding agent** such as Claude Code, Codex or Gemini CLI: give it the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show on the Account tab of a parent the date each young member in their care was linked: register a part on poly_community_register_page_data whose answer returns those dates, and bind it in the template with state.partHere. Draw no HTML for one reader in PHP. Run wp poly-community page-data check settings and fix what it reports." - **In the admin**: the settings above, and [Settings → Words](https://www.poly-community.com/docs/settings/words/) for any of its texts. - **In the Site Editor**: **Community: Parent or guardian** is the page a parent answers on, with the block **Parent or guardian link**. **Date of birth** is the block of the sign-up form, and **Date of birth settings** and **Parents and guardians** are the blocks of the Account tab. [Changing a component](https://www.poly-community.com/docs/developers/changing-components/) sets out the ways every component changes. ## Switched off Members under 18 and members whose age is not known are listed, messaged and shown online like everyone else. Their dates of birth are kept, and the protections come back when it is on again. Deleting the data of Young members deletes every date of birth and every link to a parent or guardian, for good. --- # Services Address: https://www.poly-community.com/docs/services/overview/ A service is something your community gets from outside itself: a mail service that delivers its email, a texting service for codes by SMS, a storage for big files, a map, a GIF library, a captcha, a check of who someone is, a provider members log in with, an AI that translates, a way to take payments. Each one is optional. A site starts with none set up, and works. They are all under **Poly Community → Settings → Services**, each with its state and what it is for. (Screenshot: Settings, Services: Sending, Files and media, Accounts and safety and More, each service with what it is for and its state. Settings → Services.) ## Which you need | Service | You need it when | Without it | |---|---|---| | [Text messages](https://www.poly-community.com/docs/services/texts/) | members sign up or log in with a phone number | email does it all | | [Email delivery](https://www.poly-community.com/docs/services/mail/) | your host does not deliver email well | WordPress sends as it does now | | [Storage](https://www.poly-community.com/docs/services/storage/) | uploads outgrow your server | files stay on your server | | [GIFs](https://www.poly-community.com/docs/services/gifs/) | you want GIFs in posts | the GIF button is not there | | [Maps and places](https://www.poly-community.com/docs/services/places/) | posts and profiles show a place on a map | places are names alone | | [Spam protection](https://www.poly-community.com/docs/services/spam/) | bots find your forms | the built-in check guards them | | Identity and age checks | members must prove who they are or their age | members confirm their email or phone only | | [Single sign-on](https://www.poly-community.com/docs/services/sso/) | members log in with Google, Apple, Microsoft or your own directory | they log in with a password or a code | | [AI](https://www.poly-community.com/docs/services/ai/) | posts are translated, or found by meaning | neither | | [Payments](https://www.poly-community.com/docs/services/payments/) | members pay for plans or buy | nothing is sold | WordPlus Cloud is not on this page: it makes the whole community live, and is connected with a plugin of its own. ## The state of each service The Services page says, for each: - **Working**: set up, and the last time it was asked it answered. The line under its name says how it works, such as **Sent through Postmark**. - **Not set up**: nothing chosen yet, with **Set up**. - **Failing**: it was asked and refused, or did not answer, with what it said. Open it to see when it last worked and what failed lately. A setting elsewhere that needs a service which is not ready says so beside its switch, **Needs text messages**, with a link here, and stays off until it is. ## Alerts When a service the site relies on keeps failing, administrators get an email and a notice in wp-admin, and an email once it works again. **Service alerts**, under the list, sends them to the admin email of the site, every administrator, or other addresses. Email delivery failing shows only the notice, as an email about it could not arrive. ## Where the keys are kept Keys and secrets are kept sealed in the database of your site, readable only by your site. The screens never show one again after it is saved, only that one is kept and its last characters, and **Replace** or **Remove** it. A key another WordPlus plugin of the site uses for the same service, such as the captcha or a storage, is shared with it. Each service gets only what it needs from your members, and its screen says what that is. Name the services you use in your privacy policy: **Settings → Privacy** lists them with what each receives. --- # Email delivery Address: https://www.poly-community.com/docs/services/mail/ Your site sends email all the time: notifications, the codes members log in with, digests, welcome emails and the emails of every component. Email delivery decides how that email leaves your site, and from whom it says it comes. (Screenshot: Services, Email delivery: Postmark chosen, the sender name and address, the server API token kept, the bounce webhook address and Send a test. Settings → Services → Email delivery.) It sends every email of the site, not only those of Poly Community: anything WordPress or another plugin sends with `wp_mail()` goes the same way. ## Which way to choose - **WordPress mail** sends with whatever sends your site mail now: the mail function of your host, or an SMTP plugin you already use. It is the default, and it changes nothing. - **An SMTP server** sends through a mailbox or a mail server you have, such as the one of your host, Google Workspace, Microsoft 365 or Amazon SES. See [SMTP](https://www.poly-community.com/docs/services/mail/smtp/) and [Amazon SES](https://www.poly-community.com/docs/services/mail/amazon-ses/). - **Postmark**, **SendGrid** and **Mailgun** send through a mail service, on an account of yours there. They deliver best, and they tell your site when an address bounces or a member marks your email as spam, so it is never sent to again. See [Postmark](https://www.poly-community.com/docs/services/mail/postmark/), [SendGrid](https://www.poly-community.com/docs/services/mail/sendgrid/) and [Mailgun](https://www.poly-community.com/docs/services/mail/mailgun/). On shared hosting, the mail function of the host often lands in spam folders or is not sent at all. If members say they never got their code, choose an SMTP server or a mail service. ## Setting it up 1. Go to **Poly Community → Settings → Services → Email delivery**. 2. Under **Send with**, press **Change**, then the way you want. Its settings open under it. 3. Fill them in, as the guide of that way says. 4. Press **Save changes** at the foot of the page. 5. Press **Send me a test email**. One email goes to your own address, the way that is saved. (Screenshot: Send with: WordPress mail, An SMTP server, Postmark, SendGrid and Mailgun as tiles, with Cancel. Send with, after Change.) The status at the top says which way the email is sent, such as **Sent through Postmark**. When an email could not be sent, it says so with what the server answered, and the Services page marks Email delivery as failing. The next email that goes out clears it. ## The sender - **Sender name** is the name members see in their inbox. Empty, it is the name of your site. - **Sender address** is the address the email comes from. Use an address at the domain of your site, such as `community@example.com`. A mail service sends only from a domain you have set up with it, and an address at another domain, such as a Gmail address, ends up in spam. Empty, it is the address WordPress uses, `wordpress@` and your domain. ## Addresses never sent to again **Never sent to** lists the addresses no email goes to: those that bounced for good, those whose owner marked your email as spam, and those you added. Postmark, SendGrid and Mailgun add them on their own once their webhook is set up, as each guide says. The rest of an email still goes out: if one of three addresses is on the list, the other two get it. (Screenshot: Never sent to: an address that bounced and one added by hand, each with Send to it again, and Add an address. Never sent to, under Email delivery.) To stop email to an address yourself, type it under **Add an address** and press **Never send to it**. **Send to it again** takes an address off the list, for example after a member fixed their mailbox. ## Where it is used Every email of the site goes this way. Two places rely on it most: - **Notifications by email**, under Settings → Notifications. - **Ways to log in**, where a code by email depends on the email arriving. See [Ways to log in](https://www.poly-community.com/docs/joining/logging-in/). When another service of the site fails, the administrators get an email about it. A failure of Email delivery itself shows only as a notice in wp-admin, as an email about it could not arrive. --- # SMTP Address: https://www.poly-community.com/docs/services/mail/smtp/ An SMTP server is the server a mail program sends through. Your host gives you one with every mailbox, and so do Google Workspace, Microsoft 365, Zoho Mail, Fastmail, Amazon SES and others. Sending through it, rather than through the mail function of the host, makes your email arrive. How Email delivery works for every way is on [Email delivery](https://www.poly-community.com/docs/services/mail/). ## What you need The settings of the server, from your host or mail service: - the address of the server, such as `smtp.example.com` - the port, most often `587`, or `465` - the encryption, **STARTTLS** on port 587 or **SSL/TLS** on port 465 - a username and a password, most often a mailbox address and its password Some services want a password made for one app rather than the one you log in with. Google asks for an [app password](https://support.google.com/accounts/answer/185833) with two-step verification on, and Microsoft 365 for SMTP authentication to be allowed for the mailbox. ## Setting it up 1. Go to **Poly Community → Settings → Services → Email delivery**. 2. Under **Send with**, press **Change**, then **An SMTP server**. 3. Fill in **Server**, **Port** and **Encryption**. 4. Fill in **Username**, and press **Add** beside **Password** to enter it. The password is kept sealed: the screen shows only that one is set. 5. Set the **Sender address** to the address of the mailbox, or another address the server lets it send as. 6. Press **Save changes**, then **Send me a test email**. (Screenshot: Email delivery with An SMTP server: Server, Port 587, Encryption STARTTLS, Username and the password set. Settings → Services → Email delivery, An SMTP server.) The status at the top says **Sent through the SMTP server** and its address. If the test fails, it says what the server answered: a refused login means the username or the password, a server that does not answer means the address, the port or a host that blocks outgoing mail on that port. ## Bounces An SMTP server does not tell your site about bounces: they come back to the sender address as emails. Read that mailbox now and then, and put an address that keeps bouncing on **Never sent to** by hand. A mail service such as [Postmark](https://www.poly-community.com/docs/services/mail/postmark/), [SendGrid](https://www.poly-community.com/docs/services/mail/sendgrid/) or [Mailgun](https://www.poly-community.com/docs/services/mail/mailgun/) does that on its own. --- # Amazon SES Address: https://www.poly-community.com/docs/services/mail/amazon-ses/ Amazon Simple Email Service sends email from the servers of AWS, for a small price per thousand emails. Your site sends through it as through any SMTP server, with SMTP credentials SES makes for you. You need an AWS account and a domain of your own. How Email delivery works for every way is on [Email delivery](https://www.poly-community.com/docs/services/mail/). ## 1. Verify your domain 1. In the [SES console](https://console.aws.amazon.com/ses/), choose the region you want to send from, such as **Europe (Frankfurt)**, at the top right. 2. Go to **Configuration → Identities** and press **Create identity**. 3. Choose **Domain**, enter your domain, such as `example.com`, and keep **Easy DKIM**. 4. Add the three DKIM records SES shows at the DNS of your domain. SES marks the domain verified once it sees them, which can take a while. ## 2. Make SMTP credentials 1. In the same region, go to **SMTP settings** and note the **SMTP endpoint**, such as `email-smtp.eu-central-1.amazonaws.com`. 2. Press **Create SMTP credentials** and confirm. SES makes a user of its own for sending. 3. Copy the **SMTP user name** and the **SMTP password** now: the password is shown only once. It is not the password of your AWS account. Credentials work only in the region they were made in. ## 3. Enter them 1. In WordPress, go to **Poly Community → Settings → Services → Email delivery**. 2. Under **Send with**, press **Change**, then **An SMTP server**. 3. **Server**: the SMTP endpoint, **Port**: `587`, **Encryption**: **STARTTLS**. 4. **Username** and **Password**: the SMTP credentials. 5. **Sender address**: an address at your verified domain. 6. Press **Save changes**, then **Send me a test email**. (Screenshot: Email delivery with An SMTP server set to the Amazon SES endpoint of Frankfurt, port 587, STARTTLS and SMTP credentials. Settings → Services → Email delivery, sending through Amazon SES.) ## Leaving the sandbox A new SES account is in the sandbox: it sends only to addresses and domains you verified in SES, at most 200 emails a day. That is enough for the test, not for members. On the **Account dashboard** of SES, press **Request production access** and say what your site sends. AWS answers within a few days. ## Bounces SES keeps its own list of addresses that bounced and stops sending to them, but it does not tell your site, so they do not show under **Never sent to**. Add an address there by hand if you want your site to stop trying it. --- # Mailgun Address: https://www.poly-community.com/docs/services/mail/mailgun/ Mailgun sends the email of your site from its own servers and tells your site when an address fails for good or marks your email as spam, so no email goes to it again. You need a Mailgun account and a domain to send from. How Email delivery works for every way is on [Email delivery](https://www.poly-community.com/docs/services/mail/). ## 1. Add your sending domain In [Mailgun](https://app.mailgun.com), go to **Sending → Domains** and add a domain to send from, such as `mg.example.com`, in the region you choose, **US** or **EU**. Add the records Mailgun shows at the DNS of your domain and wait until it says the domain is verified. A new account has a sandbox domain too. It sends only to the few addresses you list as authorized recipients in Mailgun, which suits a first try, not your members. ## 2. Make an API key Under your account menu, open **API Security** (the API keys of the account) and make a key, or copy the private API key. Keep it to yourself: anyone who has it can send as your site. ## 3. Enter the key 1. In WordPress, go to **Poly Community → Settings → Services → Email delivery**. 2. Under **Send with**, press **Change**, then **Mailgun**. 3. Paste the key into **API key**. 4. Enter the **Sending domain** exactly as Mailgun lists it, such as `mg.example.com`. 5. Choose the **Region** of the domain, **US** or **EU**. A domain made in the EU region is not found through the US one. 6. Set the **Sender address** to an address at that domain, and press **Save changes**. (Screenshot: Email delivery with Mailgun: the API key kept, the sending domain, the region, the webhook signing key and the webhook address. Settings → Services → Email delivery, Mailgun.) Mailgun is sent as a form, without attachments. Your site sends no email with attachments of its own, so this only matters for email another plugin sends with files. ## 4. Add the webhook 1. In Mailgun, under **API Security**, copy the **HTTP webhook signing key**, paste it into **Webhook signing key** in WordPress and save. 2. Copy the **Webhook address** from the screen. 3. In Mailgun, go to **Sending → Webhooks**, choose your domain, and add that address for **Permanent Failure** and for **Spam Complaints**. Your site takes only events signed with that key. From then on, an address that fails for good or marks your email as spam goes on **Never sent to**. A temporary failure, which Mailgun tries again, does not. ## 5. Send a test Press **Send me a test email**. The status at the top says **Sent through Mailgun**, and the email shows in the **Logs** of Mailgun, then in your inbox. If the status says the domain was not found, check the sending domain and the region. --- # Postmark Address: https://www.poly-community.com/docs/services/mail/postmark/ Postmark sends the email of your site from its own servers, which arrive in inboxes far more often than the mail function of a host. It also tells your site when an address bounces or someone marks your email as spam, so no email goes to that address again. You need a Postmark account and a domain of your own to send from. How Email delivery works for every way is on [Email delivery](https://www.poly-community.com/docs/services/mail/). ## 1. Make a server and its token 1. Log in to [Postmark](https://account.postmarkapp.com) and make a **Server** for your site, such as Riverside Community. 2. Open the server, then its **API Tokens** tab, and copy the **Server API token**. Keep the token to yourself: anyone who has it can send email as your site. ## 2. Set up your domain Under **Sender Signatures**, add your domain, such as `example.com`, and add the DKIM and Return-Path records Postmark shows at the DNS of your domain. Postmark sends only from a domain or an address you set up there, so the sender address in Poly Community must be at that domain. A new Postmark account is reviewed by Postmark before it sends to anyone: until then it sends only to addresses at your own domain, as the notice in its dashboard says. ## 3. Enter the token 1. In WordPress, go to **Poly Community → Settings → Services → Email delivery**. 2. Under **Send with**, press **Change**, then **Postmark**. 3. Paste the token into **Server API token**. 4. Leave **Message stream** empty, so Postmark sends through its transactional stream, `outbound`. Enter the ID of another stream only if you made one for this site. 5. Set the **Sender address** to an address at your domain, and the **Sender name** if the name of your site is not the one you want. 6. Press **Save changes** at the foot of the page. (Screenshot: Email delivery with Postmark: the server API token kept, Message stream empty, and the bounce and spam complaint webhook address. Settings → Services → Email delivery, Postmark.) ## 4. Add the webhook Once Postmark is saved, **Bounce and spam complaint webhook** shows an address. Copy it. In Postmark, open your server, its transactional message stream, then **Webhooks**, and add a webhook with that address. Tick **Bounce** and **Spam Complaint**, and save it. From then on, an address that bounces for good or marks your email as spam goes on **Never sent to**. A bounce that may pass, such as a full mailbox, does not. The address carries a key of its own, so only Postmark can use it: keep it to yourself. ## 5. Send a test Press **Send me a test email**. The status at the top says **Sent through Postmark**, and the email shows in the **Activity** of the stream in Postmark, then in your inbox. If it fails, the status says what Postmark answered. Most often the sender address is not at a domain set up in Postmark, or the token is of another server. --- # SendGrid Address: https://www.poly-community.com/docs/services/mail/sendgrid/ SendGrid, by Twilio, sends the email of your site from its own servers and tells your site when an address bounces or marks your email as spam, so no email goes to it again. You need a SendGrid account and a domain of your own to send from. How Email delivery works for every way is on [Email delivery](https://www.poly-community.com/docs/services/mail/). ## 1. Make an API key 1. Log in to [SendGrid](https://app.sendgrid.com) and go to **Settings → API Keys**. 2. Press **Create API Key**, give it a name such as your site, and choose **Restricted Access**. 3. Give it **Mail Send** and nothing else, and press **Create & View**. 4. Copy the key now: SendGrid shows it only once. ## 2. Set up your domain Under **Settings → Sender Authentication**, authenticate your domain and add the records SendGrid shows at the DNS of your domain. The sender address in Poly Community must be at that domain. ## 3. Enter the key 1. In WordPress, go to **Poly Community → Settings → Services → Email delivery**. 2. Under **Send with**, press **Change**, then **SendGrid**. 3. Paste the key into **API key**. 4. Set the **Sender address** to an address at your domain. 5. Press **Save changes** at the foot of the page. (Screenshot: Email delivery with SendGrid: the API key kept, the Event Webhook address and Its verification key. Settings → Services → Email delivery, SendGrid.) ## 4. Add the Event Webhook 1. Copy the **Event Webhook address** from the screen. 2. In SendGrid, go to **Settings → Mail Settings → Event Webhooks** and press **Create new webhook**. 3. Paste the address as its URL, and tick the events **Bounced**, **Dropped** and **Spam Reports**. 4. Under **Security features**, turn on **Enable Signed Event Webhook** and save. 5. Open the webhook again: SendGrid now shows its **Verification Key**. Copy it into **Its verification key** in WordPress and press **Save changes**. Your site takes only events signed with that key. From then on, an address that bounces, is dropped by SendGrid or marks your email as spam goes on **Never sent to**. A message SendGrid blocked for a while, rather than bounced, does not. ## 5. Send a test Press **Send me a test email**. The status at the top says **Sent through SendGrid**, and the email shows in the **Activity** of SendGrid, then in your inbox. If it fails, the status says what SendGrid answered: most often the key lacks Mail Send, or the sender address is not at your authenticated domain. --- # Text messages (SMS) Address: https://www.poly-community.com/docs/services/texts/ Text messages send members a code by SMS: to confirm their phone number when they sign up or add it in **Edit profile → Account**, to log in with a code where you allow it, and one reminder to finish signing up. They go through a texting service, on an account of yours there, and each text costs you a little. You need them only if members sign up or log in with a phone number. Email does all of this otherwise. (Screenshot: Services, Text messages: Telnyx chosen and ready, its key and sender, Send a test, and Sending and limits with the countries texts may go to. Settings → Services → Text messages.) ## Setting it up 1. Make an account with a texting service and get its keys: [Telnyx](https://www.poly-community.com/docs/services/texts/telnyx/) or [Twilio](https://www.poly-community.com/docs/services/texts/twilio/). 2. Go to **Poly Community → Settings → Services → Text messages**. 3. Under **Service**, choose the service. Its fields open under it. 4. Fill them in, as the guide of the service says. 5. Under **Sending and limits**, enter the **Countries texts may go to**. 6. Press **Save changes** at the foot of the page, then **Send a test** to a number of yours. The status at the top says **Working** once the service has its keys and a country to text. **Texts that failed lately** lists what the service refused, with its words. To stop texting, press **Change** and choose **Off**. Then decide where members use them: - **Phone number** under **Settings → Joining → Signing up**: Optional or Required, and whether a member can sign up with a number in place of an email address. See [Confirming email addresses and phone numbers](https://www.poly-community.com/docs/verification/email-and-phone/). - **A code by text message** under **Settings → Joining → Logging in**. See [Logging in by text message](https://www.poly-community.com/docs/joining/texted-codes/). ## Countries texts may go to Only numbers with a calling code on this list get a text: `+44, +49, +353`, or `+1` for the US and Canada. Anyone can type a number, and some numbers cost far more to text than others, so a list keeps your site from texting expensive numbers abroad. Until you save a list, it holds the country of your site, from its language. An empty list sends nothing. **What someone from a country you don't text reads** is shown under the phone number once a member chooses a country you don't text, or types a number of one. Say where texts go, or what to do instead, such as signing up with an email address. **Words for chosen calling codes** say something else for one code, such as when texts will reach it. A longer code wins over a shorter one, so `+1876` (Jamaica) over `+1`. **Countries you don't text** decides how they show in the list of countries of the phone number field: - **List them with your words**: someone from there finds their country, marked No texts, and reads your words at once. - **Leave them out**: the list holds only the countries you text. Someone who searches for theirs reads your words. ## Limits - **Texts a month**: none go after this many until next month, and you get an email when it is reached. 0 for no cap. The line under it says how many went this month. - **Texts to new numbers an hour**: codes for signing up or adding a number, for the whole site. Past this many they wait until the hour ends, and you get an email. Codes for logging in still go. 0 for no limit. - **Texts to new numbers a day**: the same for a day, which ends at midnight where your site is. The two counts under them say how many went to new numbers this hour and today. ## Countries that abuse codes Codes for signing up or adding a number can be abused: someone has your site text numbers that earn them money and never enters the codes. Your site watches each country: one whose codes to new numbers are mostly never entered is paused for a day, and you get an email. The figures show, for today or this month, how many codes went to new numbers in each country, how many were entered, and the share entered. A real country sits near the top. One where hardly any code is entered is the one to take off your list. ## Your privacy policy The texting service gets the phone number and the code of each text. Name it in your privacy policy: each service links its own under its fields. --- # Twilio Address: https://www.poly-community.com/docs/services/texts/twilio/ Twilio sends the texts of your site for about $0.008 a text in the US plus the carrier fee, more in other countries, from a number of yours or a messaging service that picks one. How Text messages work, and their limits, is on [Text messages (SMS)](https://www.poly-community.com/docs/services/texts/). ## 1. Your keys 1. Make an account at [Twilio](https://www.twilio.com) and open its [Console](https://console.twilio.com). 2. Under **Account Info** on its first page, copy the **Account SID** and the **Auth Token**. Keep the token to yourself: anyone who has it can use your account. ## 2. A number, or a messaging service - **A number**: under **Phone Numbers → Manage → Buy a number**, buy one with SMS. Texts to the US and Canada need a number registered for them, toll-free with its verification or local with 10DLC. - **A messaging service**: under **Messaging → Services**, press **Create Messaging Service** and add your numbers to its sender pool. Twilio then picks the number for each text. Copy its SID, which starts with `MG`. A trial account sends only to numbers you verified in Twilio, and only for its first days. Upgrade it before members sign up. ## 3. Enter them 1. In WordPress, go to **Poly Community → Settings → Services → Text messages**. 2. Under **Service**, choose **Twilio**. 3. **Account SID** and **Auth token**: from step 1. 4. **From**: your number with its calling code, such as `+15550001111`. Or leave it empty and fill **Messaging service SID** instead. 5. Under **Sending and limits**, enter the countries you text, then press **Save changes**. (Screenshot: Text messages with Twilio: the Account SID, the Auth token kept, From a number and the messaging service SID empty. Settings → Services → Text messages, Twilio.) ## 4. Send a test Under **Send a test**, type a number of yours with its calling code and press **Send**. On a trial account it must be a number you verified. The answer of Twilio stays on the screen, and **Texts that failed lately** says why a text was refused, in the words of Twilio. --- # Telnyx Address: https://www.poly-community.com/docs/services/texts/telnyx/ Telnyx sends the texts of your site for about $0.004 a text in the US plus the carrier fee, more in other countries. Texts can come from a number of yours or, in most countries outside North America, from a sender name such as Riverside. How Text messages work, and their limits, is on [Text messages (SMS)](https://www.poly-community.com/docs/services/texts/). ## 1. Make an API key 1. Make an account at [Telnyx](https://telnyx.com) and log in to its portal. 2. Open [API Keys](https://portal.telnyx.com/#/app/api-keys) and press **Create API Key**. 3. Copy the key. Keep it to yourself: anyone who has it can text as your site. ## 2. A number, or a sender name Texts need something to come from. - **A number**: under **Numbers → Search & Buy**, find a number with SMS among its features and buy it. - **A sender name** (alphanumeric sender ID): 1 to 11 letters, digits and spaces, with at least one letter. Members can't answer it, and Telnyx asks for a verified account for it. It does not reach the US, Canada or Puerto Rico, and some countries ask for it to be registered first. Then make a **Messaging Profile** under **Messaging**: press **Add new profile**, give it a name and save it. Assign your number to it under **My Numbers**, or set the sender name on it. Copy the ID of the profile. The US and Canada take texts only from a number registered for them: a toll-free number with its verification, or a local number registered for 10DLC. If you text `+1`, buy such a number too. ## 3. Enter them 1. In WordPress, go to **Poly Community → Settings → Services → Text messages**. 2. Under **Service**, choose **Telnyx**. 3. **API key**: the key from step 1. 4. **From**: your number with its calling code, such as `+15550001111`, or your sender name. 5. **Messaging profile ID**: the ID of the profile. It is needed for a sender name. 6. **From for +1 numbers**: your number for the US and Canada, if you text them and From is a sender name. 7. Under **Sending and limits**, enter the countries you text, then press **Save changes**. (Screenshot: Text messages with Telnyx: the API key kept, From a sender name, the messaging profile ID and a number for +1. Settings → Services → Text messages, Telnyx.) ## 4. Send a test Under **Send a test**, type a number of yours with its calling code and press **Send**. The text costs what any text costs. It arrives within seconds, and the answer of Telnyx stays on the screen. If it fails, **Texts that failed lately** says why in the words of Telnyx: most often the country is not one the profile may text, or the sender name is not set up on it yet. --- # Storage Address: https://www.poly-community.com/docs/services/storage/ Pictures, videos, audio and documents members upload are kept on your server, in the uploads folder of WordPress. A cloud storage keeps them elsewhere, so your server needs less disk and less bandwidth, and big files load from a network made for them. You need it only when uploads outgrow your server. A site starts with every file on this server, and that works as it is. (Screenshot: Services, Storage: an S3-compatible storage connected and working, This server always on, and images and videos kept in the storage. Settings → Services → Storage.) ## The storages - **This server** is always there. Files stay in it until you send a kind of them elsewhere. - **Cloudflare R2**, **Bunny** and **Amazon S3 or S3-compatible** are the cloud storages. The last one also takes any storage that speaks the S3 API, such as Backblaze B2, Wasabi, DigitalOcean Spaces or a MinIO server of your own. A storage is shared by every WordPlus plugin of the site: with [Better Messages](https://www.poly-community.com/docs/integrations/better-messages/) active, the files of messages can go to the same bucket, each plugin choosing where its own kinds go. ## Connecting a storage 1. Make a bucket and its keys at the provider, as its guide says: [Cloudflare R2](https://www.poly-community.com/docs/services/storage/cloudflare-r2/), [Bunny](https://www.poly-community.com/docs/services/storage/bunny/) or [Amazon S3](https://www.poly-community.com/docs/services/storage/amazon-s3/). 2. Go to **Poly Community → Settings → Services → Storage** and choose the provider. 3. Press **Connect** and fill in the bucket and its keys. 4. Press **Test connection**. The test writes a small file, reads it back, checks that a stranger cannot open it while a link your site signed can, and deletes it, and says how each step went. 5. Press **Save**. When the test found a problem nothing is saved: fix the settings, or press **Save anyway** if you know why. (Screenshot: Connecting Cloudflare R2: Account ID, Bucket, Access key ID, Secret access key, Folder, and Who can open files. Connecting a storage.) **Folder** keeps the files of this site in a folder of the bucket, so one bucket can serve several websites. Connecting sends no file there yet. That is the next step. ## Where files go Under **Where files go**, choose a place for each kind of file: **Images**, **Videos**, **Audio**, and **Documents and other files**. Press **Save changes** at the foot of the page. New uploads go to their place right after they are made. Pictures are made into three sizes on this server first, then moved. Videos, audio and documents go straight from the browser of the member to a storage that takes them, so the upload limit of your server does not apply to them. The size limits under **Settings → Posts → Pictures and files** still hold. ## Who can open files When you connect a storage, you choose who can open its files: - **Only people allowed to see the file**: each view gets a link your site signs, valid for a day or a day and a half. Without such a link nobody can open or list the files. Keep the bucket private. This is the choice for a community. - **Anyone with the link (public URL)**: files open straight from the bucket or a CDN in front of it, without asking your site. Anyone who has the link of a file can open it. Closed files, such as the photos of a private album and the files sent with forms, stay on this server whatever you choose for their kind, unless the storage keeps them closed: it serves only people allowed to see them, and passed its check. The screen says so beside each kind when they stay. ## Uploads straight from the browser **Browser uploads** sends files from the browser of the member to the bucket, never through your server. It needs a CORS rule on the bucket that lets your site in. **Configure CORS** adds it for you, where the keys may change the bucket. Where they may not, add it in the console of the provider: the guide of each provider has it. The status says **Working: browsers and apps upload files straight to the bucket**, or that files go through this server until the rule is there. With it off, every file is uploaded to your server first and copied to the bucket afterwards, so your server carries every upload twice. ## Moving files already uploaded Changing where a kind of file goes changes only new uploads. The screen then says how many files are not where their kind goes now, with **Move them**. Files keep opening while they move: each one gets its new link, and the old copy is deleted a day or two later, once devices have the new links. **Move files**, under the storages, moves every file from one storage to another, such as from this server to R2 when you first connect it, or from one bucket to the next. ## Disconnecting **Disconnect** is offered once no kind of file goes to the storage any more: choose another place for them first, and move the files. Files already stored there stay readable until you move them. --- # Amazon S3 Address: https://www.poly-community.com/docs/services/storage/amazon-s3/ **Amazon S3 or S3-compatible** connects Amazon S3 itself, and any storage that speaks its API: Backblaze B2, Wasabi, DigitalOcean Spaces, Scaleway, a MinIO server of your own and many others. How storages work, and where each kind of file goes, is on [Storage](https://www.poly-community.com/docs/services/storage/). ## 1. Make a bucket In the [S3 console](https://console.aws.amazon.com/s3/), go to **General purpose buckets** and press **Create bucket**. Give it a name and a region, such as `eu-central-1`, and keep **Block all public access** on: your site signs a link for each view. The name and the region can't change later. At another provider, make a bucket the same way and note its endpoint. ## 2. Make a key for the bucket alone Make a key that can read, write, delete and list the files of this bucket, and nothing else. In AWS: 1. In **IAM**, make a user for your site, such as `riverside-uploads`. 2. Give it a policy for the bucket, with your bucket name in place of `riverside-uploads`: ```json { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": ["s3:ListBucket", "s3:GetBucketCors", "s3:PutBucketCors"], "Resource": "arn:aws:s3:::riverside-uploads" }, { "Effect": "Allow", "Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"], "Resource": "arn:aws:s3:::riverside-uploads/*" } ] } ``` 3. Under the **Security credentials** of the user, press **Create access key**, and copy the **Access key ID** and the **Secret access key**. AWS shows the secret only once. ## 3. Connect it 1. In WordPress, go to **Poly Community → Settings → Services → Storage** and choose **Amazon S3 or S3-compatible**. 2. Press **Connect**. Leave **Endpoint** empty for Amazon S3, or enter the one your provider gives you. 3. Fill in the **Region**, the **Bucket**, the **Access key ID** and the **Secret access key**. 4. Under **Who can open files**, keep **Only people allowed to see the file**. 5. Press **Test connection**, then **Save**. (Screenshot: Connecting Amazon S3: Endpoint empty, Region eu-central-1, Bucket, Access key ID, Secret access key and Folder. Settings → Services → Storage, Amazon S3.) Then choose what goes there under **Where files go**, as [Storage](https://www.poly-community.com/docs/services/storage/#where-files-go) says. With the policy above, **Configure CORS** adds the rule for uploads from the browser. ## Other providers Each provider gives an endpoint for its region, such as `s3.eu-central-003.backblazeb2.com` for Backblaze B2, `fra1.digitaloceanspaces.com` for DigitalOcean Spaces or `s3.eu-central-1.wasabisys.com` for Wasabi. A MinIO server of your own needs **Path-style URLs** on. A provider that makes files public one by one, such as DigitalOcean Spaces, offers **Upload each file as public-read** for public files. ## Public files If you choose **Anyone with the link** instead, enter the **Public URL** files are served from: the public address of the bucket, or a CDN in front of it. The bucket then has to let anyone read its files. --- # Cloudflare R2 Address: https://www.poly-community.com/docs/services/storage/cloudflare-r2/ R2 is the object storage of Cloudflare. It charges nothing for the traffic of files that are opened, and its free tier holds 10 GB a month. How storages work, and where each kind of file goes, is on [Storage](https://www.poly-community.com/docs/services/storage/). You need a Cloudflare account with R2 turned on. Cloudflare asks for a payment method for it, even within the free tier. ## 1. Make a bucket 1. In the [Cloudflare dashboard](https://dash.cloudflare.com), open **R2 object storage**. 2. Press **Create bucket** and give it a name, such as `riverside-uploads`: lowercase letters, digits and hyphens. 3. Leave it private. Your site signs a link for each view. The **Account ID** is on the R2 overview page, under **Account Details**. Copy it. ## 2. Make an API token 1. On the R2 overview page, under **Account Details**, press **Manage** beside **API Tokens**. 2. Press **Create Account API token**. 3. Give it **Admin Read & Write**, so your site can also set the CORS rule of the bucket, and press **Create**. 4. Copy the **Access Key ID** and the **Secret Access Key**. Cloudflare shows the secret only once. **Object Read & Write** on this bucket alone works too, but then you add the CORS rule yourself (step 4). ## 3. Connect it 1. In WordPress, go to **Poly Community → Settings → Services → Storage** and choose **Cloudflare R2**. 2. Press **Connect** and fill in the **Account ID**, the **Bucket**, the **Access key ID** and the **Secret access key**. 3. Under **Who can open files**, keep **Only people allowed to see the file**. 4. Press **Test connection**, then **Save**. (Screenshot: Connecting Cloudflare R2: Account ID, Bucket, Access key ID, Secret access key, Folder, Who can open files and the Worker. Settings → Services → Storage, Cloudflare R2.) Then choose what goes to R2 under **Where files go**, as [Storage](https://www.poly-community.com/docs/services/storage/#where-files-go) says. ## 4. Uploads from the browser With an Admin token, **Configure CORS** adds the rule to the bucket for you. With an Object token, add it in Cloudflare: open the bucket, **Settings → CORS Policy → Add CORS policy**, and paste a rule that lets your site `PUT` and `GET`, such as: ```json [{"AllowedOrigins": ["https://example.com"], "AllowedMethods": ["GET", "PUT", "HEAD"], "AllowedHeaders": ["*"], "ExposeHeaders": ["ETag"], "MaxAgeSeconds": 3600}] ``` ## A Worker on your own domain, if you want to Without one, files open straight from R2 for whoever your site signed a link for. A Worker serves them from a domain of yours instead, through the network of Cloudflare: 1. Turn on **Serve files through a Cloudflare Worker** in the dialog, and press **Copy Worker script**. 2. In Cloudflare, under **Workers & Pages**, create a Worker, paste the script and deploy it. 3. In the settings of the Worker, add an **R2 bucket binding** named `R2_BUCKET` for your bucket, and a secret named `WORKER_SECRET`: press **Generate** beside **Worker Secret** in the dialog and copy it there before you save. 4. Connect a domain of yours to the Worker, such as `files.example.com`, or use its `workers.dev` address, and enter it as the **Worker URL**. **Test Worker** checks it. ## Public files If you choose **Anyone with the link** instead, files open from a public address: connect a domain to the bucket under its **Settings → Custom Domains**, and enter it as the **Public URL**. The `r2.dev` address Cloudflare offers is rate-limited and meant for testing. --- # Bunny Address: https://www.poly-community.com/docs/services/storage/bunny/ Bunny Storage, by bunny.net, keeps files in a storage zone and serves them through a Pull Zone, its CDN. How storages work, and where each kind of file goes, is on [Storage](https://www.poly-community.com/docs/services/storage/). You need a bunny.net account. ## 1. Make a storage zone 1. In the [bunny.net dashboard](https://dash.bunny.net), go to **Storage** and press **Add Storage Zone**. 2. Give it a name, such as `riverside-uploads`, choose its tier and its main region. 3. Turn on **S3 Compatibility**. It can be turned on only when the zone is made, not later. 4. Press **Add Storage Zone**. Then open the zone and its **Access** page. Under S3, copy the **Storage zone password**. ## 2. Add a Pull Zone Files open from a Pull Zone in front of the storage zone. Under **CDN**, add a Pull Zone, and for its origin choose **Bunny Storage Zone** and your zone. Copy its hostname, such as `riverside.b-cdn.net`, or connect a hostname of your own to it. ## 3. Only people allowed to see a file So that a file opens only through a link your site signed, open the Pull Zone, then **Security**, turn on **Token authentication** and copy its key. The Pull Zone then refuses any link your site did not sign. ## 4. An API key, if you want to When a member deletes a file, the Pull Zone may keep serving it from its cache for a while. With the API key of your account, your site clears the file from the cache at once. It is under **Account settings → API key** in bunny.net. It is used for nothing else. ## 5. Connect it 1. In WordPress, go to **Poly Community → Settings → Services → Storage** and choose **Bunny.net**. 2. Press **Connect**, choose the **Region** of the zone, and fill in the **Storage zone name** and the **Storage zone password**. 3. Under **Pull Zone**, fill in the **Pull Zone hostname**, and the **API key** if you made one. 4. Under **Who can open files**, keep **Only people allowed to see the file** and paste the **Token authentication key**. 5. Press **Test connection**, then **Save**. (Screenshot: Connecting Bunny: Region, Storage zone name, Storage zone password, Pull Zone hostname, API key and the token authentication key. Settings → Services → Storage, Bunny.) Then choose what goes to Bunny under **Where files go**, as [Storage](https://www.poly-community.com/docs/services/storage/#where-files-go) says. If you choose **Anyone with the link** instead, keep Token authentication off on that Pull Zone, and keep those files in a storage zone of their own. --- # Maps and places Address: https://www.poly-community.com/docs/services/places/ Members can add a place to a post and show where they are on their profile. Maps and places decides whether they see a map for it, and which service draws the map and finds the places they type. Nothing is sent to any map service until you choose one here. (Screenshot: Services, Maps and places: OpenStreetMap chosen, place search through Nominatim with a contact email, and the place the map starts at. Settings → Services → Maps and places.) ## Choosing a map service Go to **Poly Community → Settings → Services → Maps and places** and choose the **Map service**: - **Names only, no map**: members type the name of a place. Nothing is sent to any map service, and no map is shown. - **OpenStreetMap**: the map and place search of OpenStreetMap itself, free and run by volunteers for light use. It suits a site with few members. - **Your own map server**: a tile server of yours or a paid one, such as MapTiler, Stadia Maps or Thunderforest, and a place search that answers as Nominatim or Photon does. Press **Save changes**, then **Test the service**. The test asks the map and the search once, and says what works and what fails. Then switch places on where members use them: **Places on posts** under **Settings → Posts**, and **Member locations** under **Settings → Members**. ## OpenStreetMap With OpenStreetMap, choose the **Place search**: - **Nominatim** finds an address or a place by its name when a member presses Enter. Enter a **Contact email**: it is sent with each search, so the Nominatim team can write to you before they block the site. - **Photon** searches as members type, after a pause, and lists places nearby. - **No search**: members move the pin and name the place themselves. **Places nearby** lets the picker list what is around the pin. These servers are free and run by volunteers, and each has rules for the sites that use them. The screen lists them under **Its usage rules**, with what your site does to keep to them: the attribution stays on every map, browsers keep the tiles they got, Nominatim is asked one search at a time and never as you type, and every answer is kept a week. Once many members add places, choose a map server of your own or a paid one. ## Your own map server 1. **Map pictures**: the address of its tiles, with `{z}`, `{x}` and `{y}`, and `{key}` where the key goes, such as `https://api.maptiler.com/maps/streets/{z}/{x}/{y}.png?key={key}`. 2. **Attribution** and **Attribution link**: the words its terms ask on every map, such as © MapTiler © OpenStreetMap contributors. 3. **Closest zoom**: how far its maps zoom in. 4. **Place search**: one that asks as Nominatim does, one that asks as Photon does, or no search, with its **Search address**. 5. **Key**: the key of the service, where its addresses hold `{key}`. The key reaches the browsers of members, so limit it to the domain of your site at the service. (Screenshot: Maps and places with Your own map server: Map pictures, Attribution, Attribution link, Closest zoom, Place search and Key. Your own map server.) ## Where the map starts **The map starts at** takes a latitude and a longitude. Empty, it is the city of the time zone of your site. ## What is sent where The place search always goes from your site, never from the browser of a member, so their address never reaches it. The map pictures go from the browser of the member to the map service, which sees their address, their browser, your site as the referrer and the part of the map they look at. The exact spot of a member is kept only when they choose **Exact spot**. **Area** is the default, rounded to about a kilometre by your site. **What is sent where**, on the screen, lists each service with what it gets, for your privacy policy. --- # GIFs Address: https://www.poly-community.com/docs/services/gifs/ With a GIF service set up, the composer of posts and replies has a **GIF** button. A member searches, picks one, and it goes in their post: a GIF alone is a post too. The GIFs come from GIPHY or KLIPY, on a key of yours. (Screenshot: Services, GIFs: KLIPY chosen and working, its API key kept, Test a search, and GIFs in posts and replies on. Settings → Services → GIFs.) ## Setting it up 1. Get a key from [GIPHY](https://www.poly-community.com/docs/services/gifs/giphy/) or [KLIPY](https://www.poly-community.com/docs/services/gifs/klipy/). Both are free. 2. Go to **Poly Community → Settings → Services → GIFs** and choose the service. 3. Paste the key into **API key**. 4. For GIPHY, choose the **Content rating**, the strongest GIPHY may show. **G** suits everyone. 5. Press **Save changes** at the foot of the page. 6. Under **Test a search**, type a word and press **Search**. The search runs from your browser, as members search, and its answer stays on the screen. The **GIF** button shows in the composer from then on. To take GIFs out of posts while keeping the service, switch **GIFs** off under **Settings → Posts → GIFs and stickers**, where the sticker packs are too. A space can switch them off for itself. ## What a GIF sends where The search goes from the browser of the member straight to the service, never through your site, as the terms of both services ask. A post keeps only the service and the ID of its GIF. When someone reads the post, their browser asks the service for the GIF near the moment it comes into view: first its still picture, then the GIF as a short muted video that loops while it is in view. With reduced motion asked by their device, it stays still with a play button. So the address of each member who searches, and of each reader who sees a GIF, reaches the service. Under **Settings → Privacy**, outside content can be held until the visitor allows it: a GIF then shows **Show GIFs** first, and your consent plugin decides, if you have one. ## When it stops working A key the service refuses turns the status to **Failing**, with what the service said. Each service limits how many searches a key may make: GIPHY a hundred an hour on a new key, until it is upgraded to a production key. --- # GIPHY Address: https://www.poly-community.com/docs/services/gifs/giphy/ GIPHY is the largest library of GIFs. Its API is free. How GIFs work for members is on [GIFs](https://www.poly-community.com/docs/services/gifs/). ## 1. Make a key 1. Open the [GIPHY developers dashboard](https://developers.giphy.com/dashboard/) and make an account, or log in. 2. Press **Create an API Key**, choose **API**, and give the app the name of your site. 3. Copy the key. A new key is a beta key: GIPHY lets it make 100 calls an hour, enough to try GIFs and for a small community. For more, press **Upgrade to Production** beside the key in the dashboard. GIPHY looks at how your site uses it, so ask once members search GIFs on it. ## 2. Enter it 1. In WordPress, go to **Poly Community → Settings → Services → GIFs** and choose **GIPHY**. 2. Paste the key into **API key**. 3. Choose the **Content rating**: **G** suits everyone, **PG**, **PG-13** and **R** let stronger GIFs in. 4. Press **Save changes**, then **Test a search**. (Screenshot: GIFs with GIPHY chosen: the API key kept, Content rating G, and Test a search. Settings → Services → GIFs, GIPHY.) The key reaches the browser of each member who searches, as GIPHY wants searches made from the browser. That is why it can only search GIFs. The picker shows **Powered by GIPHY**, as its [terms](https://support.giphy.com/hc/en-us/articles/360028134111-GIPHY-API-Terms-of-Service) ask. --- # KLIPY Address: https://www.poly-community.com/docs/services/gifs/klipy/ KLIPY is a library of GIFs whose API is free for apps and sites. How GIFs work for members is on [GIFs](https://www.poly-community.com/docs/services/gifs/). ## 1. Make a key 1. Open the [KLIPY partner portal](https://partner.klipy.com/) and make an account, or log in. 2. Make an app for your site, and copy its API key. ## 2. Enter it 1. In WordPress, go to **Poly Community → Settings → Services → GIFs** and choose **KLIPY**. 2. Paste the key into **API key**. 3. Press **Save changes**, then **Test a search**. (Screenshot: GIFs with KLIPY chosen: the API key kept and Test a search. Settings → Services → GIFs, KLIPY.) The key reaches the browser of each member who searches, as searches go from the browser to KLIPY. Its [terms](https://klipy.com/support/api-terms) are those of the key. --- # Spam protection Address: https://www.poly-community.com/docs/services/spam/ Spam protection checks the forms of your site before they are sent, so bots can't make accounts, guess passwords or fill your inbox. It works as soon as Poly Community is active, with a check of its own that asks visitors nothing and needs no account anywhere. A captcha service adds a stronger check where you want one. (Screenshot: Services, Spam protection: the captcha services as tiles, ALTCHA, Cloudflare Turnstile, reCAPTCHA, hCaptcha and Friendly Captcha, and Where the check runs. Settings → Services → Spam protection.) ## The built-in check The browser of the visitor solves a small puzzle while they type, and the server checks the answer when the form is sent. A person sees nothing of it. A bot that sends the form without a browser has no answer, and the form is refused. It is the check of every form until you choose another, and it stands in whenever a captcha service can't be asked, for example while the service is down. Your forms are never left without a check, and never blocked because a service failed. ## A captcha service For a site that bots find often, choose a captcha service under **Captcha service**: - **ALTCHA** runs on your own site, with no account anywhere and nothing sent to anyone. See [ALTCHA](https://www.poly-community.com/docs/services/spam/altcha/). - **Cloudflare Turnstile**, **Google reCAPTCHA** (v2 with a checkbox, v2 invisible, or v3 with a score), **hCaptcha** and **Friendly Captcha** run at their company, with keys from an account of yours there. See [Turnstile](https://www.poly-community.com/docs/services/spam/turnstile/), [reCAPTCHA](https://www.poly-community.com/docs/services/spam/recaptcha/), [hCaptcha](https://www.poly-community.com/docs/services/spam/hcaptcha/) and [Friendly Captcha](https://www.poly-community.com/docs/services/spam/friendly-captcha/). Choose one, enter its keys, a **Site key** and a secret, and press **Save changes**. The secret is asked of the service before it is kept, so a wrong one is refused at once. Keys are stored sealed and never shown again: the screen says only that one is saved, with its last characters. The captcha you choose is the captcha of the whole site: every WordPlus plugin on it uses the same one. ## Where the check runs Each form has its own check: **Built-in check**, **The site captcha**, or **Off**. (Screenshot: Where the check runs: Creating an account, Logging in, Forgot password, A code by text message, A code by email and A form visitors answer, each with its check. Where the check runs.) - **Creating an account**: the registration form, and wp-login.php if anyone uses it. - **Logging in**: the login form and wp-login.php, wp-admin too. Off by default, as WordPress has it. - **Forgot password**: asking for a link to a new password. - **A code by text message**: asking for a code to log in with, which costs you a text. Keep a check on it. - **A code by email**: asking for a code to log in with by email. - **A form visitors answer**: a form open to visitors, such as an application to join. Members answer without a check. ## Email addresses Checked when someone signs up: - **Refuse throwaway addresses**: over 10,000 domains that hand out addresses for a few minutes. - **Check the domain takes email**: catches typos like `gmial.com`, and made-up domains. - **Only these domains**: one a line, such as `company.com`. Empty lets every domain in. - **Never these domains**: one a line. An address refused shows why under the email field of the form. ## More against spam - **Accounts one connection may make in an hour**, under **Settings → Joining → Signing up**, stops a single address from making account after account. - **Akismet**, if you use it, can check every sign-up too. See [Akismet](https://www.poly-community.com/docs/integrations/akismet/). - **Approval** of new members by the team, under **Settings → Joining → Before taking part**. ## Consent A captcha service in another country may need the consent of the visitor where you are. Under **Settings → Privacy**, **Hold the spam check too** loads nothing of the service until the visitor allows it, here or in your consent plugin, and the form can't be sent before. The built-in check and ALTCHA send nothing anywhere and need no consent. ## When a service fails When the captcha service can't be asked, the built-in check stands in and the status says **Failing**, with what went wrong under **Checks that couldn't be asked lately**. Most often its keys are wrong, or its account was closed. Administrators get an email when it keeps failing, as for every service. --- # Cloudflare Turnstile Address: https://www.poly-community.com/docs/services/spam/turnstile/ Turnstile is the captcha of Cloudflare. Most visitors never see a puzzle: Cloudflare decides from the browser, and asks only those it doubts. It is free. How spam protection works, and where each check runs, is on [Spam protection](https://www.poly-community.com/docs/services/spam/). ## 1. Make a widget 1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and open **Turnstile**. 2. Press **Add widget** and give it a name, such as your site. 3. Add the hostname of your site, such as `example.com`. 4. Choose **Managed** as the widget mode: Cloudflare asks a visitor to tick a box only when it doubts them. 5. Press **Create**, and copy the **Site Key** and the **Secret Key**. ## 2. Enter the keys 1. In WordPress, go to **Poly Community → Settings → Services → Spam protection**. 2. Under **Captcha service**, choose **Cloudflare Turnstile**. 3. Paste the **Site key** and the **Secret key**. 4. Under **Where the check runs**, choose **The site captcha: Cloudflare Turnstile** for the forms you want it on. 5. Press **Save changes**. The secret is checked with Cloudflare before it is kept. (Screenshot: Spam protection with Cloudflare Turnstile chosen: the site key and the secret key. Settings → Services → Spam protection, Cloudflare Turnstile.) ## Trying it first Cloudflare publishes test keys that pass every time, so you can try your forms before you make a widget: the site key `1x00000000000000000000AA` with the secret `1x0000000000000000000000000000000AA`. A real visitor passes them too, so never leave them on a live site. The keys `2x00000000000000000000AB` and `2x0000000000000000000000000000000AA` fail every time, to see what a refused visitor reads. Cloudflare gets the address and the browser of each visitor who meets the widget. Name it in your privacy policy, or hold it for consent as [Spam protection](https://www.poly-community.com/docs/services/spam/#consent) says. --- # hCaptcha Address: https://www.poly-community.com/docs/services/spam/hcaptcha/ hCaptcha shows a box to tick, and a puzzle of pictures when it doubts the visitor. Its free plan covers most communities. How spam protection works, and where each check runs, is on [Spam protection](https://www.poly-community.com/docs/services/spam/). ## 1. Your keys 1. Make an account at [hCaptcha](https://dashboard.hcaptcha.com/signup) and open its dashboard. 2. Under **Sites**, add a site with the hostname of your site, such as `example.com`, and copy its **Sitekey**. 3. Your **Secret key** is one for the whole account, under **Settings** of your profile. Copy it. ## 2. Enter the keys 1. In WordPress, go to **Poly Community → Settings → Services → Spam protection**. 2. Under **Captcha service**, choose **hCaptcha**. 3. Paste the **Site key** and the **Secret key**. 4. Under **Where the check runs**, choose **The site captcha: hCaptcha** for the forms you want it on, and press **Save changes**. (Screenshot: Spam protection with hCaptcha chosen: the site key and the secret key. Settings → Services → Spam protection, hCaptcha.) ## Trying it first hCaptcha publishes test keys that pass every time: the site key `10000000-ffff-ffff-ffff-000000000001` with the secret `0x0000000000000000000000000000000000000000`. A real visitor passes them too, so never leave them on a live site. hCaptcha gets the address and the browser of each visitor who meets it. Name it in your privacy policy, or hold it for consent as [Spam protection](https://www.poly-community.com/docs/services/spam/#consent) says. --- # Google reCAPTCHA Address: https://www.poly-community.com/docs/services/spam/recaptcha/ reCAPTCHA is the captcha of Google. It comes in three kinds, each a choice of its own under **Captcha service**: - **Google reCAPTCHA v2, checkbox**: the box "I'm not a robot", with a puzzle of pictures when Google doubts the visitor. - **Google reCAPTCHA v2, invisible**: no box, a puzzle only when Google doubts the visitor. - **Google reCAPTCHA v3**: never a puzzle. Google gives each visitor a score from 0.0, likely a bot, to 1.0, likely a person, and your site refuses the forms below the score you set. How spam protection works, and where each check runs, is on [Spam protection](https://www.poly-community.com/docs/services/spam/). ## 1. Register your site 1. Open the [reCAPTCHA admin console](https://www.google.com/recaptcha/admin) with a Google account and press **Create** (the plus). 2. Give it a label, such as your site, and choose the kind: **Score based (v3)**, or **Challenge (v2)** with **"I'm not a robot" Checkbox** or **Invisible reCAPTCHA badge**. Keys of one kind don't work for another. 3. Add the domain of your site, such as `example.com`, and press **Submit**. 4. Copy the **Site key** and the **Secret key**. ## 2. Enter the keys 1. In WordPress, go to **Poly Community → Settings → Services → Spam protection**. 2. Under **Captcha service**, choose the kind you registered. 3. Paste the **Site key** and the **Secret key**. 4. For v3, set the **Minimum score**, 0.5 to start. Raise it if bots still get through, lower it if people are refused. 5. Under **Where the check runs**, choose **The site captcha** for the forms you want it on, and press **Save changes**. (Screenshot: Spam protection with Google reCAPTCHA v3 chosen: the site key, the secret key and the minimum score. Settings → Services → Spam protection, Google reCAPTCHA v3.) ## Trying it first For v2, Google publishes test keys that pass every time and show a line saying they are for testing: the site key `6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI` with the secret `6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe`. There are none for v3: register a second site for testing instead. Google gets the address and the browser of each visitor who meets reCAPTCHA. Name it in your privacy policy, or hold it for consent as [Spam protection](https://www.poly-community.com/docs/services/spam/#consent) says. --- # Friendly Captcha Address: https://www.poly-community.com/docs/services/spam/friendly-captcha/ Friendly Captcha asks the visitor nothing: their browser solves a puzzle on its own while they fill in the form, and Friendly Captcha checks the answer. It is a company in Germany and keeps its data in the EU. How spam protection works, and where each check runs, is on [Spam protection](https://www.poly-community.com/docs/services/spam/). ## 1. Your keys 1. Make an account at [Friendly Captcha](https://friendlycaptcha.com) and open its [dashboard](https://app.friendlycaptcha.eu/dashboard). 2. Add an application for your site, with the domain of your site, such as `example.com`, and copy its **Sitekey**. 3. Make an **API key** in the dashboard and copy it. ## 2. Enter the keys 1. In WordPress, go to **Poly Community → Settings → Services → Spam protection**. 2. Under **Captcha service**, choose **Friendly Captcha**. 3. Paste the sitekey into **Site key** and the API key into **API key**. 4. Under **Where the check runs**, choose **The site captcha: Friendly Captcha** for the forms you want it on, and press **Save changes**. (Screenshot: Spam protection with Friendly Captcha chosen: the site key and the secret key. Settings → Services → Spam protection, Friendly Captcha.) Friendly Captcha gets the address of each visitor who meets the puzzle. Name it in your privacy policy. --- # ALTCHA Address: https://www.poly-community.com/docs/services/spam/altcha/ ALTCHA is an open captcha that runs on your own site. The browser of the visitor solves a small puzzle your server set, in the background while they fill in the form, and your server checks the answer. Visitors have nothing to click. There is no account to make, no key, and nothing is sent to any company, so it needs no consent and no line in your privacy policy. How spam protection works, and where each check runs, is on [Spam protection](https://www.poly-community.com/docs/services/spam/). ## Setting it up 1. Go to **Poly Community → Settings → Services → Spam protection**. 2. Under **Captcha service**, choose **ALTCHA**. It needs no keys. 3. Under **Where the check runs**, choose **The site captcha: ALTCHA** for the forms you want it on. 4. Press **Save changes**. (Screenshot: Spam protection with ALTCHA chosen, marked Self-hosted, and no keys to enter. Settings → Services → Spam protection, ALTCHA.) ## ALTCHA and the built-in check The built-in check of Poly Community follows the same open protocol: a puzzle signed by your server, solved by the browser, good for one form and for 20 minutes, and harder for an address that keeps failing. Choose ALTCHA as the site captcha when you want the forms that use the site captcha to run it, such as those of another WordPlus plugin on the site. --- # Single sign-on Address: https://www.poly-community.com/docs/services/sso/ With single sign-on, members log in with an account they already have elsewhere: Google, Microsoft, Apple, Facebook, GitHub, or your own identity provider over OpenID Connect, such as Okta, Auth0 or Keycloak. They press **Continue with Google** (or the button of another provider), say yes at the provider, and are back on your site, logged in. (Screenshot: The buttons under the login form of the community: Continue with Google, Microsoft, Apple, Facebook and GitHub. The buttons on the login page of the community.) It comes with Poly Community. There is no other plugin to install and no service in between: your site talks to the provider directly, with keys you make in the provider console. To set up Google, follow the [Google guide](https://www.poly-community.com/docs/services/sso/google/), for Apple the [Apple guide](https://www.poly-community.com/docs/services/sso/apple/), and for Microsoft the [Microsoft guide](https://www.poly-community.com/docs/services/sso/microsoft/). This page explains how single sign-on works and what each setting does, for every provider. If something does not work, see [Common problems](https://www.poly-community.com/docs/services/sso/troubleshooting/). ## How it works 1. A member presses a provider button on the login page, the sign-up page or the WordPress login screen. 2. Their browser goes to the provider, which asks them to log in there and to share their name, email address and picture with your site. 3. The provider sends the browser back to your site, to its redirect address, with a code that works once. Your site trades the code for who the member is and checks the provider signature on it. 4. Your site finds the account that goes with them. An account already connected to that provider account logs in straight away. An account with the same email address is connected when it is safe to (see [An account that already has the address](#an-account-that-already-has-the-address)). Someone new joins, if you let them (see [New members](#new-members)). 5. The login itself goes through WordPress like any other. Two-factor plugins, limits on login attempts and your switch for each way to log in all apply to it. When something does not work out, for example the member pressed Cancel at the provider or the login took too long, they land back on the community login page with a line that says why. ## Where it is set up Like every service of the site, providers are set up under **Poly Community → Settings → Services → Single sign-on**. Each one is then turned on as a way to log in under **Settings → Joining → Logging in**, beside a password, a code by email, passkeys and a code by text message, which [Ways to log in](https://www.poly-community.com/docs/joining/logging-in/) describes. (Screenshot: Services, Single sign-on: Google set up and on, the other providers not set up, Add a provider and the redirect address. Settings → Services → Single sign-on.) Each provider row says whether it is set up and, once it is, whether it is on: **On: its button is on the login forms**, or **Off: members do not see it yet** with a **Turn it on** link. Below the list are **Add a provider**, for your own identity provider, and the **Redirect address**, the same for every provider. The folded **SCIM, for larger teams** part is for teams whose provider manages their accounts (see [Larger teams](#larger-teams-scim-and-groups)). ## Setting up a provider The steps are the same for every provider. Only the console where you make the keys is different. The [Google guide](https://www.poly-community.com/docs/services/sso/google/) walks through every step for Google, the [Apple guide](https://www.poly-community.com/docs/services/sso/apple/) for Apple, which asks for more, and the [Microsoft guide](https://www.poly-community.com/docs/services/sso/microsoft/) for Microsoft. 1. Go to **Settings → Services → Single sign-on** and press **Set up** on the provider row. 2. In the dialog, **Make the app** opens the provider console in a new tab, and the **Redirect address** has a button to copy it. 3. In the provider console, make an app for your site and enter the redirect address there, exactly as it is in the dialog. 4. Copy the keys the console gives you into **Client ID** and **Client secret**. Apple asks for its Services ID, Team ID, Key ID and private key instead, and Microsoft also for its tenant. 5. Choose [Let new people join with it](#let-new-people-join-with-it), and press **Save the provider**. The row now says **Set up**. 6. Press **Turn it on** on the row, or go to **Settings → Joining → Logging in**. Turn the provider on with its switch there, and press **Save changes**. (Screenshot: The Google dialog: Make the app, the redirect address, Client ID, Client secret, Let new people join with it and Only these domains can join. The Google dialog, in Settings → Services → Single sign-on.) Its button now shows on the login forms, the community one and the WordPress login screen. On the sign-up forms it shows only while **Let new people join with it** is on (see below). On **Joining → Logging in**, a provider that is not set up yet has its switch off, with **Not set up yet** and a **Set up** link to Services. **Change** on a provider that is set up leads there too. (Screenshot: Joining, Logging in: the single sign-on providers as switches, Google on, the others not set up yet. Settings → Joining → Logging in.) To add your own identity provider, press **Add a provider** under the list and enter its name, its issuer address and its keys. Unlike the five named providers, it is on as soon as it is saved. The [OpenID Connect guide](https://www.poly-community.com/docs/services/sso/openid-connect/) walks through it with Auth0. Any other provider, such as Discord, comes as a plugin that adds it, with its own row and button: see [Login providers](https://www.poly-community.com/docs/developers/login-providers/) for developers. ### Let new people join with it This switch decides who may use the provider. - **Off:** only people who already have an account on your site can log in with it. Its button is on the login forms and not on the sign-up forms, as it cannot make an account for someone new. Someone without an account who presses it on a login form is told there is none here for that account yet, and how to get in: an account they already have, logged in to another way, with the provider connected in its settings, then a new account where your site lets anyone sign up, or the community team where it does not. Use this when you add members yourself and want Google only as an easier way in for them. - **On:** someone without an account can join through it, on your sign-up form (see [New members](#new-members)). Its button is on the login forms and on the sign-up forms. Use this when anyone may join your community. Either way, members who already have an account can log in with the provider. When no provider lets new people join, the sign-up form shows no provider buttons at all, only its own fields. ### Only these domains can join Shown while **Let new people join with it** is on. Email domains, one a line, such as `example.com`. When set, only people with an email address at those domains can join through the provider, which suits a company Google Workspace or Microsoft 365. It does not stop members who already have an account from logging in. Leave it empty to let any address join. ## New members With **Let new people join with it** on, someone new who logs in through the provider goes to your sign-up form for the rest of it: the profile fields you ask and your terms. Their name and email address are filled in from the provider, and their email address needs no code when the provider says it is confirmed. They are not asked for a password. Their account is made when they finish the form, connected to the provider, and they are logged in. (Screenshot: The sign-up form after Continue with Google: the name and email address filled in from Google, the username to choose. The sign-up form, joining with Google.) This works even while sign-ups are closed to everyone else: turning it on for a provider is your choice to let its members join. Their picture is the one the provider has of them. Google, GitHub and Facebook give one, Microsoft and Apple do not. A blank picture is left out, such as the letter Google shows for an account without a photo or the Facebook silhouette. Members can change the picture on the sign-up form and at any time later. A member who joined this way has no password. They can set one on the Account tab of their settings, after a code sent to their email address, or by logging in through the provider again. ## An account that already has the address The first time someone logs in through a provider, an account on your site may already have their email address. Poly Community connects the two only when both sides proved that address: the provider says it confirmed it, and the member confirmed it on your site, with a code, the link in a sign-up email or a password reset. Then they are simply logged in. Otherwise, they land on the login page with their address filled in and a note: log in to that account once, any way you usually do, and the provider is connected to it. From then on the provider logs them straight in. A member who no longer knows their password can use **Forgot your password?**, which confirms the address too. (Screenshot: The login page saying there is already an account with that address, to log in to once so Google is connected. The login page, for an account that already has the address.) Once they log in, a message confirms it. (Screenshot: A message: Google is connected to your account. Next time, Continue with Google logs you straight in.. After that one login.) This guards against a known trick. Someone signs up with the email address of another person and a password of their own, then waits for that person to log in through Google. Without the check, both would end up in one account. Administrators are always asked to log in once this way, even with a confirmed address. Facebook never says whether an address is confirmed, so a Facebook login always goes this way too. ## Connected accounts Members see the providers connected to their account on the Account tab of their settings, under **Connected accounts**. They connect another one there, or disconnect one. Their last way to log in cannot be disconnected: they set a password or connect another provider first. Every page they have open on Account shows the change at once. (Screenshot: Connected accounts on the Account tab: Google, connected, with Disconnect. Settings of a member, Account, Connected accounts.) The team sees them on the screen of each member, in **Poly Community → Members**, in the **Connected accounts** card: each provider, connected or not, the ID there for whoever may edit the user, and whether the member chose a password. **Disconnect in WordPress** under it, and **Edit in WordPress** in the **Account** card, open the WordPress page of the user. (Screenshot: The Connected accounts card of a member: Google connected with its ID, the password chosen, and Disconnect in WordPress. Members, a member, Connected accounts.) In the admin, every user profile (**Users**, then **Edit**) has a **Connected accounts** section too. It shows each provider, whether it is connected and the member ID there, and whether the member has a password of their own. Whoever may edit the user can tick **Disconnect**. On their own profile, a member keeps their last way to log in. (Screenshot: Connected accounts on a user profile in wp-admin: Google connected with its ID, Disconnect, and whether the account has a password. Users, Edit, Connected accounts.) ## Turning a provider off Switch it off under **Joining → Logging in** and press **Save changes**. Its button goes, and its logins stop at once, even one already on its way. Members connected only through it log in another way, such as a code by email or **Forgot your password?**. ## Larger teams: SCIM and groups With an identity provider such as Okta or Microsoft Entra, your provider can make, change and turn off member accounts on its own. Under **Services → Single sign-on**, open **SCIM, for larger teams**, copy the **SCIM address**, press **Make a token**, and enter both in the provider SCIM settings. Copy the token when it shows, as it is not shown again. **Groups** turns a provider group into what its members get here, one group a line, such as `Engineering: spaces 12, 15; plans 3; type staff`. Members of the group join those spaces, get those plans and that member type. Taken out of the group, they leave its spaces and lose its plans. --- # Google Address: https://www.poly-community.com/docs/services/sso/google/ Members log in with their Google account, a Gmail address or a Google Workspace one. Setting it up takes about ten minutes: an app in the Google Cloud console, its keys in Poly Community, turning it on, then a test. You need a Google account to make the app with, and your site on https. Google sends members back only to https addresses. How single sign-on works for every provider, and what each setting does, is on [Single sign-on](https://www.poly-community.com/docs/services/sso/). ## 1. Copy the redirect address 1. In WordPress, go to **Poly Community → Settings → Services → Single sign-on**. 2. Press **Set up** on the Google row. 3. Copy the **Redirect address** at the top of the dialog. It looks like `https://example.com/wp-json/wordplus/v1/sso/back`. (Screenshot: Services, Single sign-on: each provider with Set up, Add a provider and the redirect address. Settings → Services → Single sign-on.) Leave the dialog open. **Make the app** in it opens the Google Cloud console for the next step. ## 2. Make the app in Google Cloud 1. Open the [Google Cloud console](https://console.cloud.google.com/apis/credentials) and log in with the Google account that will own the app. 2. Pick a project, or make one for your site with **Select a project**, then **New project**. 3. Open **Google Auth Platform**. The first time, press **Get started** and fill in: - **App Information**: the **App Name**, the name of your community, and a **User support email** members can write to. - **Audience**: **External**, so any Google account can log in. Choose **Internal** only if every member has an account in your own Google Workspace. - **Contact Information**: your email address, for messages from Google. 4. Go to **Clients** and press **Create client**. 5. For **Application type**, choose **Web application**, and give it a name, such as your site name. 6. Under **Authorized redirect URIs**, press **Add URI** and paste the redirect address from step 1. It has to match exactly. You do not need **Authorized JavaScript origins**. (Screenshot: Create OAuth client ID: Web application, the name, and the redirect address under Authorized redirect URIs. Google Cloud console → Google Auth Platform → Clients → Create client.) 7. Press **Create**. Google shows the **Client ID** and the **Client secret**. Copy both now: Google shows the full secret only this once. Later the page of the client shows the Client ID and only the last four characters of the secret. If the secret is lost, press **Add secret** there for a new one. (Screenshot: The page of the client: the Client ID, and under Client secrets only the last four characters of the secret, with Add secret. Google Cloud console → Google Auth Platform → Clients → the client.) ## 3. Enter the keys 1. Back in the dialog in WordPress, paste them into **Client ID** and **Client secret**. (Screenshot: The Google dialog: Make the app, the redirect address, Client ID, Client secret, Let new people join with it and Only these domains can join. The Google dialog, in Settings → Services → Single sign-on.) 2. Decide who may use it with **Let new people join with it**. Leave it off if only people who already have an account on your site may log in with Google. Turn it on if anyone with a Google account may join your community. See [Let new people join with it](https://www.poly-community.com/docs/services/sso/#let-new-people-join-with-it). 3. With it on, **Only these domains can join** shows. Leave it empty for any Google account, or enter your domain, such as `example.com`, so only addresses of your company Google Workspace can join. 4. Press **Save the provider**. The Google row now says **Set up** and **Off: members do not see it yet**. ## 4. Turn it on 1. Press **Turn it on** on the Google row, which opens **Settings → Joining → Logging in**. 2. Turn Google on with its switch, and press **Save changes**. (Screenshot: Joining, Logging in: Google turned on among the single sign-on providers. Settings → Joining → Logging in.) **Continue with Google** now shows on the login form of the community and on the WordPress login screen. With **Let new people join with it** on, it shows on the sign-up forms too. With it off it does not, as Google then logs in only people who already have an account. (Screenshot: The WordPress login screen with a Continue with Google button. The WordPress login screen.) ## 5. Try it Poly Community asks Google only for the name, email address and picture of an account, the scopes `openid`, `email` and `profile`. For these Google lets every Google account log in while the app is still **Testing**, with no list of test users and no warning screen, so you can try it straight away. The **Audience** page of the console says that only test users can use an app in Testing, but Google makes an exception for apps that ask only for these three, as its help on [publishing status](https://support.google.com/cloud/answer/15549945) explains. 1. In a private window, open the login page of your site and press **Continue with Google**. 2. Pick a Google account. Google asks to share its name, email address and picture with your site. 3. You are back on your site. A member is logged in, someone new is on the sign-up form, and anything else lands on the login page with a line that says why. Try your own account too. If your account on the site has the same address as your Google account, the login page asks you to log in once with your password, and from then on Google logs you straight in. [An account that already has the address](https://www.poly-community.com/docs/services/sso/#an-account-that-already-has-the-address) explains why. ## 6. Publishing the app, if you want to The app can stay in **Testing**: with only these three scopes, members log in either way. While it is in Testing, the Google screen says **Choose an account to continue to** your domain, such as `example.com`. Publish it if you want Google to show the name and logo of your app there instead. That takes two steps: 1. On **Google Auth Platform → Branding**, under **App domain**, fill in the **Application home page** and the **Application privacy policy link**, both on your own domain, and press **Save**. Google asks for these links before an app goes into production. While they are empty, **Publish app** on the **Audience** page is greyed out, with a line that sends you to the Branding page. (Screenshot: Branding, App domain: the Application home page, the Application privacy policy link and the authorized domain filled in. Google Cloud console → Google Auth Platform → Branding.) 2. On **Google Auth Platform → Audience**, press **Publish app** and confirm. The app is then **In production**. (Screenshot: Audience: Publishing status Testing with Publish app greyed out until the Branding page is complete, and User type External. Google Cloud console → Google Auth Platform → Audience.) Google shows the name and logo only after it has verified your brand. Until then the Google screen names your domain. ## What Google gives your site The ID of the Google account, the name, the email address and whether Google confirmed it, and the picture. Poly Community asks for the picture at 640 pixels and makes it the picture of a new member, unless it is the blank letter Google shows for an account without a photo. Members who already had an account keep their own picture. ## When something goes wrong ### Google says redirect_uri_mismatch The redirect address in the Google app is not exactly the one in WordPress. Copy it again from the Google dialog in **Services → Single sign-on** and paste it under **Authorized redirect URIs**, with nothing added or left out: the same `https`, the same `www` or none, no slash at the end. A change in Google can take a few minutes to apply. ### Google blocks an account that is not a test user Google should not do this for Poly Community, as it asks only for the name, email address and picture. If it does, add the account to the test users under **Google Auth Platform → Audience**, or publish the app (step 6). ### Anything else A Forbidden page from your host right after Google, a login that always says it took too long, or a button that does not show: these happen with every provider and are on [Common problems](https://www.poly-community.com/docs/services/sso/troubleshooting/). --- # Microsoft Address: https://www.poly-community.com/docs/services/sso/microsoft/ Members log in with their Microsoft account: a personal one, such as Outlook.com, Hotmail or Xbox, or one from their work or school on Microsoft 365. Setting it up takes about fifteen minutes: an app in the Microsoft Entra admin center, the certificate of your site uploaded to it, its client ID in Poly Community, turning it on, then a test. You need: - **A Microsoft Entra directory** to make the app in. A personal Microsoft account alone cannot make one: the portal says **The ability to create applications outside of a directory has been deprecated. You may get a new directory by joining the M365 Developer Program or signing up for Azure.** A free Azure account, made with your Microsoft account, comes with a directory. Microsoft asks for a phone number and a card for it. Apps for logging in cost nothing. - Your site on https, with pretty permalinks. Microsoft takes no address with a query string for personal accounts, as the redirect URI of a site with plain permalinks has. How single sign-on works for every provider, and what each setting does, is on [Single sign-on](https://www.poly-community.com/docs/services/sso/). ## 1. Copy the redirect URI 1. In WordPress, go to **Poly Community → Settings → Services → Single sign-on**. 2. Press **Set up** on the Microsoft row. 3. Copy the **Redirect URI** at the top of the dialog, such as `https://example.com/wp-json/wordplus/v1/sso/back`. Leave the dialog open. **Make the app** in it opens the Microsoft Entra admin center. ## 2. Register the app 1. Open the [Microsoft Entra admin center](https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade), go to **Entra ID → App registrations** and press **New registration**. 2. For **Name**, enter the name of your community. Microsoft shows it to members when they log in. 3. Under **Supported account types**, choose who may log in. Each choice has its **Tenant** in WordPress, in step 6: | Supported account types | Tenant in WordPress | |---|---| | **Any Entra ID Tenant + Personal Microsoft accounts** | `common` | | **Multiple Entra ID tenants** (work and school accounts only) | `organizations` | | **Personal accounts only** | `consumers` | | **Single tenant only**, your own organization | its **Directory (tenant) ID** | 4. Under **Redirect URI**, choose **Web** and paste the redirect URI from step 1. (Screenshot: Register an application: the name, Any Entra ID Tenant + Personal Microsoft accounts, and the redirect URI for the Web platform. Microsoft Entra admin center → App registrations → New registration.) 5. Press **Register**. The **Overview** page of the app shows its **Application (client) ID**, and its **Directory (tenant) ID** for a single tenant. (Screenshot: The Essentials of the app: Display name, Application (client) ID, Directory (tenant) ID and Supported account types. App registrations → the app → Overview.) ## 3. Add the email claims So that Microsoft gives the email address of a member and says whether it vouches for it: 1. In the app, go to **Token configuration** and press **Add optional claim**. 2. For **Token type**, choose **ID**, tick **email** and **xms_edov**, and press **Add**. 3. Microsoft asks to **Turn on the Microsoft Graph email permission**. Tick it and press **Add**. (Screenshot: Optional claims: email for all users and xms_edov for Microsoft Entra ID only, both on the ID token. App registrations → the app → Token configuration.) `xms_edov` says that the organization of a work or school account verified the domain of its address. Poly Community takes the address as confirmed only then, as Microsoft advises never to trust the email claim alone. Microsoft sends it for work and school accounts only, as the list says, so a personal account is never confirmed by Microsoft. See [What Microsoft gives your site](#what-microsoft-gives-your-site). ## 4. Upload the certificate of your site The app needs a credential to prove that a login comes from your site. Poly Community makes a certificate for it, valid for twenty years: the site keeps its private key, and you upload the certificate, which is not secret, to the app. A client secret works too, but Microsoft ends it within two years (see [A client secret instead](#a-client-secret-instead)). 1. In the dialog in WordPress, press **Make a certificate**, then **Download**. Your browser saves a file named like `example.com-microsoft.pem`. 2. In the app, go to **Certificates & secrets**, then **Certificates**, and press **Upload certificate**. Choose the file, give it a **Description**, such as the address of your site, and press **Add**. (Screenshot: Upload certificate: the certificate file of the site and its description. App registrations → the app → Certificates & secrets → Certificates → Upload certificate.) Microsoft lists it with its thumbprint and the date it expires, twenty years on. (Screenshot: Certificates: the thumbprint, the description, the start date and the date it expires twenty years later. Certificates & secrets → Certificates.) **Make a new one** in the dialog makes a new certificate in place of the old one. Logging in with Microsoft then fails until the new certificate is uploaded to the app, so upload it right away, then delete the old one from the app. ## 5. Enter the keys 1. Back in the dialog in WordPress, fill in: - **Client ID**: the **Application (client) ID** from the Overview. - **Tenant**: the one the table in step 2 gives for the account types you chose. Leave **Client secret** empty: the certificate takes its place. (Screenshot: The Microsoft dialog: Make the app, the Redirect URI to copy, Client ID, the certificate made on the site with Download and Make a new one, Client secret not needed, Tenant common. Settings → Services → Single sign-on → Microsoft.) 2. Decide who may use it with **Let new people join with it**. See [Let new people join with it](https://www.poly-community.com/docs/services/sso/#let-new-people-join-with-it). 3. Press **Save the provider**. The Microsoft row now says **Set up** and **Off: members do not see it yet**. ## 6. Turn it on 1. Press **Turn it on** on the Microsoft row, which opens **Settings → Joining → Logging in**. 2. Turn Microsoft on with its switch, and press **Save changes**. **Continue with Microsoft** now shows on the login form of the community and on the WordPress login screen. With **Let new people join with it** on, it shows on the sign-up forms too. (Screenshot: The login form of the community with Continue with Google, Continue with Microsoft and Continue with Apple under it. The login form, with Google, Microsoft and Apple on.) ## 7. Try it 1. In a private window, open the login page of your site and press **Continue with Microsoft**. 2. Log in with a Microsoft account. The first time, Microsoft asks to accept the app, with the name you gave it. 3. You are back on your site. A member is logged in, someone new is on the sign-up form, and anything else lands on the login page with a line that says why. To try it with your own account, log in with your password, open your account settings, and press **Connect** beside Microsoft under **Connected accounts**. ## A client secret instead If your server cannot make a certificate, the dialog says so, and a client secret does the same work. Microsoft ends a client secret on the date you choose, two years at most, and on that day nobody can log in with Microsoft until a new one is entered. 1. In the app, go to **Certificates & secrets**, then **Client secrets**, and press **New client secret**. 2. Enter a **Description**, such as the address of your site, and choose when it **Expires**. Microsoft recommends 180 days and allows 730 days at most. (Screenshot: Add a client secret: the description and Expires, 365 days. App registrations → the app → Certificates & secrets → New client secret.) 3. Press **Add**, and copy the **Value** now. Microsoft shows it only on this page, and never again. Copy the **Value**, not the **Secret ID** beside it. (Screenshot: Client secrets: the description, the date it expires, its Value and its Secret ID. Certificates & secrets → Client secrets.) 4. Paste it under **Client secret** in the dialog in WordPress, and press **Save the provider**. **Write down when the secret expires.** Before that day, make a new secret the same way, enter its Value in WordPress, then delete the old one. With a certificate made on the site, the client secret is not used. ## People from other organizations The Overview of a new app that takes accounts of other organizations shows: **End users cannot grant consent to newly registered multitenant apps without verified publishers.** Microsoft documents that rule for apps that ask for more than signing in and reading the basic profile, which is all Poly Community asks for, so members should not meet it. Their own organization may still ask for an administrator to approve apps. If someone is asked for that, an administrator of their organization approves the app, or you verify yourself as its publisher: **Add MPN ID to verify publisher** on the Overview, with the ID of a Microsoft partner account. ## What Microsoft gives your site The ID of the account, the name and the email address. Poly Community takes the address as confirmed only when Microsoft says the organization of the account verified its domain (`xms_edov`). So: - **A work or school account** of an organization that verified its domain joins and is matched by its address like a Google account. - **A personal account** is never confirmed by Microsoft. Someone new confirms the address with a code on the sign-up form. A member who already has an account with that address logs in to it once, and Microsoft is connected from then on. See [An account that already has the address](https://www.poly-community.com/docs/services/sso/#an-account-that-already-has-the-address). Microsoft gives no picture. ## When something goes wrong ### Microsoft says the redirect_uri is not valid Microsoft shows **invalid_request: The provided value for the input parameter** `redirect_uri` **is not valid. The expected value is a URI which matches a redirect URI registered for this client application.** The redirect URI of the app is not exactly the one in WordPress. In the app, go to **Authentication** and compare its Web redirect URI with the dialog: the same `https`, the same `www` or none, no slash at the end. ### Microsoft says the client does not exist Microsoft shows **unauthorized_client: The client does not exist or is not enabled for consumers.** Either the **Client ID** in WordPress is not the Application (client) ID of the app, or the app does not take personal accounts, under **Supported account types**, while the **Tenant** in WordPress lets them in. Check both against the table in step 2. ### The login comes back with "Microsoft could not be reached, or its answer could not be checked" Microsoft did not take the proof of your site. With a certificate: it is not uploaded to the app, or a new one was made and not uploaded yet. Download it from the dialog and upload it (step 4). With a client secret: it is wrong, is its Secret ID instead of its Value, or has expired. **Services → Single sign-on** shows the failure with the words of Microsoft. ### Anything else A Forbidden page from your host right after Microsoft, a login that always says it took too long, or a button that does not show: these happen with every provider and are on [Common problems](https://www.poly-community.com/docs/services/sso/troubleshooting/). --- # Apple Address: https://www.poly-community.com/docs/services/sso/apple/ Members log in with their Apple Account, the one they use on their iPhone or Mac. Setting it up takes about fifteen minutes: three things in the Apple Developer account, their keys in Poly Community, turning it on, then a test. You need: - A membership of the **Apple Developer Program**, which Apple charges for once a year. A free Apple Account cannot make the keys. - Your site on https, on its own domain. Apple sends members back only to https addresses with a domain name, never to an IP address or to localhost. How single sign-on works for every provider, and what each setting does, is on [Single sign-on](https://www.poly-community.com/docs/services/sso/). ## 1. Copy the domain and the return URL 1. In WordPress, go to **Poly Community → Settings → Services → Single sign-on**. 2. Press **Set up** on the Apple row. 3. The dialog shows the **Domain** of your site, such as `example.com`, and the **Return URL**, such as `https://example.com/wp-json/wordplus/v1/sso/back`. Apple asks for each in its own field. Copy them with their **Copy** buttons when the steps below ask for them. Leave the dialog open. **Make the app** in it opens the Apple Developer account. ## 2. Make an App ID Apple ties sign-in for a website to an App ID, and shows its name to members when they log in. You do not need an app in the App Store for it. 1. Open [Certificates, Identifiers & Profiles](https://developer.apple.com/account/resources/identifiers/list) in your Apple Developer account and go to **Identifiers**. 2. Press the **+** button, choose **App IDs**, press **Continue**, choose **App** and press **Continue**. 3. For **Description**, enter the name of your community. Apple shows this name on its sign-in screen, as in "Create an account for Riverside Community". 4. For **Bundle ID**, keep **Explicit** and enter a name in reverse domain order, such as `com.example.community`. 5. Under **Capabilities**, tick **Sign In with Apple** and press **Configure** beside it. Keep **Enable as a primary App ID**. Leave the **Server-to-Server Notification Endpoint** empty: Poly Community does not use it. Press **Save**. (Screenshot: Sign In with Apple: App ID Configuration, with Enable as a primary App ID chosen and the Server-to-Server Notification Endpoint empty. Apple Developer → Identifiers → the App ID → Sign In with Apple → Configure.) 6. Press **Continue**, then **Register**. ## 3. Make a Services ID The Services ID is the identifier of your website, and the one Poly Community sends to Apple. 1. In **Identifiers**, press **+** again, choose **Services IDs** and press **Continue**. 2. Enter a **Description**, such as the name of your community, and an **Identifier** that differs from the Bundle ID, such as `com.example.community.signin`. Press **Continue**, then **Register**. (Screenshot: Register a Services ID: the Description and the Identifier. Apple Developer → Identifiers → + → Services IDs.) 3. Open the Services ID you made from the list. If the list shows only App IDs, switch its menu from **App IDs** to **Services IDs**. 4. Tick **Sign In with Apple** and press **Configure**. 5. **Primary App ID** is the App ID from step 2. Paste the **Domain** from the dialog in WordPress under **Domains and Subdomains**, and the **Return URL** under **Return URLs**. Both have to match exactly. (Screenshot: Web Authentication Configuration: the primary App ID, example.com under Domains and Subdomains, and the return URL under Return URLs. Apple Developer → the Services ID → Sign In with Apple → Configure.) 6. Press **Next**, then **Done**, then **Continue**, then **Save**. Apple does not ask you to put a file on your site to prove the domain is yours. ## 4. Make a key The key lets your site prove to Apple that it is yours. Poly Community signs a short note with it at each login. 1. Go to **Keys** and press **+**. 2. Give the key a **Key Name**, such as the name of your community. Apple allows letters, numbers and spaces only. 3. Tick **Sign in with Apple** and press **Configure** beside it. Choose the App ID from step 2 as the **Primary App ID** and press **Save**. (Screenshot: Configure Key: the primary App ID, with the Services ID listed under Grouped App IDs. Apple Developer → Keys → + → Sign in with Apple → Configure.) 4. Press **Continue**, then **Register**. 5. Press **Download**. Your browser saves a file named like `AuthKey_K1L2M3N4P5.p8`. Apple lets you download it only this once, so keep it somewhere safe. 6. The page shows the **Key ID**, ten letters and numbers. You can see it later on the page of the key, under **Keys**. (Screenshot: The page of the key: its name and Key ID, Download greyed out after the key was downloaded, and Sign In with Apple with the App ID. Apple Developer → Keys → the key.) Each App ID can have two keys. If a key is lost or someone else saw it, make a new one, enter it in WordPress, then press **Revoke** on the old one. ## 5. Enter them in WordPress 1. Back in the dialog in WordPress, fill in: - **Services ID**: the identifier from step 3, such as `com.example.community.signin`, not its description. - **Team ID**: ten letters and numbers. It is under **Membership details** in your Apple Developer account, and after your team name at the top of Certificates, Identifiers & Profiles. - **Key ID**: from step 4. - **Private key**: open the `.p8` file in a text editor and paste all of it, with its `BEGIN PRIVATE KEY` and `END PRIVATE KEY` lines. Poly Community keeps it sealed to your site. (Screenshot: The Apple dialog: Make the app, the Domain and the Return URL to copy, the Services ID, Team ID and Key ID, and the private key, kept. Settings → Services → Single sign-on → Apple.) 2. Decide who may use it with **Let new people join with it**, as for any provider. See [Let new people join with it](https://www.poly-community.com/docs/services/sso/#let-new-people-join-with-it). 3. Press **Save the provider**. Poly Community refuses a private key that is not the whole `.p8` file. The Apple row now says **Set up** and **Off: members do not see it yet**. ## 6. Turn it on 1. Press **Turn it on** on the Apple row, which opens **Settings → Joining → Logging in**. 2. Turn Apple on with its switch, and press **Save changes**. **Continue with Apple** now shows on the login form of the community and on the WordPress login screen, in black as Apple asks, or in white on a dark page. With **Let new people join with it** on, it shows on the sign-up forms too. (Screenshot: The login form of the community with Continue with Google and Continue with Apple under it. The login form, with Google and Apple on.) ## 7. Try it 1. In a private window, open the login page of your site and press **Continue with Apple**. 2. Safari on a Mac, iPhone or iPad shows a sheet of the system, with Touch ID or Face ID. Other browsers show the Apple sign-in page, with the password of the Apple Account and its code. 3. The first time, Apple asks what to share: the name, and either the real email address (**Share My Email**) or a hidden one (**Hide My Email**). 4. You are back on your site. A member is logged in, someone new is on the sign-up form, and anything else lands on the login page with a line that says why. To try it with your own account, log in with your password, open your account settings, and press **Connect** beside Apple under **Connected accounts**. From then on **Continue with Apple** logs you straight in, whichever email you chose. ## Members who hide their email address With **Hide My Email**, Apple gives your site an address of its own, ending in `@privaterelay.appleid.com`, and forwards what is sent there to the real address of the member. Apple confirms it, so Poly Community takes it as confirmed. - **It matches no account.** Someone who already has an account here and hides their address cannot be matched to it. With **Let new people join with it** on, they get a new account. To use Apple with the account they have, they log in another way and connect Apple from their account settings. - **Email from your site has to be registered with Apple**, or Apple sends it back and the member never gets it. In your Apple Developer account, go to **Services**, press **Configure** under **Sign in with Apple for Email Communication**, then **+** beside **Email Sources**. Enter the domain your site sends email from, or the address itself, and press **Next** and **Register**. Email sent there has to pass SPF, DKIM, or best both, for the server that sends it, as Apple asks of every email source. (Screenshot: Register your email sources: example.com under Domains and Subdomains. Apple Developer → Services → Sign in with Apple for Email Communication.) - Apple passes on up to 100 emails a day to each hidden address. ## What Apple gives your site The ID of the Apple Account, the email address, real or hidden, and the name. Apple sends the name only the first time a member uses Apple with your site, and from the browser, not in its signed answer. If that first time did not end in an account, for example when someone left the sign-up form, Apple does not send the name again, and the member types it on the sign-up form. Apple gives no picture. ## When something goes wrong ### Apple says invalid_client Apple shows **invalid_client** and **Invalid client.** instead of its sign-in. The **Services ID** in WordPress is not the identifier of a Services ID with Sign in with Apple. Enter the identifier, such as `com.example.community.signin`, not its description, and check that **Sign In with Apple** is ticked on it. ### Apple says Invalid web redirect url Apple shows **invalid_request** and **Invalid web redirect url.** The **Return URL** in the dialog in WordPress is not one of the **Return URLs** of the Services ID. Open the Services ID in your Apple Developer account, press **Configure** beside Sign In with Apple, and paste it again with nothing added or left out: the same `https`, the same `www` or none. ### The login comes back with "Apple could not be reached, or its answer could not be checked" Apple did not take the keys of your site: the **Team ID**, the **Key ID** or the **Private key** is wrong, or the key was revoked. **Services → Single sign-on** shows the failure with the words of Apple, such as `invalid_client`. Enter the three again, from the pages named in steps 4 and 5. A revoked key cannot be used again: make a new one. ### Anything else A Forbidden page from your host right after Apple, a login that always says it took too long, or a button that does not show: these happen with every provider and are on [Common problems](https://www.poly-community.com/docs/services/sso/troubleshooting/). Apple posts its answer to your site, so a firewall rule on posted fields can catch it. --- # Facebook Address: https://www.poly-community.com/docs/services/sso/facebook/ Members log in with their Facebook account. Setting it up takes about fifteen minutes: an app in Meta for Developers, two addresses and the email permission in it, its App ID and App Secret in Poly Community, and a test. Until Meta has reviewed the app and you publish it, only people with a role on the app can log in with it, so plan for the review too (step 9). You need: - A Facebook account registered as a developer at [Meta for Developers](https://developers.facebook.com/). - Your site on https. - To publish the app: a privacy policy page on your site, a square icon for the app of 1024 by 1024 pixels, a business portfolio at Meta that Meta has verified (you can make one, but it needs a registered business, its documents, and its legal name on your website), and a few days for the review. How single sign-on works for every provider, and what each setting does, is on [Single sign-on](https://www.poly-community.com/docs/services/sso/). ## 1. Copy the two addresses 1. In WordPress, go to **Poly Community → Settings → Services → Single sign-on**. 2. Press **Set up** on the Facebook row. 3. The dialog shows two addresses to copy: - **Valid OAuth Redirect URI**, such as `https://example.com/wp-json/wordplus/v1/sso/back`, where Facebook sends members back. - **Data deletion callback URL**, such as `https://example.com/wp-json/wordplus/v1/sso/facebook/deletion`, where Facebook sends a request when someone asks it to delete what your site has of them. (Screenshot: The Facebook dialog: Make the app, the Valid OAuth Redirect URI and the Data deletion callback URL to copy, App ID, App Secret kept, and Let new people join with it. Settings → Services → Single sign-on → Facebook.) Leave the dialog open. **Make the app** in it opens Meta for Developers. ## 2. Create the app 1. In [Meta for Developers](https://developers.facebook.com/apps/), press **Create App**. 2. **App details:** give the app the name of your community, which people see when they log in, and an email address Meta can reach you at. Press **Next**. (Screenshot: Create an app, App details: App name and App contact email. Meta for Developers → Create App → App details.) 3. **Use cases:** choose **Authenticate and request data from users with Facebook Login**, then **Next**. (Screenshot: The use case Authenticate and request data from users with Facebook Login, chosen. Create App → Use cases.) 4. **Business:** choose your verified business portfolio if you have one. Otherwise choose not to connect one yet: you can connect it later, before the review. Press **Next**. 5. **Requirements** lists what Meta asks before the app can be published: business verification and App Review. Nothing is needed for the test. Press **Next**. (Screenshot: Publishing requirements: Business verification and App Review, each required for 1 use case. Create App → Requirements.) 6. **Overview:** press **Create app**. The dashboard of the app opens, in development mode. ## 3. Add the email permission A new app can read the public profile only. Without the email permission, Facebook does not give your site the address of the person. 1. On the dashboard, press **Customize the Authenticate and request data from users with Facebook Login use case**. 2. Under **Permissions and features**, press **Add** beside **email**. It now says **Ready for testing**, as **public_profile** does. (Screenshot: The email permission, Ready for testing. Use cases → Customize → Permissions and features.) ## 4. Enter the redirect URI 1. In the same use case, open **Settings**. 2. Under **Client OAuth settings**, paste the **Valid OAuth Redirect URI** in **Valid OAuth Redirect URIs** and press Enter, so that it shows as an entry with an x beside it. Pasted text left in the field is not saved. 3. Press **Save changes** at the bottom of the page. Leave **Client OAuth login**, **Web OAuth login** and **Enforce HTTPS** on. **Use Strict Mode for redirect URIs** is always on, so the address has to match exactly. (Screenshot: Client OAuth settings: Client OAuth login and Web OAuth login on, Enforce HTTPS and Strict Mode on, and the redirect URI of the site in Valid OAuth Redirect URIs. Use cases → Customize → Settings.) ## 5. Fill in the basic settings Go to **App settings → Basic**. 1. Copy the **App ID**. Press **Show** beside **App secret** and copy it too. Meta asks for your Facebook password first. (Screenshot: App settings, Basic: App ID, App secret with Show, Display name, Namespace, App domains and Contact email. App settings → Basic.) 2. Under **User data deletion**, choose **Data deletion callback URL** and paste the **Data deletion callback URL** from the dialog. (Screenshot: User data deletion: Data deletion callback URL chosen, with the address of the site. App settings → Basic → User data deletion.) 3. Choose a **Category**. For publishing later, add the **Privacy policy URL** and the **App icon** (1024 by 1024 pixels) when you have them (step 9). 4. Press **Save changes**. ### What the data deletion callback does Meta asks every app that reads data of people to let them have it deleted. When someone asks Facebook to delete what your site has of them, Facebook sends a request signed with your App Secret. Poly Community checks the signature, removes the link between their Facebook account and their account on your site, and answers with a confirmation code and a page where they can see that it was done. Their account on your site stays, and they can still log in another way. ## 6. Enter the keys 1. Back in the dialog in WordPress, paste the **App ID** and the **App Secret**. 2. Decide who may use it with **Let new people join with it**. See [Let new people join with it](https://www.poly-community.com/docs/services/sso/#let-new-people-join-with-it). 3. Press **Save the provider**. The Facebook row now says **Set up** and **Off: members do not see it yet**. ## 7. Try it While the app is in development mode, only people with a role on the app (its administrators, developers and testers) can log in through it. You made it, so you can. Turn the button on for the test, and off again after it until you send the app to review (step 8), as everyone else would get an error from Facebook. 1. Press **Turn it on** on the Facebook row, which opens **Settings → Joining → Logging in**. Turn Facebook on with its switch, and press **Save changes**. 2. In a private window, open the login page of your site and press **Continue with Facebook**. (Screenshot: The login form of the community with Continue with Google, Microsoft, Apple and Facebook under it. The login form, with Google, Microsoft, Apple and Facebook on.) 3. Log in to Facebook. The first time, Facebook asks to share your name, profile picture and email address with the app. Press **Continue as** with your name. The note about Login Review is for you as its developer: people do not see it once the app is published. (Screenshot: Facebook asks to share the name and profile picture and the email address with the app, with Continue and Cancel. Facebook, the first time someone logs in to the app.) 4. You are back on your site. A member whose Facebook account is connected is logged in. Someone new is on the sign-up form. When an account here already has the email address of the Facebook account, the login form asks to log in to it once, and Facebook is connected from then on. ## 8. Turn it on for everyone Turn Facebook on when you send the app to review (step 9), and leave it on from then. Press **Turn it on** on the Facebook row and turn Facebook on in **Settings → Joining → Logging in**. **Continue with Facebook** then shows on the login form of the community and on the WordPress login screen, in the blue of Facebook. With **Let new people join with it** on, it shows on the sign-up forms too. Until the app is published, Facebook turns away everyone without a role on the app who presses it. So send the app to review only once everything else in step 9 is ready, and the button shows for those few days only. ## 9. Publish the app Meta reviews every app made in its current dashboard before it can be published, even one that only asks for the public profile and the email address. Until then, add the people who should try it as testers under **App roles → Roles**. 1. **App settings → Basic** needs the **Privacy policy URL**, the **App icon**, the **Category** and the **User data deletion** callback. Until they are all there, a banner at its top says **Currently ineligible for submission** and lists what is missing. - The **App icon** is a square picture of 1024 by 1024 pixels. After you choose the file, Meta asks where to crop it: drag the corners of the white square out to the edges to keep the whole picture. - The **Terms of Service URL** is optional. Add the address of your terms page if you have one. - At the bottom, press **Add platform**, choose **Website**, enter the address of your site as **Site URL**, and press **Save changes**. Under it, **Add or update instructions** holds what the reviewers read: where the login is (the address of your login page), how to try it, whether Facebook Login is used (**Yes**), and any codes or limits by country. The App Review form takes its reviewer instructions from here. For how to try it, you can start from this text, with your own address: > 1. Open https://example.com/login/, the login page of the community. > 2. Press Continue with Facebook under the login form. > 3. Log in to Facebook with a test user and allow access to the name, profile picture and email address. > 4. Facebook sends you back to the site. Someone new lands on the sign-up form with the name and email address from Facebook filled in. Before the account is made, the site emails a code to that address to confirm it, because Facebook does not say whether an address is confirmed. A member whose Facebook account is already connected is logged in at once. > > How Facebook Login is used: only to log in and to sign up. public_profile gives the Facebook user ID, which the site keeps to recognise the member at the next login, and the name and profile picture for a new account. email gives the email address of the account. The site calls no other Meta API. > > Members can disconnect Facebook in their account settings at any time. A request to delete the data, made from Facebook, reaches the data deletion callback of the site, which removes the link to the Facebook account and answers with a confirmation code and a status page. 2. **Your privacy policy** has to say what your site keeps of the people who log in with Facebook, what it does with it, and how they can ask for it to be deleted. The privacy policy page Poly Community drafts says this in its part about logging in with an account elsewhere, and names the providers that are on when it is drafted. Your page keeps the text it was made with. So when you turn Facebook on, press **Open the policy guide** in **Poly Community → Settings → Privacy** and copy that paragraph into your page again, now naming Facebook. 3. **Business verification:** the app needs a business portfolio that Meta has verified, and App Review cannot be sent before. This holds even for logging in alone: under **Use cases → Customize → Permissions and features**, the **Requirements** of **email** and of **public_profile** both name **Business Verification** and **Data handling questions**, so leaving the email address out does not avoid it. Without it, Facebook shows its login dialog only to people with a role on the app. If you have none, press **Start Verification** on **Publish** and choose **Create a new business portfolio**: give it the public name of your community, with your name and email. Then start its verification in Meta Business Suite: the country, the legal name, address, phone, email and website, a way for Meta to confirm you are connected to it, and documents if Meta does not find it. Meta takes up to about two working days, and **Review → Verification** says **In review** until then. Have the documents and your website ready first: see [What business verification asks](#what-business-verification-asks). 4. **Review → App Review:** the list of requests holds **email** and **public_profile**. Press **Next**. The form has five steps, and **Submit for review** turns on once all of them are done: - **Verification:** done once the portfolio is verified. - **App settings:** done once the basic settings above are complete. - **Allowed usage:** for each permission, tick that your site uses it as Meta allows (logging in with the email address of the Facebook account), and press **Save**. - **Data handling:** answer them yourself, or with whoever handles legal matters for your site. Meta asks: - whether other companies can reach the data from Facebook, and which: your host, for example, and any service your site sends names or email addresses to, such as payments, - who is responsible for the data, a person or an organization, named as in your business verification, and its country, - whether you gave personal data to public authorities for national security requests in the last 12 months, - which policies you have for requests from public authorities: a review of their legality, challenging unlawful ones, giving the least data needed, keeping a record of them, or none of these. - **Reviewer instructions:** the instructions of the Website platform. You may add files here, such as a screen recording of logging in with Facebook on your site, but they are not required. (Screenshot: Submit for App Review: Verification with Go to verification, App settings, Allowed usage and Reviewer instructions done, Data handling still open. Review → App Review → Next.) Meta reviews the whole app with it: the icon, the name, the privacy policy and the deletion callback. Its reviewers try the login on your site with test accounts of their own, and turn down an app they cannot reach, so turn Facebook on as you press **Submit for review** (step 8). Never give the password of your own Facebook account. 5. Once Meta approves, open **Publish** and publish the app. ## What business verification asks Meta checks three things, and turns the verification down when any of them does not match. Its message names which one, with **Make updates** to try again. - **The legal name**, entered exactly as it is written on your document, letter for letter. A sole trader or a self-employed person uses the name the business is registered under. Meta accepts a certificate of registration or articles of incorporation, a business licence or permit, a bank statement or a bank letter. A document of any other kind is turned down. - **The address**, on a document that shows the legal name and the address together: one of the documents above, or a water, gas, electricity or phone bill. - **The website** you enter, which has to show the legal name, spelled as on the document. Put it in the footer of your site or in your terms of service, for example "Run by Example Trading Ltd". A bank statement or a bank letter for the account of the business often shows both its legal name and its address, so one document can cover the first two. ## What Facebook gives your site The ID of the account for your app, the name, the email address and the profile picture. Poly Community asks for the picture at 640 pixels and leaves out the blank silhouette of an account without a photo. Facebook does not say whether the email address is confirmed, and an account made with a phone number may have none. So: - **Someone new** confirms their address with a code on the sign-up form. - **A member who already has an account** with that address logs in to it once, and Facebook is connected from then on. See [An account that already has the address](https://www.poly-community.com/docs/services/sso/#an-account-that-already-has-the-address). Poly Community asks Facebook in the newest version of its Graph API, so a new app works. There is nothing to set for it. ## When something goes wrong ### Facebook says the redirect URI is not allowed The **Valid OAuth Redirect URI** in the settings of the use case is not exactly the one in the dialog in WordPress, or it was pasted and not saved. Paste it again, press Enter so that it shows as an entry, and press **Save changes**. Check that nothing is added or left out: the same `https`, the same `www` or none, no slash at the end. ### Facebook says the app is not available The app is not published yet, and the account is not one of its roles. Add the person as a tester under **App roles → Roles**, or publish the app (step 9). ### Someone new has to type their email address Facebook gave no address: the **email** permission was not added to the use case (step 3), the person took it away under **Edit access** on the Facebook screen, or their Facebook account has no email address. ### The login comes back with "Facebook could not be reached, or its answer could not be checked" The **App Secret** in WordPress is not the one of the app, for example after **Reset** beside it in the basic settings. Copy it again. **Services → Single sign-on** shows the failure with the words of Facebook. ### Meta could not verify your business The message from Meta says what did not match: the legal name, the address or the website. Correct that one as [What business verification asks](#what-business-verification-asks) describes, then press **Make updates** in the message and upload an accepted document. Until the business is verified, App Review cannot be sent, and only people with a role on the app can log in with Facebook. Turn the button off meanwhile (step 7), so that no one else meets the error from Facebook. ### Anything else A Forbidden page from your host right after Facebook, a login that always says it took too long, or a button that does not show: these happen with every provider and are on [Common problems](https://www.poly-community.com/docs/services/sso/troubleshooting/). --- # GitHub Address: https://www.poly-community.com/docs/services/sso/github/ Members log in with their GitHub account. Setting it up takes about five minutes: an OAuth app in the GitHub developer settings, its Client ID and a client secret in Poly Community, and a test. GitHub does not review the app, so it works for everyone as soon as you turn it on. You need: - A GitHub account. The app can belong to your own account or to an organization you run. - Your site on https. How single sign-on works for every provider, and what each setting does, is on [Single sign-on](https://www.poly-community.com/docs/services/sso/). ## 1. Copy the two addresses 1. In WordPress, go to **Poly Community → Settings → Services → Single sign-on**. 2. Press **Set up** on the GitHub row. 3. The dialog shows two addresses to copy: - **Homepage URL**, the address of your site, such as `https://example.com/`. - **Redirect URI**, such as `https://example.com/wp-json/wordplus/v1/sso/back`, where GitHub sends members back. (Screenshot: The GitHub dialog: Make the app, the Homepage URL and the Redirect URI to copy, Client ID, Client secret kept, and Let new people join with it. Settings → Services → Single sign-on → GitHub.) Leave the dialog open. **Make the app** in it opens the developer settings of GitHub. ## 2. Register the OAuth app 1. In GitHub, open [Settings → Developer settings → OAuth Apps](https://github.com/settings/developers) and press **New OAuth App** (or **Register a new application** when you have none yet). For an app of an organization, go to the settings of the organization instead, then **Developer settings → OAuth Apps**. 2. Fill in the form: - **Application name:** the name of your community. People see it when GitHub asks them to authorize it. - **Homepage URL:** the **Homepage URL** from the dialog. - **Application description:** optional. GitHub shows it to people when they authorize the app. - **Redirect URI:** the **Redirect URI** from the dialog, exactly as it is. Leave **Allow wildcard matching** off. - Leave **Enable Device Flow** off. **Expire user access tokens** can stay as it is: your site uses the token once, at the login, and keeps none. 3. Press **Register application**. (Screenshot: Register a new OAuth app: Application name, Homepage URL, Application description, the Redirect URI with Allow wildcard matching off, Enable Device Flow off, Expire user access tokens on, and Register application. GitHub → Developer settings → OAuth Apps → New OAuth App.) ## 3. Copy the Client ID and a client secret The page of the app opens. 1. Copy the **Client ID**. 2. Under **Client secrets**, press **Generate a new client secret** and copy it at once. GitHub shows it only this time, and says so above it. (Screenshot: The page of the OAuth app: the Client ID, and a new client secret with the note to copy it now. The page of the OAuth app.) A client secret of GitHub does not end by itself. If it is ever lost or seen by someone else, generate a new one, enter it in WordPress, then delete the old one in GitHub. Further down the same page, **Upload new logo** gives the app a picture, such as the icon of your site. People see it beside the GitHub logo when they authorize the app. ## 4. Enter the keys 1. Back in the dialog in WordPress, paste the **Client ID** and the **Client secret**. 2. Decide who may use it with **Let new people join with it**. See [Let new people join with it](https://www.poly-community.com/docs/services/sso/#let-new-people-join-with-it). 3. Press **Save the provider**. The GitHub row now says **Set up** and **Off: members do not see it yet**. ## 5. Turn it on Press **Turn it on** on the GitHub row, which opens **Settings → Joining → Logging in**. Turn GitHub on with its switch, and press **Save changes**. **Continue with GitHub** then shows on the login form of the community and on the WordPress login screen, in the dark grey of GitHub. With **Let new people join with it** on, it shows on the sign-up forms too. (Screenshot: The login form of the community with Continue with Google, Microsoft, Apple, Facebook and GitHub under it. The login form, with all five providers on.) ## 6. Try it 1. In a private window, open the login page of your site and press **Continue with GitHub**. 2. Log in to GitHub. The first time, GitHub asks to authorize the app, and the only thing it asks for is your **Email addresses (read-only)**. Press **Authorize** with your username. (Screenshot: Authorize the community app: Personal user data, Email addresses (read-only), with Cancel and Authorize. GitHub, the first time someone logs in to the app.) 3. You are back on your site. A member whose GitHub account is connected is logged in. Someone new is on the sign-up form with their name, a username and their email address filled in. When an account here already has the email address, see [An account that already has the address](https://www.poly-community.com/docs/services/sso/#an-account-that-already-has-the-address). ## What GitHub gives your site The number of the GitHub account, the name (the username when the account has no name), the username, the picture, and the main email address of the account, only when GitHub has confirmed it. - **Someone new** joins without a code for their address, as GitHub confirmed it. Their GitHub username is offered as their username here, unless a member already has it. - **A member who already has an account** with that address, confirmed here, is logged in and GitHub is connected. See [An account that already has the address](https://www.poly-community.com/docs/services/sso/#an-account-that-already-has-the-address). Poly Community reads the profile, which needs no permission, and asks GitHub for one permission alone, the email addresses (the `user:email` scope), to find the main one. It signs each login with PKCE and asks the GitHub REST API in its current version. There is nothing to set for either. ## When something goes wrong ### GitHub says the redirect_uri is not associated with this application The **Redirect URI** of the app is not exactly the one in the dialog in WordPress. Open the app in GitHub, paste it again under **Redirect URIs**, and press **Update application**. Check that nothing is added or left out: the same `https`, the same `www` or none, no slash at the end. ### Someone new has to type their email address GitHub gave no address: the main email address of their GitHub account is not confirmed at GitHub. They type an address on the sign-up form and confirm it with a code, or confirm theirs at GitHub first and log in again. ### The login comes back with "GitHub could not be reached, or its answer could not be checked" The **Client secret** in WordPress is not one of the app, for example after it was deleted in GitHub. Generate a new one and enter it. **Services → Single sign-on** shows the failure with the words of GitHub. ### Anything else A Forbidden page from your host right after GitHub, a login that always says it took too long, or a button that does not show: these happen with every provider and are on [Common problems](https://www.poly-community.com/docs/services/sso/troubleshooting/). --- # Your own OpenID Connect provider Address: https://www.poly-community.com/docs/services/sso/openid-connect/ Members log in through the identity provider of your organization, any that speaks OpenID Connect: Auth0, Okta, Keycloak, ZITADEL, Authentik and the like. For Google, Microsoft, Apple, Facebook and GitHub use their own rows instead, which know each of them. Setting it up takes about ten minutes: a web application at your provider, its issuer, client ID and client secret in Poly Community, and a test. The steps below show Auth0, and the same three things come from any other provider. You need: - An administrator account at your provider. - Your site on https. How single sign-on works for every provider, and what each setting does, is on [Single sign-on](https://www.poly-community.com/docs/services/sso/). ## 1. Copy the redirect address In WordPress, go to **Poly Community → Settings → Services → Single sign-on** and copy the **Redirect address** under the list of providers, such as `https://example.com/wp-json/wordplus/v1/sso/back`. Every provider sends members back there. ## 2. Make a web application at your provider At any provider, it is the same five things: 1. Make an application for logging in to a website: a web application that runs on a server and keeps a client secret, with the authorization code flow. 2. Enter the **Redirect address** as its sign-in redirect address, exactly as it is. 3. Let it ask for the scopes `openid`, `email` and `profile`. 4. Copy its **client ID** and **client secret**. 5. Find the **issuer** of the provider: the address under which it publishes `/.well-known/openid-configuration`. | Provider | Issuer | |---|---| | Auth0 | `https://` and the **Domain** of the application, such as `https://your-tenant.us.auth0.com/` | | Okta | `https://your-org.okta.com/oauth2/default`, or `https://your-org.okta.com` for the organization itself | | Keycloak | `https://your-host/realms/your-realm` | | ZITADEL | `https://your-instance.zitadel.cloud` | The provider may ask how the client secret is sent. Either way works: Poly Community sends it in the body of the request, and when the provider refuses that, as HTTP Basic, and keeps the way that worked. Each login also carries PKCE, which the provider may ask for. ### With Auth0 1. In the Auth0 dashboard, go to **Applications → Applications** and press **Create Application**. 2. Name it after your site, choose **Regular Web Application** and press **Create**. (Screenshot: Create application in Auth0: the name Riverside Community, Create Manually, and Regular Web Application chosen among the four application types. Auth0 → Applications → Create Application.) 3. On the **URLs** tab of the application, paste the **Redirect address** into **Allowed Callback URLs**, press Enter so it becomes an item of the list, and press **Save** at the bottom of the page. The other addresses there can stay empty. (Screenshot: Allowed Callback URLs in Auth0 with the redirect address of the site as its one item. The URLs tab of the application.) 4. The **Credentials** tab says how the client secret is sent. Leave **Client Secret (Post)**, the way Auth0 sets new applications. **Client Secret (Basic)** works too. (Screenshot: Client Authentication Methods in Auth0 with Client Secret (Post) chosen, and the Client Secret hidden with Copy, Reveal and Rotate. The Credentials tab of the application.) 5. The **Settings** tab has the three things Poly Community needs: the **Domain**, the **Client ID** and the **Client Secret**. Copy each with the button at its end. The issuer is the Domain with `https://` before it, such as `https://riverside.us.auth0.com/`. (Screenshot: Basic Information in Auth0: the Name, the Domain, the Client ID and the Client Secret hidden, each with a copy button. The Settings tab of the application.) A new application can log in with the two connections Auth0 starts every account with: an email address and password kept at Auth0, and Google. Others, such as your company directory, are added under **Authentication** in the dashboard and turned on for the application on its **Connections** tab. Until the Google connection has keys of your own (**Authentication → Social**), Auth0 uses development keys of its own for it and logs a warning that they are only meant for testing. ## 3. Add the provider 1. Under the list of providers, press **Add a provider**. 2. Fill in the dialog: - **Name in small letters:** a short name for the provider, such as `auth0`. It cannot be changed later. - **Name on its button:** what members read, such as `Auth0` or the name of your organization. The button says **Log in with** and this name. - **Issuer:** the issuer from step 2, with or without the slash at its end. - **Client ID** and **Client secret:** from step 2. - **The claim with groups:** the name of the claim that lists the groups of a member, `groups` unless your provider calls it otherwise. See [Larger teams: SCIM and groups](https://www.poly-community.com/docs/services/sso/#larger-teams-scim-and-groups). 3. Decide who may use it with **Let new people join with it** and **Only these domains can join**. See [Let new people join with it](https://www.poly-community.com/docs/services/sso/#let-new-people-join-with-it). 4. Press **Save the provider**. (Screenshot: The Add a provider dialog filled for Auth0: Name in small letters auth0, Name on its button Auth0, the Issuer, Client ID, Client secret, The claim with groups, and Let new people join with it. Settings → Services → Single sign-on → Add a provider.) Unlike the five named providers, a provider you add is on as soon as it is saved. Its row says **Set up** and **On: its button is on the login forms**, and **Log in with** and its name shows on the login form of the community and on the WordPress login screen. With **Let new people join with it** on, it shows on the sign-up forms too. To keep it from members until you are ready, switch it off under **Settings → Joining → Logging in** and press **Save changes**. (Screenshot: The login form of the community with Continue with Google and Log in with Auth0 under it. The login form, with Google and Auth0 on.) ## 4. Try it 1. In a private window, open the login page of your site and press **Log in with** and its name. 2. Log in at your provider. Auth0 shows its own login page, which names your application. (Screenshot: The Auth0 login page: Log in to riverside to continue to Riverside Community, email address and password, Continue, Sign up and Continue with Google. The Auth0 login page.) 3. You are back on your site: - A member whose account is connected is logged in. - Someone new, with **Let new people join with it** on, is on the sign-up form, which says **Almost there. Fill in the rest to join with your Auth0 account.** Their name and email address are filled in, the address marked **From your Auth0 account.**, and they choose a username, as Auth0 sends none. - When an account here already has the email address, see [An account that already has the address](https://www.poly-community.com/docs/services/sso/#an-account-that-already-has-the-address). ## What the provider gives your site Poly Community reads the ID token of the login: the number of the account at the provider (`sub`), the email address and whether the provider confirmed it (`email_verified`), the name, the picture and the claim with groups. A provider may leave the email address and the name out of the ID token and give them only at its UserInfo address, as the specification allows: Poly Community then asks there with the login, and takes the answer only when it is about the same account. A provider that names a username (`preferred_username`, as Okta and Keycloak do) has it filled in for someone new on the sign-up form, while no member here has it. When it is an email address, as Okta logins often are, only the part before the @ is filled in, so no address becomes a public name. They can change it there, and it is never used to find an account. Without one, as with Auth0, they choose a username themselves. - **An email address the provider confirmed** links an account here with that address, when its member confirmed it here too. See [An account that already has the address](https://www.poly-community.com/docs/services/sso/#an-account-that-already-has-the-address). - **One it did not confirm** is confirmed with a code on the sign-up form. At Auth0, an address that comes from Google is confirmed. One that someone typed when they signed up at Auth0 with a password stays unconfirmed until they confirm it at Auth0. The provider has to sign its ID tokens with RS256, as most do by default, Auth0 among them. ## When something goes wrong ### The provider says the callback or redirect address is not allowed The redirect address of the application is not exactly the one in WordPress. Auth0 says **Callback URL mismatch. The provided redirect_uri is not in the list of allowed callback URLs.** Paste the **Redirect address** again into the list of the application (at Auth0, **Allowed Callback URLs** on its **URLs** tab), and save. Check that nothing is added or left out: the same `https`, the same `www` or none, no slash at the end. ### The login page says there is no account here for that account yet **Let new people join with it** is off for the provider, and no account here is connected to that account or has its confirmed email address. Someone who already has an account logs in to it another way and connects the provider in their account settings. To let new people join with it, turn the setting on in the dialog of the provider. ### The login page says the provider could not be reached, or its settings do not match its issuer Poly Community could not read `/.well-known/openid-configuration` at the **Issuer**, or the issuer named there is not the one entered. Copy the issuer exactly as the provider names it in that document, with or without the slash at its end: Okta, for example, has an issuer for the organization and another for each authorization server. ### The login page says the answer of the provider is not signed the way it should be The provider signs its ID tokens with another algorithm. Set it to RS256 in the settings of the application or the authorization server. ### Someone new has to type their email address The provider gave no address: the `email` scope is missing from the application, or the account at the provider has none. ### Anything else A Forbidden page from your host right after the provider, a login that always says it took too long, or a button that does not show: these happen with every provider and are on [Common problems](https://www.poly-community.com/docs/services/sso/troubleshooting/). --- # Common problems Address: https://www.poly-community.com/docs/services/sso/troubleshooting/ Most problems with single sign-on come from the server or a plugin between the provider and your site, not from the provider. They are the same for Google, Microsoft, Apple, Facebook, GitHub and your own provider. This page goes through them, each with what you see and what to do. When the login fails on your site, the member lands on the community login page with a line that says why, such as **Logging in with Google was cancelled.** That line is the first clue. When nothing of your site shows at all, look at the page they land on instead. (Screenshot: The login page saying: Logging in with Google was cancelled.. The login page after Cancel at Google.) ## A Forbidden page right after the provider **What you see:** after logging in at the provider, a page from your host says **403 Forbidden** or **You do not have permission to access this document**, with nothing of your site on it. **Why:** a firewall on the server, usually ModSecurity with the Comodo or OWASP rules, blocked the answer of the provider on its way to your site. The answer carries words that some rules mistake for an attack. Google, for example, names the scopes it gave in the address, one of them ends in `userinfo.profile`, and Comodo rule 210580 reads `.profile` as an attempt to open a file of the server. Apple posts its answer, so a rule on posted fields can catch it too. **What to do:** turn that one rule off for the redirect address alone, so it keeps guarding the rest of your site. 1. Find the rule. The error log of your host has a line for each block, with the address and the number of the rule, such as `ModSecurity: Access denied with code 403 (phase 2). Matched phrase ".profile" at ARGS:scope ... [id "210580"] ... [uri "/wp-json/wordplus/v1/sso/back"]`. 2. Turn it off for that address. In Plesk, go to **Websites & Domains**, your domain, **Apache & nginx Settings**, and add this under **Additional directives for HTTPS**, with the number of the rule: ```apache SecRuleRemoveById 210580 ``` On cPanel and most shared hosts you cannot change the rules yourself. Send the log line to the support of your host and ask them to turn that rule off for the address `/wp-json/wordplus/v1/sso/back`. 3. Start a new login. The code in the address that was blocked works only once. Turning the whole firewall off for your site also works, but leaves it unguarded. Turn off the one rule. ## The provider answer is refused by WordPress **What you see:** after the provider, a page of plain text such as `{"code":"rest_disabled"...}` or `{"code":"rest_cannot_access"...}`, or a 401 or 404 page of your site. **Why:** the redirect address is an address of the WordPress REST API, `/wp-json/wordplus/v1/sso/back`. Some security plugins turn the REST API off for visitors, and every member arrives there as a visitor, as they are not logged in yet. **What to do:** in that plugin, let visitors reach the route `wordplus/v1/sso/back`, or let the REST API answer visitors again. Poly Community needs the REST API for much else too. ## The login always took too long **What you see:** the login page says **That login took too long, or it was started in another browser.** every time, though the member was quick. **Why:** a login is tied to the browser that starts it, by a cookie, and has ten minutes. Something stops the cookie from coming back with the answer: - **Your site has two addresses.** The login starts at `https://example.com` and the provider sends the member back to `https://www.example.com`, or the other way round, or one is http. The cookie of one address does not go to the other. Make the **WordPress Address** and **Site Address** under **Settings → General** the same, send every visitor to that one address, and enter the redirect address in the provider app exactly as **Services → Single sign-on** shows it. - **A page cache or a CDN keeps the login addresses.** A rule that caches everything, such as Cache Everything in Cloudflare, can serve an old `wp-login.php` or an old answer. Leave `wp-login.php` and every address under `/wp-json/` out of the cache. - **The browser blocks cookies of your site.** Try another browser, or a private window without extensions. ## The provider could not be reached **What you see:** the login page says the provider **could not be reached, or its answer could not be checked.** **Why and what to do:** - **The client secret is wrong** or was made again in the provider console. Copy it again into the dialog of the provider under **Services → Single sign-on**. - **The server cannot reach the provider.** Some hosts block requests from the server to other sites. **Tools → Site Health** in WordPress says when the site cannot reach WordPress.org, which usually means it cannot reach the providers either. Ask your host to allow requests to the provider, such as `oauth2.googleapis.com` and `www.googleapis.com` for Google. - **The clock of the server is off.** The answer of the provider is valid for a short time, and a clock more than a minute off makes it look expired or not yet valid. Ask your host to keep the clock of the server in time. ## The redirect address has a question mark in it **What you see:** the **Redirect address** reads like `https://example.com/?rest_route=/wordplus/v1/sso/back`, and a provider refuses it, Microsoft for personal accounts among them. **Why:** your site uses plain permalinks. **What to do:** under **Settings → Permalinks**, choose any structure but Plain. The redirect address becomes `https://example.com/wp-json/wordplus/v1/sso/back`. Enter the new address in every provider app. ## The site moved to a new address When the site moves to https or to a new domain, its redirect address moves with it. Copy the new one from **Services → Single sign-on** and replace the old one in the app of every provider you use. Until then, the providers send members to the old address. ## The button does not show - **The provider is not set up**, or not turned on. **Services → Single sign-on** says **Set up** and **On** for a provider whose button shows. Turn it on under **Joining → Logging in** and press **Save changes**. - **Missing on the sign-up form only:** **Let new people join with it** is off for that provider. A provider that lets no new people join has its button on the login forms alone, as it cannot make an account. Turn it on in its dialog under **Services → Single sign-on** if new people should join with it. - **A page cache keeps the old login page.** Clear the cache of the site. - **Another login plugin draws its own login form.** **Joining → Logging in** lists the login plugins it finds on the site. Use the buttons of one of them, not both. ## Someone cannot join **What you see:** the login page says **There is no account here for that Google account yet.** It goes on: if they have one, log in to it another way and connect Google in the account settings. Then, where the site lets anyone sign up, **If you are new here, create an account**, and where it does not, **If not, ask the community team to add you**. **Why:** **Let new people join with it** is off for the provider, or it is on and the email address is not at a domain under **Only these domains can join**. See [Let new people join with it](https://www.poly-community.com/docs/services/sso/#let-new-people-join-with-it). **A member who already has an account sees it too** when the provider gives an address that is not the one of their account: another address of theirs, or a hidden one, as **Hide My Email** of Apple gives. Nothing on the site can match it to them. They log in another way once and press **Connect** beside the provider under **Connected accounts** in their account settings. The team cannot connect a provider for a member. **Adding someone yourself:** make the account under **Users**, then **Add New**, with their email address, and let WordPress send them the link to choose a password. When they press the button of the provider and it gives that same address, they are asked to log in once with that password or a code, and the provider is connected from then on. ## Not problems - **You already have an account here with** an address, **log in to it once**: this is how an account that already has the address is connected safely. See [An account that already has the address](https://www.poly-community.com/docs/services/sso/#an-account-that-already-has-the-address). - **A two-factor step after the provider:** two-factor plugins ask their step after a provider, as after a password. - **A member locked out by a plugin that limits login attempts** is locked out through providers too, as with a password. --- # AI Address: https://www.poly-community.com/docs/services/ai/ Poly Community can translate posts into the language of a member, and find posts by what they mean rather than by their words. Both run on an AI provider of your choice, on a key of your own account there, so you pay the provider directly and choose what it costs. Nothing runs until you set a provider up and turn a use on. (Screenshot: Services, AI: OpenAI set up, with the end of its key and what uses it. Settings → Services → AI.) ## Setting up a provider 1. Go to **Poly Community → Settings → Services → AI**. 2. Under **All providers**, pick the one you have an account with: - **OpenAI**, **Anthropic** or **Google Gemini**: a key from its console, [platform.openai.com](https://platform.openai.com/api-keys), [platform.claude.com](https://platform.claude.com/settings/keys) or [Google AI Studio](https://aistudio.google.com/apikey). - **Clouds** that speak the OpenAI API, such as OpenRouter (many models, one key), Mistral AI, Groq, DeepSeek, xAI, Azure OpenAI, Together AI, Fireworks AI, Cerebras or Hugging Face: their key, and for Azure the address of your resource. - **Your own server**, such as Ollama, LM Studio, vLLM or LocalAI: its address. Tick the box under **Where it is** for localhost or an address inside your network, one only the server of your site reaches: the models then run where you run them, and nothing leaves. - **Another service**: any service that speaks the OpenAI API, by its address, its key and the names of its models. 3. Enter what its dialog asks, and press **Check and save**. Your site asks the provider once, and keeps the key only if it answers. (Screenshot: The dialog to set up Google Gemini: the API key, where it comes from, and Check and save. Setting up a provider.) A provider set up shows under **Providers set up** with the end of its key or its address, and what uses it. **Change** opens its dialog again, where **Remove** deletes its key and address from your site. Keys are kept sealed in your site and used by Poly Community alone: another plugin on the site never reads them. ## What uses it Under **What uses it**, each use has its own provider and model: (Screenshot: What uses it: Translate posts with Anthropic and its model, Search by meaning with OpenAI and its model, and the limits a day. What uses it.) - **Translate posts**, with **Translates with** any provider set up and **Its model** from the models of that provider. Each translation is kept, so a post is paid for once in each language, until it changes. - **Search by meaning**, with **Reads posts with** OpenAI or Gemini, the only two that read posts for search. Each post is read once, so search finds a post that says the same thing with other words. Turning it on, or changing its provider or model, reads every post again, up to 5,000 of the newest. With small models that costs a few cents for thousands of posts. Leave **Its model** empty for the small, cheap model the provider suggests. ## What members see **Translate** is in the ⋯ of every post for members while Translate posts is on. It puts the post in the language the member reads the site in, with a line under it, **Translated by AI · Show original**. **Show original** brings the words of the post back, and so does pressing **Translate** again. A translation is kept for each language, so the next member who asks for the same one gets it at once and it costs nothing more. It is made again only once the post changes. Visitors do not see Translate. (Screenshot: A post put in another language, with Translated by AI and Show original under it. A post translated.) **Close in meaning** is a section of the search results while Search by meaning is on: posts that say what the member searched for with different words, which a search by the words alone did not find. It follows the other sections under **All**. In a space, it holds the posts of that space. (Screenshot: The search results with a section Close in meaning, a post that says the same with other words. Close in meaning, in the search results.) When a limit is reached or the provider does not answer, Translate says so in a message and the search shows its other results without the section. ## Limits and what it costs - **The requests of a member a day**: 30 by default. 0 for no limit. - **The site requests a day**: 2,000 by default, for every member together. 0 for no limit. Past a limit, the use waits until the next day. **Usage, the last 30 days** shows the requests of each use, the tokens sent and received, and what they cost in US dollars, as the provider prices them. ## For developers The Translate item is an item of the post menu, `translate`, which a plugin can move or take out with `poly_community_register_ui`, as [Buttons and menus](https://www.poly-community.com/docs/developers/buttons-and-menus/) shows. The section of the search page is data the page draws with its template, like every page of the community: see [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/), the way to change or add what a page shows, for a person or a coding agent. ## What is sent where The text of the posts to translate or to read, and what a member types into a search by meaning, go to the provider you chose. Never who wrote them. **Settings → Privacy** lists it for your privacy policy, and each provider dialog links its terms and privacy policy. --- # Payments Address: https://www.poly-community.com/docs/services/payments/ Members pay you for paid plans, membership cards and what members sell. The money goes straight to your own account with a payment provider, or to your bank by transfer. Poly Community takes no fee and adds nothing to the fees of the provider, and nothing of WordPlus is in the way of the money. It comes with Poly Community: there is no other plugin to install. Members pay in the form of the provider on the payment page of your own site, where the provider has one (Stripe, PayPal), or on the secure page of the provider. Either way the card is typed into the provider, so no card number ever reaches your site. Members look after their plans in **Billing**, on your site: another card, another plan, cancel or keep a plan, and their receipts, never on the pages of the provider. The ways to pay are set up here. The guide for each walks through it step by step: - [Stripe](https://www.poly-community.com/docs/services/payments/stripe/): cards, Apple Pay, Google Pay and more, and subscriptions. - PayPal: PayPal accounts and cards, and subscriptions. - Mollie: cards and the local ways to pay of Europe, such as iDEAL and Bancontact. - CCBill: cards, for sites other providers turn down once CCBill approves the account. - [Bank transfer](https://www.poly-community.com/docs/services/payments/manual/): bank transfer, cash or another way you confirm yourself. ## How it works 1. A member chooses what to buy, such as a paid plan, and presses to pay. 2. Where more than one way to pay can sell it, they choose one. Then they pay in the form of the provider on the payment page of your site, where the provider offers one and you let it ([Stripe](https://www.poly-community.com/docs/services/payments/stripe/#5-let-members-pay-on-your-site) does), or on the page of the provider. 3. Once paid, they are back on your site. Your site asks the provider whether the payment went through, and gives the member what they bought, such as their plan. 4. The provider also tells your site at once through its webhook when a payment, a renewal or a refund happens, and your site checks with the provider on a schedule too. So a payment is never missed, even when the member closes the page of the provider early. A bank transfer works the other way round: the member reads your bank details and a reference, pays from their bank, and the payment waits until you mark it received. ## Where it is set up Like every service of the site, payments are set up under **Poly Community → Settings → Services → Payments**. The payments themselves, with subscriptions and access, are listed under **Poly Community → Payments** (see [Payments, subscriptions and access](#payments-subscriptions-and-access)). The first part is **Ways to pay**. Each way to pay you can use is listed there with **Connect**, and one that is connected says **Offered**, with **Open** to change it. (Screenshot: Ways to pay: Bank transfer offered, Stripe, PayPal, Mollie and CCBill with Connect. Settings → Services → Payments.) Connect as many as you like. Members then choose among those that can sell what they buy: a subscription, for example, needs a way to pay that charges again every month, which a bank transfer cannot. Your accounts with the providers are shared by every WordPlus plugin on the site, so a provider is connected once for all of them. ### Before Paid membership is on Payments are there under Services even while the **Paid membership** app is off, so you can connect a way to pay and try it before members are asked to pay. The page then says so, with a link to the app. (Screenshot: A note: Paid membership is off. You can connect a way to pay now. Members can pay once Paid membership is on. With a link Open Paid membership.. Settings → Services → Payments, with Paid membership off.) The Services list says **Connected. Members can pay once Paid membership is on** for payments then. Once the app is on, it says **Members can pay**, and the ways to pay you connected work at once, with nothing to enter again. ## Connecting a way to pay 1. Go to **Settings → Services → Payments** and press **Connect** beside the way to pay. 2. Fill in what it asks for: the keys you make in the account of the provider, or for a bank transfer your bank details. **Make one in** beside a key opens the right page of the provider. 3. Press **Save and check**. Your site asks the provider whose account the keys open and tries each thing it needs, and says what it found under **What the check found**. **Last checked** keeps the answer. 4. For a provider with a webhook, press **Set it up for me** under **Webhook**. Your site makes the webhook in your account and keeps what it needs, with nothing to copy. 5. Leave **Offered to buyers** on. Turned off, the way to pay stays connected, but nobody can start paying with it. Each guide walks through these steps for its provider. ## Test mode and live mode A site starts in **test mode**, where no real money moves. Each provider has test keys for it, made in the test mode or sandbox of its account, and pays with test cards that are never charged. While the site is in test mode: - Only you, other administrators and the testers you name can pay. Anyone else who tries is told that payments are in test mode and only administrators and testers can pay. - What is bought in test mode opens only while the site is in test mode. - Every screen of payments says **Test mode**, and each payment made in it is marked **Test**. Each way to pay keeps its settings for each mode apart. Choose **Test mode** or **Live mode** at the top of its page to see and change the settings of that mode. ### Try it Under **Try it**, **Make a test payment** pays the amount you enter with the way to pay of the site. Press **Pay it**: you pay on the page of the provider with one of its test cards, then come back, and the payment shows under Payments. (Screenshot: Try it: Make a test payment with an amount and Pay it, and Testers with a field for a username or email. Settings → Services → Payments → Try it.) Make a test payment with each way to pay, then refund it, so you have seen both ends before a member does. - **Testers**: members who may pay with test cards too, by their username or email. What they buy opens for them while the site is in test mode. - **Try it as a visitor**: a link to open in a private window. That browser can then pay in test mode without logging in until the same time the next day. It shows where visitors can pay (see [More settings](#more-settings)). ### Go live **Go live** lists what is left before the site takes real money, and its button switches the site to live mode. (Screenshot: Go live: Fill in its live settings, Make a test payment then refund it, and the Go live button, greyed out. Settings → Services → Payments → Go live.) - **Save and check your live key**: made the same way as the test one, outside the test mode of the provider. A bank transfer asks you to **Fill in its live settings** instead. - **Make a test payment, then refund it.** - **Receipts are switched on** in the account of the provider, and **You chose what happens when a renewal fails**, for providers that send receipts and charge again. Tick them once you have looked, with the link to the provider. **Go live** is pressable once the live keys are saved and checked. It asks first: from then on members pay with real money, and what was bought in test mode stops giving access. Once live, **Back to test mode** under **The site is live** takes the site back, for a site that is not open yet. Nobody can then pay with real money, and what members bought does not open for them until you go live again. ## Currency - **Prices are in**: one currency for the whole site, usually the one of your account with the provider. Choose it before you sell: it cannot change once a member has paid in it. - **Also sell in**: more currencies. Visitors see prices in their own currency where you sell in it, by their country or their choice. Each price is worked out from yours at the **Exchange rates**: those of the European Central Bank, read once a day, or your own. **Round prices** and **Add on top**, a share for the exchange fees of your provider, apply to those prices. ## Payments, subscriptions and access While **Paid membership** is on, the payments are on a page of their own, **Poly Community → Payments**, with four lists: **Payments**, **Subscriptions**, **Access** and, where members sell, **Payouts**. While the app is off, the same lists are tabs of Services → Payments. (Screenshot: The Payments list in test mode: what came in this month, what waits to be confirmed, and one test payment on its way. Poly Community → Payments.) Open a payment to see who paid, for what and how, to refund it, or for a bank transfer to mark it received. The team of the community sees these lists too, without acting on them. ## More settings The rest of Setup holds what applies to every way to pay. Each is optional. - **Promotion codes**: members can enter a code when they pay, with a way to pay that takes them, such as Stripe. You make the codes in the account of the provider. - **Tax**: none, prices being what members pay, or tax worked out by Stripe Tax, or your own rates by the address of the buyer. Registering, filing and paying the tax stay yours. - **Invoices and credit notes**: the receipts of the provider, or invoices the site issues itself, numbered in order and never changed once issued, with a PDF of each. - **Visitors can pay**: without an account, only for what a plugin offers them, such as a donation. A spam check runs first. - **Days of grace**: how long a member keeps their access after a renewal fails, while their card is tried again. - **Keep payment records**: how many years, as the accounting rules of your country say. Older ones are deleted. Press **Save changes** at the bottom of the page to keep them. --- # Stripe Address: https://www.poly-community.com/docs/services/payments/stripe/ With Stripe, members pay by card, Apple Pay, Google Pay, Link and the other ways Stripe offers in their country. They pay in the form of Stripe on the payment page of your own site, or on the secure checkout page of Stripe if you keep them there. It takes one-off payments and subscriptions that renew by themselves. The money goes to your own Stripe account, and the fees of Stripe apply, with nothing added to them. Setting it up takes about ten minutes: two keys from the Stripe Dashboard, the keys in Poly Community, the webhook, then a test payment. You need a Stripe account, and your site on https for the webhook. Test mode works as soon as the account is made: Stripe asks for your business details only when you go live. How payments work for every way to pay is on [Payments](https://www.poly-community.com/docs/services/payments/). ## 1. Make a Stripe account 1. Go to [dashboard.stripe.com/register](https://dashboard.stripe.com/register) and sign up with your email address, your name, the country of your business and a password. 2. Confirm your email address with the link Stripe sends. A new account opens in a sandbox, a test copy of the account where no real money moves. The Dashboard shows a **Sandbox** bar at the top while you are in it. Make the test key there. ## 2. Make the key Your site needs one key from Stripe that only it knows, allowed only what it uses. Stripe calls it a secret key. (The second key, the publishable key, is already there: see step 5.) 1. In the Stripe Dashboard, open **API keys**. **Make one in Stripe** on the Stripe page of the plugin opens it too. 2. Press **Create secret key**. 3. On the first step, which asks how you will use the key, choose **Sharing with a third-party service**. Enter **Poly Community** as the **Vendor name** and the address of your site as the **URL**, and press **Continue**. 4. Under **Assign permissions to your key**, choose **Custom permissions** and press **Continue**. 5. Give the key these permissions in the **In your account** column, and leave every other at **None**. The search box at the top finds each by its name. | Permission | Access | | --- | --- | | Accounts | Read | | Checkout Sessions | Write | | Customers | Write | | Products | Write | | Prices | Write | | Subscriptions | Write | | Charges and Refunds | Write | | Customer Portal | Write | | Webhook Endpoints, Event Destinations | Write | | Events | Read | | Invoices | Read | | Payment Intents | Read | | Payment Disputes | Read | The Stripe page of the plugin lists the same permissions while no key is saved. 6. Press **Continue**. Under **Name and review your key**, Stripe shows the permissions you gave: the thirteen of the table, and none in connected accounts. 7. Press **Create key**, and confirm it if Stripe asks you to. Stripe shows the key once, beginning with `rk_test_`. Copy it into your password manager, as Stripe does not show it again. **Webhook Endpoints, Event Destinations: Write** lets your site set up its own webhook. A key with it can also read every event of your Stripe account, so make this key for this site alone and use it nowhere else. ## 3. Enter the key 1. In WordPress, go to **Poly Community → Settings → Services → Payments**. 2. Press **Connect** beside **Stripe**. **Keys for** says **Test mode**. (Screenshot: Your Stripe account before a key: Keys for test mode, the Secret key field with Make one in Stripe, the thirteen permissions the key needs, and Check. Settings → Services → Payments → Stripe.) 3. Paste the key into **Secret key** and press **Save and check**. Your site asks Stripe whose account the key opens and tries each permission it needs. The check says **Connected to** your account, with its country and currency (reading it is the first permission), and that the 12 more permissions the key needs are there. A permission missing is named, with what to set in Stripe. (Screenshot: Your Stripe account connected in test mode: the saved key shown by its last four characters, the Publishable key field, Offered to buyers on, and the check: Connected to Riverside Community, Stripe sends its events to this site, 12 more permissions the key needs are there. Settings → Services → Payments → Stripe, connected.) ## 4. Set up the webhook Under **Webhook**, press **Set it up for me**. Your site makes the webhook in your Stripe account and keeps its signing secret, with nothing to copy. **Check again** then says **Stripe sends its events to this site**. (Screenshot: Webhook: Set up, It is set up, No notice has come yet, Set it up again and Or add it by hand. Settings → Services → Payments → Stripe → Webhook.) The webhook is how Stripe tells your site at once that a payment, a renewal or a refund happened. A site on your own computer or behind a password cannot get it. Payments still work there: your site asks Stripe when a buyer comes back, and every few minutes. If the address of your site changes, the check says the webhook points at another address. Press **Set it up again**. ## 5. Let members pay on your site With the publishable key of Stripe saved, members pay in the form of Stripe on the payment page of your site, and never leave it. The card is typed in a frame of Stripe inside that page, so card details still never reach your site. 1. In the Stripe Dashboard, open **API keys** and copy the **Publishable key**, which begins with `pk_test_`. Stripe shows it without asking, as it is not a secret: it only lets the form of Stripe open on your site. 2. On the Stripe page of the plugin, paste it into **Publishable key** and press **Save and check**. 3. **Pay on this site** is on. It says **Buyers pay in the form of Stripe on this site**. (Screenshot: Your Stripe account with the publishable key saved: Pay on this site on, saying buyers pay in the form of Stripe on this site, with its own page as the way out where the form cannot open. Settings → Services → Payments → Stripe → Pay on this site.) What a member sees when they join a paid plan or buy a ticket: - The payment page of your site, with your name and look, what they buy and its price, and the form of Stripe under it: card, wallets and the other ways Stripe offers them. - Once paid, they are back on the page they came from, and what they bought opens as soon as Stripe confirms it. - If the form cannot open (a browser blocking the script of Stripe, for example), the page says nothing was charged and offers **Pay on the page of Stripe instead**. The script of Stripe (js.stripe.com) loads on the payment pages of your site alone (paying, and changing a card), never on the other pages. To keep members on the checkout page of Stripe instead, turn **Pay on this site** off. Without a publishable key they go there too. **Apple Pay** shows in the form on your site once your domain is registered with Stripe: open the [Payment method domains](https://dashboard.stripe.com/settings/payment_method_domains) page of the Stripe Dashboard, press **Add a new domain**, enter the domain of your site and press **Save and continue**. ## 6. Make a test payment 1. On **Settings → Services → Payments**, under **Try it**, enter an amount and press **Pay it**. 2. The form of Stripe opens on your payment page (or the checkout page of Stripe, if **Pay on this site** is off). Pay with the test card `4242 4242 4242 4242`, any date ahead such as `12/34`, and any three digits. 3. You come back to your site, which says **The test payment arrived**. 4. Open it with **See it in Payments**. It is **Paid**, and under **What Stripe told this site**, the notice `checkout.session.completed` is **Handled**: the webhook works. 5. Press **Refund**, then **Refund all of it**. The payment says **Refunded**, and the access it gave ends. Stripe may show a buyer the price in their own currency, such as hryvnias for a price in dollars: that is the Adaptive Pricing of Stripe, on by default. Your site still records the payment and its refund in your own currency. ## 7. Go live When Stripe has activated your account for real payments: 1. In the Stripe Dashboard, leave the sandbox for your account itself, and make the same key there, with the same permissions. It begins with `rk_live_`. The live **Publishable key** begins with `pk_live_`. 2. On the Stripe page of the plugin, choose **Live mode** under **Keys for**, paste both keys, press **Save and check**, then **Set it up for me** under **Webhook**. 3. Look at the two settings **Go live** names in Stripe: that receipts are emailed to members, and what happens when a renewal fails. Its links open them. 4. Press **Go live**. See [Go live](https://www.poly-community.com/docs/services/payments/#go-live) for what changes then. ## Members and their plans A plan priced by the month or the year is a subscription at Stripe, which charges it again each period by itself and tells your site through the webhook. Members look after it in **Billing**, on their profile, without leaving your site: - **Change card**: the payment page of your site opens with the form of Stripe to save another card (or the page of Stripe, if **Pay on this site** is off). Nothing is charged then, and the next payments are taken from the new card. When a payment did not go through, Billing says so and offers this first, and the payment that failed is taken from the new card at once, so the plan is paid again without waiting for the next try of Stripe. - **Switch to** another plan, on the **Plans** page: by default the new plan starts at the next renewal. Until then the member keeps the plan they paid for, nothing is charged or refunded, and the renewal takes the price of the new plan. Billing says **Changes to** the new plan on that day, with **Stay on** the plan they have, which takes the switch back. Choose how it works under **When a member switches plan** on the Stripe page of the plugin: **At the next renewal**, or **Members cannot switch**, and Billing then says plainly to cancel and join the other plan once theirs ends. A switch keeps how often a member pays: a monthly plan switches to another monthly price, as Stripe would charge a change from monthly to yearly at once. - **Cancel**: the plan stays theirs until the period they paid for ends, and nothing more is charged. - **Keep the plan**: a plan set to end runs on again and renews as before. - **Pause** and **Resume**, once you turn on **Members can pause** on the Stripe page of the plugin (off at first): nothing more is charged while a plan is paused, and it stays theirs until the time they paid for ends. Resumed before then, it renews as before. Resumed later, it is charged at once for a new period from that day, so no paused time is free and none is paid twice. You can pause a plan for a member yourself from **Subscriptions**, with the same rules. When a renewal fails, Stripe tries the card again, and the member keeps the plan for the **Days of grace** set under [More settings](https://www.poly-community.com/docs/services/payments/#more-settings). ## When the check finds a problem - **Stripe did not accept this key**: the key was deleted or rolled in Stripe. Make a new one and paste it. - **The key is missing** a permission: in Stripe, edit the key and set what the check names, then press **Check again**. - **The webhook was deleted in Stripe** or **The webhook needs setting up again**: press **Set it up again**. - **Stripe has not turned on payments for this account yet**: finish the details Stripe asks for in its Dashboard. - **Members cannot change their card from Billing**: the key may not read SetupIntents, the cards members save. Payments work without it. In Stripe, edit the key to allow reading them, then press **Check again**. - **A new card waits for the next retry of a failed renewal**: the key may not write Invoices, so a member who changes the card of a plan whose payment failed pays it only when Stripe tries again, days later. Payments work without it. In Stripe, edit the key and set **Invoices** to **Write**, then press **Check again**. --- # Bank transfer Address: https://www.poly-community.com/docs/services/payments/manual/ With a bank transfer, members pay outside the site: they read your bank details and a reference, send the money from their bank, and the payment waits until you mark it received. It suits a club that already collects dues by transfer, cash at the door or an invoice. It needs no account with a provider and costs nothing. The same way to pay works for anything you confirm yourself, under the name you give it, such as **Cash at the door** or **Invoice**. What it cannot do: it takes one payment at a time, so it cannot sell a subscription that renews by itself, and access opens only once you mark the money received. For payments that confirm themselves, connect a provider too, such as [Stripe](https://www.poly-community.com/docs/services/payments/stripe/). Members then choose how to pay. How payments work for every way to pay is on [Payments](https://www.poly-community.com/docs/services/payments/). ## 1. Fill in your details 1. In WordPress, go to **Poly Community → Settings → Services → Payments**. 2. Press **Connect** beside **Bank transfer**. 3. Fill in: - **Name buyers see**: what the way to pay is called when members choose it, such as **Bank transfer**. - **Instructions**: where and how to pay, such as the name on your account, your IBAN and BIC, or an address or phone number. Buyers see them with the amount and the reference of the payment. - **Days to wait for the money**: after this many days, a payment not marked received closes, and anything it held is given back. 14 if left empty, 90 at most. 4. Leave **Offered to buyers** on, and press **Save and check**. (Screenshot: The Bank transfer page: Settings for test mode, Name buyers see, Instructions with bank details, Days to wait for the money, Offered to buyers, and Check again. Settings → Services → Payments → Bank transfer.) **Settings for** at the top switches between **Test mode** and **Live mode**. Each mode has its own details, so fill in those of live mode too before the site goes live (see [Go live](https://www.poly-community.com/docs/services/payments/#go-live)). ## 2. What members see A member who pays by bank transfer lands on a page with your instructions, the amount and the reference of the payment. The reference is what tells you which payment the money is for, so ask them to put it on their transfer. (Screenshot: The payment page: Bank transfer, the amount, the instructions with the bank details, the amount and the reference, Done back to Riverside Community, and Cancel this payment. The payment page, in test mode.) **Done** takes them back to your site. What they bought opens once you mark the payment received. **Cancel this payment** lets them pay another way instead, or not at all. ## 3. Mark it received When the money is in your account: 1. Go to **Poly Community → Payments**. A payment that waits for its money says **On its way**, and **Waiting to be confirmed now** counts them. 2. Open the payment. It shows the instructions the member read, with the reference. 3. Press **Mark received**. Access opens for the member at once. (Screenshot: A payment waiting for the money: the instructions with the reference, Mark received and Not received. Poly Community → Payments → a payment.) To mark several at once, tick them in the list and press **Mark received** above it. If the money never came, press **Not received**: the payment closes unpaid, and anything it held for the member is given back. A payment left unmarked for the days you chose closes by itself. If the money comes after all, open it and mark it received: it opens again, and so does access. ## Refunds A bank transfer is refunded by you, from your bank. Then press **Record a refund** on the payment, for the whole amount or a part, so the site knows. A full refund ends the access the payment gave, unless you choose otherwise. ## Try it Under **Try it** on Services → Payments, enter an amount and press **Pay it**. In test mode the page shows your instructions and nothing is owed. Press **Done**, then mark the payment received under Payments to see what a member gets, and record a refund. --- # Themes and layouts Address: https://www.poly-community.com/docs/themes-and-layouts/ Poly Community works with the theme you have. How it fits in depends on the kind of theme. ## Block themes In a block theme every community page is a template of the Site Editor, made of blocks: the feed, a profile, a space, the directories, a post. Open **Appearance → Editor** to move, remove or restyle any part of them, down to each post card, member card and space card. A card is a template part, so editing it once changes it in every list. The editor draws each template as the page looks to you. A profile shows a real member, the feed and the directories show their real posts and cards, and the first one in a list is the one you edit, so every card or post follows your change before you save it. A block that shows nothing on the page for you, such as the welcome for visitors, a widget with nothing to show yet or a button only other members see, takes no room in the editor. Find it in the List View: selected, it shows what it looks like and when it appears. The community follows your site Styles (colors, fonts, light or dark), or uses its own palette from **Settings → Appearance**. Here it is inside Ipsum, the default theme of WordPress 7.2, as a new site has it: the header of the theme with the site menu, the member buttons added to it, and the community below at the wide width of the theme. (Screenshot: The Activity inside the Ipsum theme: the site name and tagline on the left of the header, the site menu and the member buttons (search, messages, the bell, the account menu) on its right, and below it the navigation, the feed and the widgets. Inside Ipsum, a block theme.) ## Classic themes In a classic theme the community lives on pages of its own, listed under **Settings → Pages and addresses**. Its widgets go in the Community sidebar under **Appearance → Widgets**, and the member buttons (search, the bell, the account menu) are added to a menu under **Appearance → Menus** or with the shortcode `[poly_community_member_buttons]`. Here it is inside Astra. The theme draws its header, with the site name and the pages of the site as its menu, and the title of the page, and the community takes the colors and fonts of the theme. No menu is set up yet, so the member buttons are not in the header. (Screenshot: The Activity inside the Astra theme: the site name on the left of a white header and the pages Activity, Members, About and Notifications and account on its right, the page title Community, then the navigation, the feed and the widgets as cards. Inside Astra, a classic theme.) ## The full-page portal The community can also run as a portal: a page of its own with its own top bar, without the theme around it. It suits a site whose community is the whole point, or a theme that leaves it little room. Pick it under **Settings → Appearance → Layout**, **Show the community**, as **As a portal** in place of **Inside your theme**. The top bar has the community name or logo, the search, messages, the bell and the account menu, and the rest of the site keeps its theme. (Screenshot: A member profile in the portal: the top bar of the community with its name, search, messages, the bell and the account menu, the navigation on the left, the profile with its cover, picture, Follow and Message, its tabs and posts, and widgets on the right. A profile in the full-page portal.) ## Poly Theme Poly Theme is an optional block theme in the look of the community, so every page of the site matches it, with the community built in. The site and the community share one top bar, a page or a post of the site is drawn in the columns of the community with its navigation and widgets beside it, and the colors of **Settings → Appearance**, light or dark, reach the header and footer of the whole site. It will be a free download from [WordPlus Cloud](https://www.wordplus.cloud) that keeps itself up to date. (Screenshot: The Activity inside Poly Theme: one top bar for the whole site, then the navigation, the feed and the widgets, as in the portal. The community inside Poly Theme.) (Screenshot: The About page of the site inside Poly Theme, under the same top bar, with the navigation and widgets of the community beside it. A page of the site in Poly Theme.) ## Layouts **Settings → Appearance → Layout** arranges the community without the Site Editor, with a live preview. Its **Arrangement** is the place to start: each of the four sets the width, the navigation, the widgets and the spacing at once. Change any of them afterwards and the arrangement is your own. The pictures show the Activity of a sample community in each arrangement, as a portal, in a window 1920 pixels wide. Click one to see it whole. ### Social The navigation on the left, the feed in the middle, widgets on the right, all in a centred column at most 1240 pixels wide. (Screenshot: The Social arrangement: the top bar, the navigation with Your spaces on the left, the composer and the feed in the middle, Who to follow and Popular spaces on the right, all in a centred column with empty room on both sides of the window. Social.) ### Full window The same columns from edge to edge of the window: the navigation at its left edge, the feed and its widgets in the middle of the room beside it. A community where nothing was chosen yet is in this arrangement. (Screenshot: The Full window arrangement: the top bar across the whole window, the navigation at the left edge, the feed and its widgets together in the middle of the room right of it. Full window.) ### Discussion The navigation in the top bar, and a wider, denser page (at most 1320 pixels, the spacing at 90 percent), for a community built around its forum and questions. (Screenshot: The Discussion arrangement: Activity, Members, Spaces, Messages and Profile as links in the top bar beside the name, no navigation column, the feed and the widgets below. Discussion.) ### Focus One column to read, at most 1080 pixels wide, the navigation behind the menu button at the start of the top bar, and no widgets. (Screenshot: The Focus arrangement: a menu button before the name in the top bar, and the composer and the feed alone in one centred column. Focus.) ### Each part of the layout Below the arrangement, each part can be set on its own: - **Content width**: Centred, at most the **Maximum width**, or Full window. - **Navigation**: Left, Icons (a narrow column of icons), Tabs on top, In the top bar, Behind a menu button, or None, which leaves it to the site menu. - **Widgets**: Right, Left or Off. A page with no widgets to show has no widget column at all. - **Spacing**: the padding and the gaps everywhere at once. Poly Theme takes these choices as the portal does: Full window spans its header and footer too. Inside any other theme there are two differences. The theme keeps its own header, so In the top bar is a row of links above the page. And Full window works only in the portal and under Poly Theme: inside another theme the community is as wide as the wide blocks of the theme. On a phone, in the portal and under Poly Theme, the navigation is a tab bar along the foot of the screen, with the items picked under **Settings → Appearance → Menus**, or a menu button when **Tab bar on phones** is off. Inside another theme it is a row of links. A row of tabs never scrolls sideways on a phone, in any theme: it shows the tabs that fit and **More** with the rest, the tab you are on always among those shown. The main button of a page stands at the end of its first row, beside its title or its tabs, and its other links are in the **⋯** there. A list keeps its search and **Filters** on one row, with the order, the categories and every other filter in the sheet of Filters. ## Colors and the look **Settings → Appearance → Colors** decides where the colors come from. **Follow the site** takes them from the Styles of a block theme, so the community matches the theme as it is. **Own palette** gives the community colors of its own: pick a preset in the palette menu beside the **Appearance** title, for light and dark together or one of them, then change any color of it, from the accent to the cards, the borders, the top bar, the navigation, the tab bar on phones and the status colors. (Screenshot: The palette menu beside the Appearance title, open: Both, Light and Dark, then the eight presets with their colors and a line each, Evergreen picked. The palette menu.) The eight presets, on the same page of the sample community: (Screenshot: The Activity of the sample community eight times, in the Default, Graphite, Evergreen, Sandstone, Indigo, Ocean, Rose and Midnight presets. The color presets.) Each preset has a light half and a dark one. **Color scheme** is Light, Dark or Follow the device, and **Members can switch between light and dark** adds a sun and moon button to the top bar and the account menu, so each member chooses for themselves, remembered in their browser. (Screenshot: The Activity in the dark half of the Default preset and of Midnight, the preset made for dark first. Default and Midnight in dark.) ### Everything else Appearance changes Each section of **Settings → Appearance** changes one part of the look, for the whole community at once: - **Type and shape**: the font of the text and the font of headings and names (System, the theme font, Humanist, Geometric, Rounded, Classic serif, Slab or Monospace), the text size, the line height, the heading weight and letter spacing, how round the corners of cards, buttons, fields, pictures and avatars are, cards outlined, raised or flat, buttons solid, soft or outline, and the line weight of icons. - **Layout**: the community as a portal or inside the theme, the arrangements above, and a top bar that is solid, frosted or in the accent color, with or without search. - **Feed**: posts as cards or a list, the size of the author picture, long posts opened in place or on their own page, times as "5 min" or as a date, the composer open or compact, the Like button as a heart, a thumbs up or a star, words beside the action icons, and how many replies show under a post. - **Members**: the directory as a grid or a list, member cards with a cover or simple, covers without a picture as a gradient, a mesh, a soft tint or the accent, the profile header (a cover with the picture on the left, centred, or no cover), the cover height, the picture size and the style of the tabs (a sliding chip, underlined, pills or segmented). - **Spaces**: the directory as a grid or a list, the card width and covers on space cards. - **Login and sign-up**: how the pages to log in, create an account and set a new password look, and where each is arranged. Here is one profile in three looks, each made in Appearance alone. The first is as it comes. The second is Evergreen with the header centred, pills for tabs, raised cards, soft buttons, the Humanist font and rounder corners. The third is Midnight in dark with no cover, underlined tabs, flat cards, outline buttons, Classic serif and square corners. (Screenshot: The same member profile three times: in the default look, in Evergreen with a centred header and pills, and in Midnight dark with no cover and underlined tabs. One profile, three looks.) Every change shows at once in the preview beside the controls, before it is saved. (Screenshot: Settings, Appearance, Colors with Evergreen as the palette: where the colors come from, the color scheme, the switch for members, the colors of the palette in groups, and the live preview of the community beside them. Settings → Appearance → Colors.) (Screenshot: Settings, Appearance, Type and shape: the fonts, the sizes, the corners, the cards and the buttons, with the live preview beside them. Settings → Appearance → Type and shape.) ## Member buttons in any header Search, messages, the bell and the account menu are blocks too. Put the Member buttons block in your header, inside the Navigation block, and members find them on every page of the site, not only on the community pages. --- # Appearance Address: https://www.poly-community.com/docs/look/appearance/ **Settings → Appearance** is where the look of the community changes, for the whole community at once and with no code. Start here before the Site Editor: most changes an owner wants are a choice on this screen. (Screenshot: Settings, Appearance, Colors with Evergreen as the palette: where the colors come from, the color scheme, the switch for members, the colors of the palette in groups, and the live preview of the community beside them. Settings → Appearance, with its live preview.) ## How the screen works - **The preview** beside the controls shows every change at once, before it is saved: pick the page it shows (Activity, Members, a profile, Spaces, a space, Edit profile, Log in or Create an account), desktop, tablet or phone, and light or dark. - **The palette menu** beside the Appearance title holds the color presets, for light and dark together or one of them. - **Find an option** searches every tab, so you can type "tabs" or "corners" instead of looking for them. - Each tab can be reset to its defaults. ## The tabs - **Layout**: the community as a portal or inside your theme, the top bar, where the navigation and the widgets sit, the widths and the spacing. [Themes and layouts](https://www.poly-community.com/docs/themes-and-layouts/#layouts) shows each arrangement. - **Login and sign-up**: how the account pages look (below). - **Colors**: the colors of your theme, or a palette of its own, and light, dark or the choice of each member. [Colors and the look](https://www.poly-community.com/docs/themes-and-layouts/#colors-and-the-look) shows the eight presets. - **Type and shape**: fonts, sizes, corners, cards, buttons and icons. - **Feed**: posts as cards or a list, the composer, the Like button, times, and how many replies show. - **Members**: the directory, the member cards, the covers, the profile header and its tabs. - **Spaces**: the directory and the space cards. - **Menus**: the three menus of the community, in [Menus and navigation](https://www.poly-community.com/docs/look/navigation/). - **App**: the community as an app members install (below). What each choice of Type and shape, Feed, Members and Spaces changes is listed in [Everything else Appearance changes](https://www.poly-community.com/docs/themes-and-layouts/#everything-else-appearance-changes). ## Login and sign-up The pages to log in, create an account, ask for a new password and choose one are one form each, and you pick how they look: - **Full screen, welcome first** or **form first**: the community welcome on one half, the form on the other, with no header or footer of the site. On a phone the welcome is a band above the form. - **Full screen over a picture**: the form on a card in the middle, over your picture or your accent color. - **With the top bar of the community**: the form in the middle of the portal, under its top bar. - **With the community navigation**: the form with the top bar links, the community menu beside it, and the tab bar on phones. **Picture** goes behind the welcome, darkened at the bottom so its words stay readable. Without one, the welcome is your accent color. On a community for members only, a visitor gets the login screen in place of the page they asked for, and comes back to that page once logged in. Each of the four pages is a template you can arrange in the Site Editor around its form, with **Edit template** beside it, and the forms are blocks you can put on any other page too. [Signing up](https://www.poly-community.com/docs/joining/signing-up/) and [Ways to log in](https://www.poly-community.com/docs/joining/logging-in/) say what the forms ask. ## App With **Members can install the site as an app** on, browsers that allow it offer to install the community, and it opens in a window of its own from the home screen or the dock. On an iPhone or iPad, members are shown how: Share, then Add to Home Screen. ## Related - [Themes and layouts](https://www.poly-community.com/docs/themes-and-layouts/) - [Menus and navigation](https://www.poly-community.com/docs/look/navigation/) - [The blocks](https://www.poly-community.com/docs/look/blocks/): changing one page in the Site Editor. --- # Pages and addresses Address: https://www.poly-community.com/docs/look/pages/ **Settings → Pages and addresses** says where the community lives on your site. It never asks you to make pages by hand. (Screenshot: Settings, Pages and addresses: Edit the templates, the home page of the community with Activity picked, then the addresses of Activity, Members and Spaces, each with Open the page. Settings → Pages and addresses.) ## With a block theme The community needs no pages. Each of its pages is a template you change in **Appearance → Editor → Templates**, which **Edit the templates** opens. [The blocks](https://www.poly-community.com/docs/look/blocks/) says how. - **Home page.** What the address of the community opens: the activity feed with the composer, the forum, or questions. - **Activity, Members and Spaces.** The address of each section. Profiles and spaces open under Members and Spaces, such as `/community/members/maya/`. Leave Activity empty to put the community at the root of the site, as its home page. If one of your own pages already has an address you give here, the field says so, and the community page shows in its place. - **Components.** With courses, events, jobs or another component on, the word each one opens under, such as `/community/events/`. ## With a classic theme Each section is a real page of your site, shown through the page template of the theme, so menus, SEO plugins and page builders see it. You rename the pages or change their addresses in **Pages** as usual, and edit a page to arrange its section: the Community block in it holds the columns, the navigation and the widgets. **Create pages** makes a page for every section that has none. ## Account pages and the forum Log in, Create an account, Lost password, New password, the forum and questions stay under the community, as the field shows. Give any of them an address of its own anywhere on the site, such as `login` for `/login/`. Links to the address from before are sent to the new one. ## Post addresses How the address of a post reads: by its number, its number and title, its title and number, its date and title, or your own structure. With its title in it, people and search engines see what the post is about before they open it, and a post without a title takes its first words. Events, jobs and the pages of other components take their title too. The number always stays, so a post keeps its address when its title changes, and older addresses are sent to the new one. ## Search engines Each page title carries the name of your site, and each post, member and space is described by its own words, with its picture shown when the link is shared. Pages kept from visitors say nothing about what is behind them. With an SEO plugin, the community gives it these instead of printing its own. **Community description** is shown in search results under the community home, and after the name of its other pages. Empty, it is your site tagline. Up to 160 characters show. ## Related - [The blocks](https://www.poly-community.com/docs/look/blocks/) - [Menus and navigation](https://www.poly-community.com/docs/look/navigation/) - [Themes and layouts](https://www.poly-community.com/docs/themes-and-layouts/) --- # The blocks Address: https://www.poly-community.com/docs/look/blocks/ With a block theme, every page of the community is a template of the Site Editor, made of blocks. Start with **Settings → Appearance** for colors, layout, fonts and the look of posts, members and spaces. Open a template when you want to move, add or remove a part of one page. ## Changing a community page Go to **Appearance → Editor → Templates**, or press **Edit the templates** under **Settings → Pages and addresses**. The templates of the community are the ones whose names start with Community: Activity, Members, Member profile, Spaces, Space, Single post, Edit profile, the login and sign-up pages, the forum, questions and the rest, each with a line saying what it shows. (Screenshot: The Site Editor with the Members template of the community open: the navigation and Your spaces on the left, the members tabs, the search and a member card in the middle, and Active recently and Who to follow on the right. A community template in the Site Editor.) A template holds the columns of the community: the navigation on the left, the main column, and the widgets. Move a block within them, remove it, or add one, such as a heading and a few words at the top of the member directory. Saving the template changes the page for everyone. The cards are template parts: **Community post**, **Community member card**, **Community space card**, the rows of the forum and questions, and **Item card** for the items of your components. Change a card once and it changes in every list that shows it. To go back, open the template, choose **Reset…** from its **Actions** menu and confirm: it is as the community draws it again. ## Blocks that keep moves instant A move between community pages draws the next page from a file the browser keeps, filled from a small answer of the site. A block you add keeps that working when it shows the same thing to everyone: - Paragraphs, headings, images, buttons, lists, separators and spacers, and groups and columns holding them. - The blocks of the community. - Any block that has no code of its own on the site, as most blocks of a pattern are. A block that is drawn by its own code each time, such as **Latest Posts** or many blocks of other plugins, still shows, but the page it is on loads whole when someone moves to it, as a site without the community does. Put your blocks inside the columns of the community. A block placed before or after them in the template shows when the page is loaded whole, but a move from one community page to another leaves it as it was. Whether a page is drawn from its file, and if not which block stops it, is one command for a developer: ```bash wp poly-community page-data check members ``` Building a block of your own that keeps pages drawn this way is in [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/). ## The blocks in your posts and pages The community blocks are in the inserter of any post or page, under **Community**: the composer, an activity feed, the member directory, Online now, Trending, Latest topics, the login form, the member buttons and more, about sixty in all. Put the feed of the community on your home page, or Online now in the sidebar of your blog. (Screenshot: The block inserter of a page open on its Community category: the community menu button, your spaces, the community name, search, the messages button, the notifications bell and more. The community blocks in the inserter.) ## Related - [Themes and layouts](https://www.poly-community.com/docs/themes-and-layouts/) - [Pages and addresses](https://www.poly-community.com/docs/look/pages/) - [Menus and navigation](https://www.poly-community.com/docs/look/navigation/) --- # Menus and navigation Address: https://www.poly-community.com/docs/look/navigation/ **Settings → Appearance → Menus** holds the three menus of the community, each with its own items, all shown at once. Each follows the components you switch on until you change it, so a new component adds its page by itself. (Screenshot: Settings, Appearance, Menus: the Left column, Top bar and Personal menu tabs, the items Activity, Members, Spaces, Messages and Profile with Move up, Move down, Edit and Remove, Add an item, and the live preview beside them. Settings → Appearance → Menus.) - **Left column.** The navigation of the community: Activity, Members, Spaces, your profile and the pages of your components. **Settings → Appearance → Layout** puts it in a column on the left, a narrow column of icons, tabs on top, the top bar, behind a menu button, or nowhere, leaving it to the menu of your site. - **Top bar.** Links beside the community name in the top bar of the portal and Poly Theme. Empty as it comes. On a phone they move into the navigation panel. - **Personal menu.** The menu under the picture of each member, between their name and **Log out**: their profile, Edit profile, their spaces and Saved. Visitors see its links meant for everyone or for visitors beside **Log in**. **Add an item** adds a community page, a link, a page of your site or a divider. Move an item with **Move up** and **Move down**, or drag it, or press Space or Enter to lift it and the arrow keys to move it. **Edit** changes its name, its icon and who sees it: everyone, members or visitors. A page someone cannot open never shows to them, whatever is chosen there. Every change shows in the preview beside the menus before it is saved. ## On phones In the portal and under Poly Theme, the navigation is a tab bar along the foot of the screen, as in a phone app. Switch **In the phone tab bar** on in **Edit** for up to five items, which it shows in the menu order. With none picked, it shows the first items of the left column, and the rest are under More. Switch **Tab bar on phones** off under **Layout** for a menu button instead. Inside another theme the navigation is a row of links. ## The menu of your site With a block theme and the community at its own address, the start page adds a link to the community to the menu in the header of your site, so a visitor on your home page finds it. It is an ordinary link of that menu: change it or remove it in **Appearance → Editor → Navigation**. The member buttons (search, messages, the bell and the account menu) are a block too. Put the **Member buttons** block in the header of your theme, and members find them on every page of the site, not only on community pages. Under a classic theme, add them to a menu under **Appearance → Menus** or with the shortcode `[poly_community_member_buttons]`. ## Pages a menu links to move at once The pages of the community are kept in the browser as files, so a move to one draws it at once: every profile, space and post, and every page a menu links to, with its tabs. A community page no menu links to still opens, loaded whole. For plugins that add their own items, see [Buttons and menus](https://www.poly-community.com/docs/developers/buttons-and-menus/) and [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/). ## Related - [Themes and layouts](https://www.poly-community.com/docs/themes-and-layouts/) - [Pages and addresses](https://www.poly-community.com/docs/look/pages/) - [The blocks](https://www.poly-community.com/docs/look/blocks/) --- # Insights Address: https://www.poly-community.com/docs/running/insights/ **Poly Community → Settings → Insights**, under Running it, shows how your community is doing. Everything on it is counted by your own site, in its own database. No analytics script loads, and nothing is sent anywhere. Only administrators open it. (Screenshot: Insights for the last 30 days: five figures in a row, the active members a day across the card, and new members, posts, replies and reactions two a row. Settings → Insights.) ## The period The choice in the card head sets the period every number on the page is about: the last 7, 30 or 90 days, or the last year. Each administrator keeps their own choice, so it is the one they last picked when they come back. Each change is measured against the period of the same length just before it: the 30 days before the last 30, the year before the last year. Where nothing was counted then, it says so. ## The figures - **Members**: how many members the community has now, and how many joined in the period. It changes as members join, without a reload. - **Active members**: how many different members came in the period, and how that moved against the period before. - **Posts**: how many posts there are now, and how many were written in the period. It changes as members post. - **Spaces** (or **Groups**, as your site calls them): how many there are, and how many were made in the period. It shows while spaces are on. - **Money from plans**: what paid plans brought in this month, while Paid membership is on. A member counts as active on a day the first time they open any page of the community that day, logged in. Visitors are not counted. The day is the day of your site, as set in WordPress **Settings → General → Timezone**. ## The charts - **Active members a day**, across the card: how many members came on each day of the period, with the average a day and how it moved. - **New members**, **Posts**, **Replies** and **Reactions**: how many of each on each day, the total of the period and how it moved. Point at a bar, or tab to the chart and move with the arrow keys, to see its day and number. **Table** under each title shows the same numbers as a table, which is also what a screen reader reads. Over a year, each bar is a week. ## Who comes back Members by the week they joined, over the last 8 weeks, and the share of them who came again in each week after. Week 0 is the week they joined. A darker cell is a larger share. Weeks no one joined in are left out, and the table says how many. (Screenshot: Who comes back: members by the week they joined and the share who came in each week after, shaded by share. Who comes back.) A community where most of the members of a week still come in its third and fourth week keeps its members. A share that falls fast after week 0 means people join and leave: what a new member finds done for them, under **Settings → Joining → First steps**, is worth a look. ## Most viewed posts The ten posts opened most in the period, each linking to the post. A view is counted once a day for each reader and never for the author, as [views](https://www.poly-community.com/docs/settings/posts/) are counted everywhere on the site. ## The CSV **Download CSV** saves the numbers of every day of the period, one line a day: the day, active members, new members, posts, replies and reactions. Open it in a spreadsheet to compare periods or make charts of your own. ## Where the numbers come from - Active members and who comes back are counted from a row kept for each member on each day they come: the day alone, with no page or address. - New members, posts, replies and reactions are counted from the community itself. A post deleted since is not counted. - Views are the same counts each post shows its readers. These rows are part of each member data: they go in the copy a member downloads and are erased with their account. See [Privacy](https://www.poly-community.com/docs/running/privacy/). --- # Notifications Address: https://www.poly-community.com/docs/running/notifications/ Members hear of what happens in the community in three ways: the bell on the site, which always shows everything, email while they are away, and push on their phones and computers. **Poly Community → Settings → Notifications** sets how email and push start for every member. Each member then changes their own on their **Notifications** page. (Screenshot: Email: email notifications on, members start with what is for them, as it happens. Settings → Notifications → Email.) ## Email - **Email notifications**: on, members are emailed what they have not read on the site yet, a few minutes later. Off, no notification emails: members still see everything in the bell, and codes and confirmations still come by email. - **Members start with**, for email and push until a member chooses their own: - **What is for them**: replies and mentions, answers, requests and invitations to them, what they take part in and watch, and decisions about their account. - **Everything**: also likes, follows, levels and badges reached, and updates on what they voted on. - **Nothing**: only what cannot be missed, such as a payment that failed or a decision about their account. - **How often**: - **As it happens**: one email for each, a few minutes after it happens, if the member has not read it on the site by then. - **A daily summary**: one email a day at 8:00 on the clock of each member, of what they have not read yet. - **A weekly summary**: one email a week, on the first day of the week of the site, at 8:00 on the clock of each member. What cannot wait, such as a failed payment or a decision about their account, still comes at once. When email addresses are off for members, under **Settings → Joining → Signing up**, the site emails no member, and this card says so. ## Push Push notifications reach the phones and computers of members through WordPlus Cloud. Until the site is connected to it, none goes out, and the card says so. - **Push notifications**: on, members turn them on for each of their devices on their Notifications page. They come at once, at the level they start with unless they choose their own, held by the quiet hours a member sets. - **Hide what a notification says on the lock screen**: on, a push says only that there is something new. Off, it says who did what, as the bell does, with the first words of a post the member may see. - **Send a test push** hands one push to WordPlus Cloud, now, for each of your own devices with push on. It shows on every one of them, this one too, even with these settings open. The card says how many devices WordPlus Cloud took it for. Look at each one to see it arrived. ## How emails look (Screenshot: How emails look: your logo and accent colour on, the footer, Preview an email, and email delivery working. How emails look.) Every email the site sends, notifications, summaries, codes and confirmations, has the same look. - **Emails show your logo and accent colour**: the accent colour on the buttons of each email, and a logo set under **Appearance → Layout** above each one. - **Footer**: under every email. Many senders put their name and postal address here. Empty, it is the name of your site. - **Preview an email** shows a notification email as members get it, with the choices above, saved or not. - **Email delivery** says whether the mail of your site goes out, and leads to the sender and a test email under **Settings → Services → Email delivery**. ## What members choose On their **Notifications** page each member picks a level for email and one for push, quiet hours, and, under **Change by topic**, any topic off in the bell, by email or by push. What they choose wins over what they started with. For the team, what waits for a decision, such as a post hidden after reports, is a notification of its own. --- # Moderation Address: https://www.poly-community.com/docs/running/moderation/ Members tell the team what is wrong, the site holds back what its rules name, and the team decides. All of it meets in **Settings → Moderation → To review**, and the Poly Community menu of the admin shows how many things wait there. ## Reporting (Screenshot: Report: The community admins will look at it. The member is not told who reported them. What is wrong? Spam picked, Abuse or harassment, Something else, then Anything the admins should know (optional), Cancel and Send report. Reporting a post.) A member reports a post or a reply with **Report post** in its ⋯ menu, and a member with **Report** in the ⋯ menu of their profile. They pick what is wrong, from the reasons the site offers, and may add a note for the team. The member reported is never told who reported them. A member reports a thing once: reporting it again changes nothing. Nobody reports their own posts or themselves. ## What holds a post back Under **Settings → Moderation → Rules**: - **Hold for review posts with these words:** a post, reply, title, profile, space name or message with one of them waits in To review until an administrator approves it. Its author is told it will show once an admin has looked at it. - **Refuse posts with these words:** nothing is posted, and the member is told which word to take out. One word or phrase a line. Capitals, accents and the usual disguises are found too (a$$, s p a c e d, sooo long), never a word inside another, and a `*` at the end finds the longer words that start with it. (Screenshot: Words: Hold for review posts with these words, with discount code and free followers, then Refuse posts with these words, empty. Settings → Moderation → Rules: Words.) The spam check holds posts too, where Akismet is active with its key, and so do posts longer than [Settings → Posts](https://www.poly-community.com/docs/settings/posts/) lets out at once. A component that asks for approval holds its own kind: a job or a listing, for one, with approval set to the first of each member or to every one. ## Reports and hiding (Screenshot: Reports: Reasons members report with, Spam and Abuse or harassment with Take out, Something else, Add a reason, then Hide a post once this many members report it: 3 members. Settings → Moderation → Rules: Reports.) - **Reasons members report with:** the choices of the Report dialog. **Something else** is always there and always last. A reason taken out stays on the reports made with it. - **Hide a post once this many members report it:** 0, the default, never hides: reports only put a post in To review. Set to a number, a post or reply reported by that many different members goes out of sight for review, and its author and the administrators are told. Hiding on reports alone can be used against a member, so it is your call: 3 is a good start. ## To review (Screenshot: Moderation: a post by Leo Martins reported 2 times as spam, with a note, and Dismiss, Delete post and Suspend the author. Leo Martins as a member, reported once for abuse, with Dismiss and Suspend. A post by Zoë Fischer with Words to check: discount code, free followers, and Approve, Delete post and Suspend the author. Each with its date and a link to open it. Settings → Moderation → To review.) Everything that waits, one by one or **As a list**: what members reported, what the words held, what the spam check held, long posts, the posts of a component waiting for approval, and the members waiting for approval to join. Each says why it is here, how many reported it and their notes, and opens on the site. The decisions: - **Approve** a post held, which publishes it. - **Dismiss** the reports of a thing that is fine. - **Delete** the post or the reply. - **Suspend** the author or the member reported, beside either. - **Decline** a post of a component waiting for approval, with a reason its author reads: it goes back to their drafts, to change and send again. Only administrators decide in the queue. Below it, **Suspended members** lists who is suspended, each with **Restore**. A suspended member can't post, reply, like, follow or join, and nobody but administrators sees them or what they wrote until they are restored. Their posts leave the pages members have open at once. Administrators also suspend a member from the ⋯ menu of their profile, and the team from the Members screen. ## The team [The team](https://www.poly-community.com/docs/features/team/) of the site shares the work below the queue. Moderators read the reports, hide, delete and restore posts and comments, and suspend members, on **Poly Community → Content** and **Members**. Staff do all of that and more. A moderator never reads a report of themselves or of what they wrote, nor who sent it. ## Content → Reports (Screenshot: Content, Reports: All 3, Open 3, Upheld 0 and Dismissed 0, a search by the member who reported, Reason and Of, then each report with what was reported, the reason, who reported it, when and when it was decided. Poly Community → Content → Reports.) Every report, open and decided: what it is of, its reason and note, who sent it, when, and how it was decided. By state, by reason and by what was reported, searched by the member who reported. Staff export the list. ## Deleted posts and spaces (Screenshot: Content, Deleted: a post, Posted twice by mistake, sorry, by Maya Chen, deleted by its author, with when and the day it goes for good, and Restore. Poly Community → Content → Deleted.) A post or reply deleted, by its author or the team, waits in **Content → Deleted** for as many days as **Keep deleted posts, replies and spaces for** says, under **Settings → Moderation → Deleted spaces**, 30 unless changed. There the team restores it whole, with its files, or deletes it for good. Deleted spaces wait in **Settings → Moderation → Deleted spaces** the same way (see [Deleting a space](https://www.poly-community.com/docs/features/spaces/#deleting-a-space)). Set to 0, nothing is kept. ## The audit log **Poly Community → Members → Audit log** keeps who did what that changes the site: settings saved, roles given, accounts deleted, posts held for review and deleted, and what the components log. Administrators read it and export it. Rows older than **Keep the audit log for**, under **Settings → Advanced → Data**, go each night, and 0 keeps them for good. The same tab says how long the site keeps its other records: webhook deliveries, automation runs and read notifications. Orders and payments are never removed there, and the posts of members are theirs, removed only by them or the team. ## Changing moderation What a member meets of moderation comes to the page as data: the Report item in a menu is a fact of the reader, and a post hidden or a member suspended is an event that takes their posts out of the open pages. A change keeps it that way. It changes the rules below, and anything new it shows on a page is data and a template in the page file, never HTML drawn for one reader, as [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/) shows by hand and its part [For coding agents](https://www.poly-community.com/docs/developers/data-driven-pages/#for-coding-agents) tells a coding agent (Claude Code, Codex, Gemini CLI). A plugin of your own adds reasons with `poly_community_report_reasons`, holds a post as spam with `poly_community_is_spam`, adds entries of its own to To review with `poly_community_moderation_entries` and decides them on `poly_community_moderation_act`, and changes the rights of the team with `poly_community_team_rights` (see [The team](https://www.poly-community.com/docs/features/team/#changing-what-each-may-do)). --- # Privacy, the policy and the terms Address: https://www.poly-community.com/docs/running/privacy/ **Poly Community → Settings → Privacy**, under Running it, holds what privacy laws ask of a site owner, in one place: the privacy policy and the terms of service, the agreement at sign-up, outside content, the services that receive members data, the cookies, what members do with their own data, and how long things are kept. These tools serve the rights that the GDPR, the UK GDPR, the CCPA in California, the LGPD in Brazil and similar laws give people: to know what is kept, to get a copy, to have it corrected or erased. Whether your site meets the law where it is, and where its members are, is yours to check. ## The privacy policy The privacy policy page is the one of WordPress itself, the same choice as in WordPress **Settings → Privacy**. Choose an existing page under **Privacy policy page**, or press **Make a draft from the suggested text** while none is chosen. (Screenshot: Privacy policy and terms with no pages yet: Make a draft from the suggested text, Make a draft of the terms. Settings → Privacy, before any page is chosen.) The draft is the privacy policy template of WordPress, with a part named **The community** after it. That part is written from how the community is set up when you press the button: what members share and who sees it, the outside services the site uses (spam checks, logins with other accounts, text messages, email delivery, GIFs, maps, payments, AI, cloud storage), each with what it receives and its own privacy policy, and every cookie and browser storage key the community keeps. A service you have not set up is not named. The draft is not published. Read it, change what does not fit your site, then publish it. Until then the sign-up and login forms link to no privacy policy. The page keeps the text it was made with. When you set up another service later, the suggested text changes, and the **policy guide** of WordPress (**Open the policy guide** under the page choice) shows it as it is now, with the suggested texts of your other plugins, to copy into your page. On a multisite network only a super admin chooses the policy page, as WordPress asks. ## The terms of service Choose your terms under **Terms page**, or press **Make a draft of the terms** while none is chosen. The draft, a page named **Terms of Service**, is chosen as the terms page and left unpublished. It says what the community does as it is set up: who may sign up and whether new accounts wait for approval, the youngest age that signs up alone where the Young members component is on, whether parts of the community ask members to verify who they are or their age, what happens to the posts of a deleted account, reports and the posts they hide, words that hold or refuse a post, the spam check of Akismet, paid plans and the service they are paid through, outside services, and how members delete their account. It promises nothing the plugin does not do. What only you know is left in square brackets, for you to fill in before you publish it: - who runs the site - the youngest age you accept, where the Young members component is off - the rules of your own community - how a member asks you to look again at a decision about their post or account - how paid plans renew, how they are cancelled and your refund rules, where payments are set up - how you tell members of changes to the terms - the law that applies and the courts for disputes - an address for questions (Screenshot: Privacy policy and terms with both pages published: Privacy Policy and Terms of Service, each last edited today, with Edit the page. Settings → Privacy, both pages published.) Like the policy, the terms keep the text they were made with: read them again when you change how the community is set up. ## Where members see them A page is linked only once it is published. **Signing up.** Over the button of the sign-up form, one line names both pages: **By creating an account you agree to the terms of service and the privacy policy.** Each opens in a new tab. (Screenshot: The sign-up form, with the line By creating an account you agree to the terms of service and the privacy policy over Create account. The sign-up form.) **Logging in.** At the foot of the login form, **Terms of service** and **Privacy policy**, small and quiet. The login form asks nobody to agree, as no account is made there: someone new who presses **Continue with Google** or another provider is taken to the sign-up form, and finishes there. (Screenshot: The login form, with the links Terms of service and Privacy policy at its foot. The login form.) ## Agreeing when signing up The line over the button tells people what they agree to, and keeps no record of it. Turn on **Agreeing when signing up** to have every sign-up form end with a box to tick instead, linking to both pages. An account is made only once it is ticked. (Screenshot: The sign-up form ending with a box to tick: I agree to the terms of service and the privacy policy. The sign-up form, with Agreeing when signing up on.) What each member agreed to is kept with them: the sentence with the addresses of both pages, when, and a version that changes whenever either page is edited, so the record of each member shows which one they accepted. It is in the copy of their data. It is off by default. Under the GDPR an account usually rests on the contract with the member, so the law does not ask for a box. It is the proof that someone accepted your terms. ## Outside content and consent GIFs in posts load from their service, in the browser of whoever sees them. Video players and maps already load only when someone presses them. **Outside content in visitors browsers** says when GIFs load: - **Follow a consent plugin** (the default): with a consent plugin on the WP Consent API active, GIFs load once the visitor allows marketing content in its banner, or presses **Show GIFs** on one. With no such plugin, they load at once. - **Ask each visitor first**: each visitor presses **Show GIFs** once before any loads, and their browser remembers it. - **Load at once**: for everyone, whatever a consent plugin says. (Screenshot: Services that receive members data, with Outside content in visitors browsers set to Follow a consent plugin. Settings → Privacy, outside content and the services.) **Hold the spam check too** shows while a community form uses an outside spam check (Cloudflare Turnstile, hCaptcha, Google reCAPTCHA or Friendly Captcha). On, its script waits the same way as GIFs: until the visitor allows it, the form shows **Load the spam check**, and cannot be sent before. It is off by default, and never holds with **Load at once**. The checks that run on your own site never wait. ## The services that receive members data **Services that receive members data** lists each service the site uses now, what it receives, a badge where visitors browsers reach it themselves, its privacy policy and where it is set up. With none, it says that nothing about members leaves the site. Where the law asks for a data processing agreement with a service, signing it is yours. ## Cookies and browser storage **Cookies and browser storage** lists what the community keeps in browsers, each with what it is for and how long it lasts: cookies, browser storage and tab storage. None is used to follow anyone on other sites or for advertising. Each is of a kind the CNIL, the French regulator, lists among trackers that need no consent: logging in and its security, what the visitor asked for, an order, free posts on a paying site, counting views without saying who. So the community shows no cookie banner of its own. A consent plugin on the WP Consent API is told of each one. Whether that holds where your site is remains yours to check. ## Members and their data - **A copy of their data**: members download it themselves in **Edit profile → Account**, a page to read and the same data as JSON. Always on. - **Deleting their account**: not offered, asked in Edit profile → Account and confirmed by email for an administrator to carry out, or done by the member at once after typing their password. Set under **Settings → Members**. - **When an account is deleted**: the posts many could read stay, under **Deleted member**, and those only a few could see go with the account, or every post and reply goes with it. Set under **Settings → Members**. - **Requests waiting for the team**: requests for a copy or for erasing that wait in **Tools → Export Personal Data** and **Tools → Erase Personal Data** of WordPress, where an administrator carries them out. ## How long things are kept The last part lists how long each kind of record is kept: the audit log, unfinished sign-ups, read notifications, webhook deliveries, automation runs and expired API tokens, each with its days, orders and payments as long as accounting asks, and posts, profiles and files until the member or the team deletes them. Records older than their time are removed each night. --- # The Members screen Address: https://www.poly-community.com/docs/running/members-screen/ **Poly Community → Members** is where you and your team look after the people of the community: find a member, see what they did, approve, suspend or verify them, and make them part of the team. (Screenshot: Members: the counts by state, the search and filters, and the members with their email, state, posts, when they joined and when they were last active. Poly Community → Members.) ## The list - **The counts across the top** are the states: **All**, **Active**, **Waiting for approval**, **Email not confirmed**, **Suspended** and **Team**. Each is a link to its members. - **The search** finds a member by name, @handle, email, an answer to a profile field or their number. - **The filters**: **Team role** and **Verified by** beside the search, and under **More filters** the kind of member, when they joined, when they were last active, a space they are in, whether they have a picture, and the sample members. - **Columns** chooses what the list shows: posts, when they joined, last active, team role, how they are verified, their spaces, followers, points, phone, language, number. It also sets how many members a page shows. Each person on the team keeps their own choice. - **Export CSV** saves the members the list shows, with its columns. A row shows what you can do to that member: **Approve** for one waiting, **Suspend** or **Restore**, and under **⋯** the rest, such as **Decline**, **Confirm the email**, **Verify by hand**, **Unverify** or **Add to a space…**. Tick members to do the same to several at once. What can be undone says so, with **Undo**, for a few seconds after. When a member changes while you look, such as a new sign-up or a member suspended by someone else, the list says so at its top, and shows them when you press it. ## A member Pressing a name opens their screen. **‹ ›** at the top go to the member before and after in the list. (Screenshot: A member: their account with email, phone, WordPress role, team role, language, time zone and username. A member, their account.) - **Account**: their email and phone, their WordPress role, their role on the team, their language and time zone, their username, and **Edit in WordPress**. - **Verification**: each way they proved who they are, since when and until when. See [Ways to verify](https://www.poly-community.com/docs/verification/). - **Consents**: what they agreed to, such as the terms when signing up, with the version and when. - **Points**, **Activity** (their posts, replies, reactions and the reports made by or about them), **Spaces** with their role in each, and **Connections**. - **Profile**: what they wrote on their profile. **Edit** changes it for them, and **Take their picture off** removes a picture that should not be there. - **Facts**, **Related** (their posts and replies on the Content screen) and **History**: what happened to the account and who did it, newest first. (Screenshot: Run the account: the team role with Change the role, points with a reason, and Delete the account. Run the account.) **Run the account**, for administrators: - **Team role**: make them a moderator or staff, or take them off the team. See [The team](https://www.poly-community.com/docs/features/team/). - **Give or take points**, with the reason, kept in their History. - **Delete the account**, after typing their handle. What happens to their posts follows **Settings → Members → Profiles → When an account is deleted**. Every time on this screen and the Content screen is the time of your site, as set in WordPress **Settings → General → Timezone**. ## Sign-ups and verifications - **Sign-ups** lists those who started signing up and stopped, how far they got and the reminders sent. **Send a reminder now** or **Delete** them. What they typed in the form is never shown. - **Verifications** lists every way a member is verified, since when and until when, by whom for one made by hand. **End** one, or **Verify again by hand**. ## What the team sees A moderator sees the members, their posts and sign-ups, and can suspend members ranked below them, without their email, phone or the export. Staff also see emails, approve, verify and edit members, give points, add them to spaces and export the lists. Only administrators change roles, delete accounts and see phone numbers. [The team](https://www.poly-community.com/docs/features/team/) lists every right. --- # The Content screen Address: https://www.poly-community.com/docs/running/content-screen/ **Poly Community → Content** lists everything members wrote, of every kind: posts in the feed and in spaces, topics, questions, and the posts of each component, such as events or jobs. It is where you and your team find a post, hide it, delete it or bring it back. (Screenshot: Content, Posts: the counts by state, the search and filters, and the posts with their author, where they are, their state, replies, reactions and when they were published. Poly Community → Content → Posts.) ## Posts and comments **Posts** and **Comments** (the replies to posts, topic replies and answers) are two lists of the same kind. - **The counts across the top**: **All**, **Published**, **Held** (waiting for a moderator), **Hidden** (by the team) and **Deleted** (in the trash). - **The search** finds words, an author or a post number. - **The filters**: the kind of post, the space, the author, and under **More filters** the tag, the visibility, what a post has (pictures, a poll), when it was published, and whether it was reported or edited. - **Columns** chooses what the list shows and how many a page holds. **Export CSV** saves the list, for staff and administrators. A row offers **Hide** for a published post and **Unhide** for a hidden one, and under **⋯** **Delete** and, in the trash, **Restore** and **Delete for good**. Tick several to do the same to all of them. - **Hide** takes a post off every list and page without deleting it, with a note of why if you like. Its author is told. **Unhide** puts it back as it was. - **Delete** moves it to the trash with its replies, and it is deleted for good after the days set under **Settings → Moderation**. **Restore** brings it back as it was, files included. - **Delete for good**, for administrators, removes it now with its replies, reactions and files. Nothing brings it back. ## A post Pressing a post opens its screen: **What it says**, as members see it, and for a reply **What it answers**, its **Facts** (number, kind, author, where, when, visibility, replies and reactions), **Related** (the author posts and replies, its replies) and its **History**: written, edited, hidden, deleted, restored, by whom and when. **Open on the site** shows it where members see it. (Screenshot: A post on the Content screen: what it says, its facts, related lists and history, with Hide and Open on the site. A post.) ## Spaces, tags and files - **Spaces** lists every space with its visibility, members, posts and owner, and a space screen to manage its members. See [Spaces](https://www.poly-community.com/docs/features/spaces/). - **Tags** lists the tags members used, how many posts have each, who follows it and when it was last used. **Hide** makes a tag plain words, with no page, as the hidden tags of **Settings → Posts → Tags and links**. - **Files** lists every file members uploaded, with a picture of each picture: who uploaded it, where it is used, where it is kept and its size. See [Files and storage](https://www.poly-community.com/docs/running/files/). **Reports** and **Deleted** hold what members reported and what was deleted: see [Content → Reports](https://www.poly-community.com/docs/running/moderation/#content--reports) and [Deleted posts and spaces](https://www.poly-community.com/docs/running/moderation/#deleted-posts-and-spaces) under Moderation. ## What the team sees A moderator sees posts, comments, spaces, tags and reports, and can hide, delete and restore posts, without the export or Delete for good. Staff can also export the lists. Files are for administrators. [The team](https://www.poly-community.com/docs/features/team/) lists every right. The list changes as members post: what was written since you opened it is said at its top, and shows when you press it. --- # Access rules Address: https://www.poly-community.com/docs/running/access-rules/ **Poly Community → Settings → Access rules** says what a plan, a member type or a role opens. Anything a rule names is shut to everyone the rule does not open it to. Several rules on one thing open it if any of them does. With no rule, everything is open as the community settings say. When a plan lets its members write a kind of post, the rule it makes shows here too. ## A rule **New rule** opens the form. **What it is about**: - **A page or post of the site**, by its number, as in the address when you edit it (`post=123`) - **Every page or post of a type**, such as every page, or every product - **A tag or a category**, by its number (`tag_ID=12`) - **Pages with a template**, by its file, such as `templates/full-width.php` - **Addresses**: a path, with `*` for anything after it, such as `/guides/*` - **A kind of post, to write**: who may post an event, a job or a listing - **Something members do**: write posts, reply, react and vote, send messages, follow members, ask for friendship, join spaces, create spaces, upload files **Open to**: the plans, the member types and the roles it opens it for. **Any of them opens it**, or **Only all of them together**. **When it opens**: - **Days after joining**: counted from when the member first held the plan, or for a role or a member type from when they joined the community. At 0 it opens at once. - **From** and **until** a date. - **A series**: posts one by one, in an order, the first on the days above and each next one some days after it. **Email each member when it opens for them** tells them. **Shut, it shows**: - **Its start, in words**: the first words, and a line saying what opens it - **Its start, then a card with the plans** - **Nothing: it goes to the plans**, or to an address you give - **Nothing: hidden from lists, search and feeds** **Refused with**: your own words for those it is shut to. Left empty, it says which plans open it. A **More** block in a page wins: what is above it shows, what is below it is shut. **Free to read whole, a month**: how many of these a visitor or a member without it may read whole each month before the start alone shows. 0 for none. **Open to everyone** keeps a page open inside something another rule shuts, such as one free guide under `/guides/*`. ## Rules to check A rule that may not do what you meant is marked **Check it**, with why under it: it opens to a plan that is not on sale or is gone, it ends before it starts, or another rule on the same thing shows it shut another way, and the way of the rule of higher priority is used. Plans themselves are made under **Settings → Components → Paid membership**. --- # The Payments screen Address: https://www.poly-community.com/docs/running/payments-screen/ **Poly Community → Payments** shows what members paid and what they hold, while Paid membership is on (**Settings → Components → Paid membership**) and a way to pay is set up under **Settings → Services → Payments**. Until then it says that no way to pay is connected, with **Set up**. It has three lists: - **Payments**: every payment, as **Paid**, **On its way**, **Open**, **Failed**, **Refunded** or **Disputed**. Search by a name, an email, a #number or the reference of the provider, and filter by the product, the way to pay and more. **Test** shows the payments made in the test mode of a provider apart from real ones. - **Subscriptions**: every plan paid again each month or year, as **Running**, **Past due**, **Ending**, **Paused** or **Ended**. - **Access**: who holds which plan, from when and until when, and why: paid, given by hand, a gift. (Screenshot: Payments, Access: three members holding the Gold plan, given by hand, with End access. Poly Community → Payments → Access.) **Give access** on the Access list gives a plan to a member by hand, for some time or for good, without a payment. **End access** takes it back. A subscription can be paused (nothing is charged until it is resumed, and its access waits meanwhile), resumed, cancelled at the end of what was paid, or cancelled now. Cancelling now gives no money back: for that, refund the payment. **End access** on an access does not stop a subscription it comes from, which keeps charging until it is cancelled under **Subscriptions**. ## Who sees it Staff and administrators see the lists. Refunds, cancellations and giving access are for the administrator of payments, and the export for administrators, unless the team is given it. See [The team](https://www.poly-community.com/docs/features/team/). How plans are made and sold is in Paid membership. --- # Files and media Address: https://www.poly-community.com/docs/running/files/ Members upload pictures, videos, voice notes and files to their posts, replies and profiles. **Poly Community → Settings → Files** says how videos are made ready and where all of it is kept. Which kinds of file members may add, and how large, is set under **Settings → Posts → Pictures and files**. ## Videos (Screenshot: Video processing: Automatic, uses the browser now and the best way as soon as another is ready, with Change. Settings → Files → Video processing.) A video is made ready to stream, in a quality for every connection, so it starts at once on a phone and stays sharp on a large screen. **Video processing** says how, and is shared by every WordPlus plugin on the site: - **Automatic**, the default, uses the browser of the member who uploads it now, and a better way as soon as one is ready. - **Change** picks a way of your own: the quality (up to 720p or 1080p) and the way to convert. **Quality and files**: - **Keep the original files**: off, each uploaded video is deleted once its copies are made. A minute from a phone in 4K takes about 350 MB, and an original also keeps its details, such as where it was filmed. - **Shrink large videos before upload**: the browser makes a video above 1080p a 1080p copy first, so it uploads about ten times faster. - **Longest video the browser converts**, in minutes. Longer ones upload as they are. Videos go into the uploads folder of the site, and every few seconds of playing is a request to it. A cloud storage, under **Settings → Services → Storage**, takes that off your server. On a server that does not read `.htaccess` files, such as nginx, the card shows a rule to add so the files of a video are not open to anyone who guesses their address. ## Where files are kept (Screenshot: Where files are kept: this server, 91 files, 2.2 MB, with Rebuild index. Where files are kept.) How many files are kept on this server, and in each cloud storage you connected, and how much room they take. A picture counts once for its three sizes. **Rebuild index** counts them again, after files were moved or deleted outside the site. Files move to a cloud storage, or back, under **Settings → Services → Storage**. ## Every file **Poly Community → Content → Files** lists every file members uploaded, newest first, with a picture of each picture: who uploaded it, where it is used, where it is kept, its size and when. (Screenshot: Content, Files: pictures with their thumbnail, who uploaded each, the post it is in, where it is kept and when. Poly Community → Content → Files.) - **The counts**: **Kept**, **On their way** to or from a cloud storage, and **Failed** to move. - **Move** sends a file to another place it may be kept. **Retry** tries a failed move again. - **Delete** removes a file for good, from wherever it is kept. The list is for administrators. --- # Background jobs Address: https://www.poly-community.com/docs/running/background-jobs/ Much of what the community does is not done while a member waits: sending notifications and emails, indexing a post for search, making the pictures of a link, telling open pages what changed. Each is a job, run in the background right after the page that caused it, or within a minute. **Poly Community → Settings → Advanced → Background jobs** shows how they run and what is waiting. Nothing here needs setting up. A system cron keeps jobs on time on a busy site, whatever the traffic. ## How jobs run (Screenshot: How jobs run: when the last run was, the system cron line to copy, After the response available on this server, WP-Cron on. Settings → Advanced → Background jobs → How jobs run.) Three ways start the jobs, and the card says which work on your site: - **After the response.** Urgent jobs, such as notifications, run in the same PHP process right after the page is sent to the browser, for up to 2 seconds. This needs PHP-FPM or LiteSpeed, as most hosts have. Without them a background request to the site is used instead. - **System cron.** A line for the crontab of the server, or the cron jobs screen of your host. It runs the queue every minute, and the other ways then leave the jobs to it. **Copy** takes the line as it is for your site. It needs WP-CLI on the server. - **WP-Cron.** The safety net of WordPress. It runs only when the site has visitors, so on a quiet site jobs may wait for the next visit. It says when it is turned off in `wp-config.php`. **Last run** says when the jobs last ran and what started them. When jobs wait longer than they should, the card says so and asks for the system cron. **Run jobs now** runs what is due at once. When the database came back from a staging copy, the card says so: the jobs the copy had set aside that were due already are dropped, since this site ran them meanwhile, the rest run at their time, and each recurring job starts again from now. ## Queues (Screenshot: Queues: live updates, notifications, email, search, media, maintenance, imports and exports and link previews, with what is waiting, running, later and failed. Queues.) Jobs wait in queues by what they do: live updates, notifications, email, search, media, maintenance, imports and exports, link previews and those the components add. For each, how many are **Waiting** to run now, **Running**, waiting for **Later**, and **Failed**, and how long the oldest has waited. The line above the table says how many ran in the last hour, how many failed, and how long one takes on average. ## Recurring jobs The jobs that run on their own every few minutes, hours or days: closing polls that ended, removing deleted posts after their time, sending the email summaries, counting views, ending plans that ran out and the rest. Each says how often it runs, when it last ran and when it runs next. A component that is off has none here. ## Failed jobs A job that fails is tried again a few times, waiting longer each time. One that failed every time it was tried stops, and is listed under **Failed jobs** with what went wrong in words, and **Details** for the technical message. - **Retry** tries it once more. Fix the cause first: a service that refused, a full disk, a file the host blocked. - **Retry all** and **Delete all** do the same for every failed job. Failed jobs are deleted after 30 days. When something seems not to happen at all, such as emails that never arrive, this is the first place to look. See [Emails do not arrive](https://www.poly-community.com/docs/troubleshooting/emails/) and [Background jobs](https://www.poly-community.com/docs/troubleshooting/background-jobs/) under Troubleshooting. ## From the command line ``` wp poly-community queue work ``` runs the jobs for up to 55 seconds, as the system cron line does. A host with its own scheduler can run that every minute instead of the crontab line. --- # Automations Address: https://www.poly-community.com/docs/running/automations/ An automation is a rule of the form **when** something happens, **if** it is what you set, **then** do these steps. Welcome a new member with points and an email, add everyone who joins one space to another, give a plan to whoever reaches a trust level. **Poly Community → Settings → Advanced → Automations** holds them. (Screenshot: Automations: one rule, Welcome points, when a member signs up: 10 points and an email. Settings → Advanced → Automations.) ## Making a rule **Add a rule** opens it. (Screenshot: A rule: its name, when a member signs up, for the member who did it, in any space, for any member, then give 10 points and send an email. A rule.) 1. **Name**: yours, to tell rules apart. 2. **When**: what sets it off, such as a post is published, a reply is written, a post gets a reaction, a member signs up, is verified, reaches a trust level, follows someone, joins or leaves a space, earns a badge or a rank, or something is reported. Components add their own. 3. **For**: the member the steps are for, **The member who did it** or **The member it was about** (the one followed, the author of the post reacted to). 4. **If**: what must hold as well: **in the space** where it happened, and **if they hold the plan**, with Paid membership on. **Any space** and **Any member** leave either out. 5. **Then**: the steps, in order. **Add a step** for more. - **Give points**: an amount, below 0 to take some away. - **Add to a space**: as a member. - **Give a plan**: for some days, or for good with 0. With Paid membership on. - **Send an email**: a subject and a text. `{name}` and `{site}` are filled in. A member who chose not to get the automatic messages of the site gets none. - **Call a webhook**: a delivery to one of your [webhooks](https://www.poly-community.com/docs/running/webhooks/), for what may leave the site. A private event is never sent, and the rule says so when you pick it. 6. **On** turns the rule on or off without deleting it. **Save the rule.** A step that cannot run, such as a space that no longer exists, is refused with why, under that step. ## How a rule runs - **After the change is saved**, in the background: a member who signs up gets the email a moment later. - **Once for each member and thing.** A rule that gives points when a post is published gives them once for that post, however often the event is heard. So nothing is given twice. - **Rules can set off rules.** Points given by one rule may make a member reach a rank, which another rule hears. This goes three rules deep at most, so two rules can never call each other forever. - **A ban stays a ban.** A rule never adds a member to a space they were banned from. **Runs** under a rule lists its last runs: when, for whom, and what it did. Runs are kept for 365 days, or as set under [Data](https://www.poly-community.com/docs/running/data/). --- # Webhooks Address: https://www.poly-community.com/docs/running/webhooks/ A webhook tells another service what happens in the community the moment it happens: a post is published, a member signs up, someone joins a space. Zapier, Make and n8n take webhooks, and so does any service of your own. **Poly Community → Settings → Advanced → Webhooks** holds them. (Screenshot: Webhooks: one endpoint at hooks.example.com hearing two events, with Deliveries, Ping and Delete, and the form to add another. Settings → Advanced → Webhooks.) ## Adding an endpoint 1. **Address (https)**: the address the service gave you to send to. Only an https address is taken. 2. **What it hears**: **Everything**, or untick it and pick the events, such as **A post is published** or **A member signs up**. Each is listed with its name for developers, `item.created` or `member.signed_up`. 3. **Add the endpoint.** Its secret is shown this once. Copy it into the service, which uses it to check that a delivery came from your site. **Ping** sends a test delivery, to see that the service answers. ## What is sent Each delivery is JSON, sent after what happened is saved, with the event and its references: who did it, to what, and where. It never holds more than a member could see of it, so a private post sends no words. ```json { "id": "a unique id, the same when a delivery is sent again", "event": "item.created", "at": "2026-12-02T09:30:00+00:00", "site": "https://example.com/", "data": { "…": "the references of the event" } } ``` Its headers say the event (`X-Poly-Event`), the delivery (`X-Poly-Delivery`), when it was sent (`X-Poly-Timestamp`) and its signature (`X-Poly-Signature`): `sha256=` and an HMAC, made with the secret of the endpoint, of the timestamp, a dot and the body. A service that checks it knows the delivery is yours and was not changed on the way. ## When it does not answer A delivery the service does not take is sent again a minute later, then after 5 minutes, 30 minutes, 2 hours and 12 hours. An endpoint that fails 20 times in a row is turned off, and says **Off: it kept failing**. Once the service works again, **Turn it on again** sends to it as before, with the same secret and events. **Deliveries** lists the last ones sent to an endpoint: what was sent, how it was answered and after how many tries. **Send again** sends one of them once more. The log of deliveries is kept for 30 days, or as set under [Data](https://www.poly-community.com/docs/running/data/). ## Webhooks or automations A webhook tells another service. An [automation](https://www.poly-community.com/docs/running/automations/) does something on the site itself, and can also call a webhook as one of its steps, for only the members it is about. --- # API keys and apps Address: https://www.poly-community.com/docs/running/api-keys/ **Poly Community → Settings → Advanced → API** lets another service or an app use the community through its REST API: read posts and members, post, reply and react. There are two ways in. - **An API key** is for a service of your own, such as a newsletter that lists the week posts or a script that posts an announcement. It acts as one member you choose. - **An app** is for something members use themselves, such as a mobile app or a bot of another site. Each member is asked, once, to let it act for them. What either can reach is what the member it acts for can reach on the site, and no more. The settings, the team screens, payments, logging in and signing up are never reachable this way. ## Making a key (Screenshot: API keys: one key named Newsletter export acting as admin, read only, and the form for a new key. Settings → Advanced → API → API keys.) 1. **Name** it after what uses it, so you know later which key to take back. 2. **Acts as**: the username or email of the member it acts for. Left empty, it acts for you. A service that only reads is best given a member who sees no more than it needs. 3. **What it may do**: a key reads by default. Tick **May post, reply and react too** to let it write as that member. 4. **Requests a minute**: how often it may ask. Past that it is answered "Too many requests" until the minute is over. 5. **Make a key.** The key is shown this once. Copy it into the service now: the site keeps only a fingerprint of it, so nobody can read it again, you included. The service sends it with each request as a bearer token: ``` Authorization: Bearer poly_… ``` Each key is listed with whom it acts as, what it may do and when it was last used. **Revoke** stops it at once. ## Adding an app (Screenshot: Apps: the authorize and token addresses of the site, and the form to add an app with its name and the addresses it returns to. Settings → Advanced → API → Apps.) 1. **App name**: members see it when they are asked. 2. **Addresses it returns to**, one a line: where the app takes members back after they say yes. Only these are accepted. 3. **What it may do**: read, or post, reply and react too. 4. **Add the app.** It gets a client ID to use. The app sends a member to the **Authorize** address shown on the card. The member logs in if they need to and is asked whether to let the app act for them. The app then trades the code it gets back at the **Token** address for an access token, valid for an hour, and a refresh token, valid for 90 days. This is OAuth 2 with an authorization code and PKCE, which most OAuth libraries speak. **Remove** signs the app out for every member at once. ## The API description **The API description (OpenAPI)** opens a document of every route a key or an app may use, in OpenAPI 3.1. Tools such as Postman, Insomnia or an OpenAPI code generator read it as it is. ## Limits Every answer says how many requests are left in the minute, in its `X-RateLimit-Limit` and `X-RateLimit-Remaining` headers. A request past the limit is answered with status 429 and a `Retry-After` header. WordPress application passwords (in each user profile) keep working as they always have, as their member. The routes that stay the same from one version to the next are listed in [Stable routes](https://www.poly-community.com/docs/reference/rest-routes/). --- # Data and deleting the plugin Address: https://www.poly-community.com/docs/running/data/ Poly Community keeps the community in tables of its own in the database of your site, their names starting with `poly_`, and the files members upload in the uploads folder or in a cloud storage you connect under **Settings → Services → Storage**. A backup of your site holds all of it. **Poly Community → Settings → Advanced → Data** says what happens to it when the plugin is deleted, and how long some records are kept. (Screenshot: Data: when the plugin is deleted, Keep the community or Delete everything, and how many days to keep the audit log, webhook deliveries, automation runs and read notifications. Settings → Advanced → Data.) ## When the plugin is deleted - **Keep the community**, the default: deleting the plugin on the Plugins screen leaves everything in place, for when it comes back. - **Delete everything**: deleting it removes the profiles, posts, spaces, notifications, pictures and settings for good. Three things stay: - payment records, what members paid, as accounting may ask for them, in the payment tables of the WordPlus SDK, which your host can delete - files in a cloud storage you connected, which stay in it - while another WordPlus plugin (Better Messages, Evo Support, Live Stream) is on the site or has left its data here, the settings and tables they share Deactivating the plugin never removes anything. On a multisite network, each site keeps or deletes its own community. ## How long records are kept Each of these is cleaned each night. 0 keeps them for good. | Record | Kept by default | What it is | |---|---|---| | **Audit log** | 365 days | What the team and members did that changes the site: settings, roles, deletions, moderation and payments, under **Poly Community → Members → Audit log**. | | **Webhook deliveries** | 30 days | What each [webhook](https://www.poly-community.com/docs/running/webhooks/) endpoint was sent and how it answered. One still to be tried stays. | | **Automation runs** | 365 days | What each [automation](https://www.poly-community.com/docs/running/automations/) did and for whom. A rule runs once for each member and thing while its run is kept. | | **Read notifications** | 180 days | Notifications members have read. Unread ones stay. | What else is kept, and for how long, is listed on **Settings → Privacy**: see [Privacy, the policy and the terms](https://www.poly-community.com/docs/running/privacy/). --- # Search engines Address: https://www.poly-community.com/docs/running/seo/ Every page of the community tells search engines and link previews what it is, with nothing to set up: its title, a description, the picture to show when the link is shared, and structured data that search engines read. It works alone, and with the SEO plugin of your site. ## Titles, descriptions and link previews - **The title** of a page is what it shows, then the name of your site: "Members - Riverside Community", "Plugin Development Status and Plans - Riverside Community". The name is the one in WordPress **Settings → General → Site Title**, with the separator of your SEO plugin. - **The description** is the first words of a post, the headline of a member, the summary of a space, or for the sections of the community (the feed, the members, the spaces, the forum) the **Community description** below. - **The picture** shown when a link is shared on social networks or in chat is the first picture of a post, the picture of a member or the cover of a space, else the icon of your site. A page a visitor cannot read whole says nothing more than its title: a page behind a login, a post for members or behind a plan, a community for members only. (Screenshot: Pages and addresses, Search engines: the Community description field. Settings → Pages and addresses → Search engines.) **Community description**, under **Settings → Pages and addresses → Search engines**, is shown in search results under the community home and after the name of its other pages. Up to 160 characters show. Empty, it is the tagline of your site. ## Structured data Search engines read what a page is from structured data (schema.org, as JSON-LD) in the page: - **A post or a topic** is a discussion, with its author, dates, replies and reactions. - **A question** is a question with its answers and the accepted one. - **A member** is a profile page of a person, with their followers and posts. - **A component** says its own: a job is a job posting, a listing a business or a product with its place, hours and rating, an event an event. ## Sitemaps The community adds its addresses to the sitemap of your site: its sections, its posts, its spaces, its members while the members directory is open to visitors, and its tags. Only what a visitor may see is listed, and a post written since shows up at once. - **WordPress alone**: in its own sitemap at `/wp-sitemap.xml`. - **Yoast SEO** and **Rank Math**: in their sitemap index, as `community-pages`, `community-posts`, `community-spaces`, `community-members` and `community-tags`. - **All in One SEO** and **SEOPress**: their index links to the files of the community at `/poly-sitemap/index.xml`. robots.txt names the files of the community only when no sitemap it knows carries it. ## Pages kept out These pages tell search engines not to keep them, while still following their links: the pages of an account (settings, notifications, messages, saved posts), log in and sign up, search results, the gate of a community for members only, and a page that is not found. With **Who can see the community** set to members only, under **Settings → Joining → Who can see it**, search engines find nothing of it. ## With an SEO plugin With **Yoast SEO**, **Rank Math**, **All in One SEO**, **SEOPress** or **The SEO Framework** active, the community gives its title, description and picture to the plugin through the filters of the plugin, so a page has one of each and the plugin settings for separators and social cards apply. Without one, the community prints its own tags. ## Pages drawn from their file Moving between pages, the browser draws the next page from its file and the data of the move, without loading it. The title of the window follows each move. The tags above are in each page as the site sends it, which is what search engines and link previews read: they load each address whole, never by a move. ## For developers A page of your own, or of a component you build, tells search engines about itself from the row the page loaded, through `poly_community_page_meta` (title, description, picture), `poly_community_share_card` (the link preview of an item) and `poly_community_structured_data` (its schema.org node). Build the page itself from data first, so it stays one drawing and fast: see [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/). --- # Speed and hosting Address: https://www.poly-community.com/docs/running/performance/ Poly Community draws its pages in PHP, as WordPress does, and keeps its data in tables of its own in the site database (their names start with `poly_`). Most of the time a page takes is WordPress, the theme and the other plugins of the site. This page says what a host needs, what the plugin does to keep pages fast, and what a page cache and an object cache add. ## What it needs - **PHP 8.1 or later and WordPress 7.2 or later.** - **PHP-FPM or LiteSpeed**, recommended. Apache and Nginx both run PHP this way on most hosts. It lets Poly Community send the page first and do the rest after, such as notifications. Without it everything still works, a little slower. **Settings → Advanced → Background jobs** shows whether a site has it. - **A system cron for the jobs**, on a busy site. A cron entry that runs this every minute keeps a worker going for 55 seconds of each minute, and while it runs, pages leave the jobs to it: ``` wp --path=/path/to/wordpress poly-community queue work ``` - **Opcache on**, as nearly every host has it, so PHP does not read the code again on each request. As a guide, a virtual server of 4 cores and 4 GB with 8 PHP workers draws a page of the community for a visitor in about 0.2 to 0.3 seconds. ## How it keeps pages fast **Moving between pages is data, not pages.** This is where most of the speed of Poly Community comes from, and every page that can move this way does. - **A tap does not load a new page.** Every page of the menu, a member page and a post page has a file of its own, a static script the browser keeps. A tap builds the page from that file and asks the site one request for its data, what is in it now, and the page is drawn in place. WordPress draws no page for it. - **After the first page, the browser asks the site for data alone.** In the background it fetches only static files, the page files and their templates, never a page. - **Back shows the page at once.** Going back to a feed or to the members directory draws it from memory, as it stood, and asks once for its data when it may be out of date. - **Changes come as data too.** Changes made by others reach the open pages ready to show, with nothing more asked of the site, as [Live updates](#live-updates-and-the-load-on-the-server) below says. A page without a file of its own, such as an address with a query, is fetched whole and drawn in place. [Moving between pages](https://www.poly-community.com/docs/developers/page-moves/) explains how it works, and how a block or a kit keeps it working. - **Background work waits for the answer to leave**, as above. - **It works with page caches and object caches** as the rest of this page says. ## Live updates and the load on the server Every open page of a member stays [live](https://www.poly-community.com/docs/live-updates/). How it hears what is new decides most of the load a busy community puts on its server. - **On any host**, an open page asks the site what is new every 10 seconds, and every 60 seconds while its tab is in the background (**Settings → Advanced → Live updates**). Each time is a full request to WordPress, which most of the time answers that nothing is new. On a typical server one takes about 0.2 seconds of a PHP worker, as other requests to the REST API do. Pages of visitors ask nothing. - **With WordPlus Cloud**, an open page asks nothing while its connection is up, only once after it drops, for what it missed. The site works only when something changes: one request to WordPlus Cloud, sent after the member who made the change has the answer, however many pages show it. With members looking at the community in their open tabs: | Members with it open | Requests a minute, on any host | PHP workers busy all the time, on any host | With WordPlus Cloud | |---|---|---|---| | 50 | 300 | about 1 | none while the member is not using the page | | 200 | 1,200 | about 4 | none while the member is not using the page | | 1,000 | 6,000 | about 20 | none while the member is not using the page | When something does change, both work the same: the change reaches the open pages as data, with the poll or over WordPlus Cloud, ready to show, and the page asks the site nothing more for it. The difference is all the asking in between. A server with 8 PHP workers would spend all of them on these questions at about 400 members, before drawing a single page. A tab in the background asks six times less often, so real numbers fall between those and a sixth of them. ## Page caches A page cache keeps the HTML of a page and gives the same copy to the next visitor, without running WordPress. Poly Community works with these: - **Cache Enabler**, the one with the fewest settings. - **WP Super Cache**, with a permalink setting that ends with a slash, as **Post name** does (`/%postname%/`). - **W3 Total Cache**, **WP-Optimize** and **WP Fastest Cache**. - **LiteSpeed Cache**, on a LiteSpeed server. Set up the system cron above with it, so a post published later by the jobs reaches visitors within a minute. It also tells Nginx Helper and WP Rocket which pages to drop. Autoptimize and the optimizer of LiteSpeed Cache, which combine and shrink scripts and styles, work with it too. ### Logged-in members never get a kept page A page drawn for someone logged in tells every cache not to keep it, and its REST answers are never kept. If a cache set to keep the pages of logged-in users gives one anyway, the page sees that it was drawn for someone else and fetches itself again past the cache. The sign-up page is never kept either. ### Fresh pages for visitors When something everyone may see changes, such as a public post, a reply, a space or a profile, Poly Community tells the cache to drop the pages that show it, and the next visitor gets them fresh. Likes, reactions, votes and counts wait until the kept page runs out, so give the cache a lifetime of an hour or less. A developer can add another cache with the `poly_community_purged` action, which gives the addresses dropped, and change the addresses with the `poly_community_purge_urls` filter. ## Object cache WordPress keeps what it read from the database in memory for the length of one request. An object cache keeps it between requests, in Redis or Valkey, so the next page reads it from there instead of the database. It is optional. It saves the database most of its queries, which helps most where the database is on another server or busy. ### Setting it up We run the free [Redis Object Cache](https://wordpress.org/plugins/redis-cache/) plugin with Valkey, and its paid version is not needed. With a Redis or Valkey server for the site, the settings go in `wp-config.php`: ```php define( 'WP_REDIS_HOST', '127.0.0.1' ); define( 'WP_REDIS_PORT', 6379 ); define( 'WP_REDIS_PASSWORD', 'the password of the server' ); define( 'WP_REDIS_PREFIX', 'example:' ); // one per site, when sites share a server define( 'WP_REDIS_MAXTTL', 86400 ); define( 'WP_REDIS_GRACEFUL', true ); ``` Then turn the cache on under **Settings → Redis**. The server needs little memory, a few megabytes at first. Give it a limit and let it drop the keys used least when full (`maxmemory 128mb` and `maxmemory-policy allkeys-lru`). It needs nothing on disk, as everything in it can be read again from the database. ### When the cache server stops Without `WP_REDIS_GRACEFUL`, every page of the site shows **Error establishing a Redis connection** the moment the cache server is gone, and the site stays down until the server is back. With it, the site goes on without the cache, a little slower. ### Turning it off Turn it off under **Settings → Redis** while the cache server still runs. PHP may go on loading the object cache file for a few minutes after it is removed, so if the server is already gone and pages still show the error, reload PHP (PHP-FPM, or the button of your host for it). ### After changing the database outside WordPress Restoring a backup, importing data or changing a table by hand leaves the cache holding the old values. Empty it afterwards: ``` wp --path=/path/to/wordpress cache flush ``` ## Measuring - **[Query Monitor](https://wordpress.org/plugins/query-monitor/)** shows the queries and the time of each page. - **`?nocache=1`** at the end of the address of a community page asks for it past the page caches, as a page fresh from WordPress. --- # The settings Address: https://www.poly-community.com/docs/settings/ Everything about the community is set under **Poly Community → Settings**. The pages are in four groups, in the order a new site usually needs them. The search at the top of Settings finds any option by its name, on any page. Some pages are there only when they apply: **Components** once a component is found, **Forum and Q&A** while spaces are on, **Messages** while [Better Messages](https://www.better-messages.com/) is active, **Membership cards** once payments are set up. ## Setup **Start.** The start page on the first run, then what is still worth doing: the steps left, approval of new members, the sign-up page address, and removing the sample content. **Components.** Each component with its switch, its own settings and its data. **Appearance.** The look, with a live preview of the community beside every change: - **Colors**, light and dark, from a preset or your own palette, or the colors of your site Styles. - **Layout**: how wide the community is, where the navigation goes (a side column, icons, tabs, a top bar or a menu) and where the widgets go. - **Type and shape**: fonts, corners, spacing and card styles. - **Feed**, **Members** and **Spaces**: how posts, member cards and space cards show. - **Menus**: the navigation of the community, the links in its top bar and the menu under a member picture. **Words.** Any text of the community and its components in words of your own, in the language of the site. See [Words](https://www.poly-community.com/docs/settings/words/). **Pages and addresses.** Where the community home is and what it opens on (the feed, the forum, questions or another page), the addresses of the login and sign-up pages and of the forum, how post addresses are built, what search engines are told, and the addresses of the components. **Services.** The outside services the community can use, each set up once: text messages (SMS), email delivery, storage for files, maps and places, GIFs, spam protection, identity and age checks, single sign-on, AI and payments. ## People **Joining.** Who can see the community and the rest of the site, whether profiles and the members directory are open to visitors, whether members give an email address, a phone number or both, and how signing up goes: who can sign up, codes to confirm an address, approval, and reminders to finish signing up. Profiles and the directory: see [Who can open profiles](https://www.poly-community.com/docs/features/profiles/#who-can-open-profiles). **Members.** Pictures and places, what happens when an account is deleted and whether members can delete their own, and how members connect: follows, friends with requests, both or neither, and what friends are called. See [Profiles](https://www.poly-community.com/docs/features/profiles/). **Spaces.** Whether there are spaces at all, whether they are called spaces or groups (in every text and address), who can create them, the fields a space has and how a new one starts. **Access rules.** What is open to whom, rule by rule: writing posts, reacting and voting, sending messages, following, asking for friendship, joining and creating spaces, uploading files, a post or a page. Each rule opens it for chosen plans, member types or roles, from a date, until a date or some days after joining, and says what others see instead: the start of it with a card of the plans, or nothing. ## Content **Posts.** What members can post and how: who sees a new post by default, titles, formatting, pictures, files, audio and video, polls, reactions, editing and its history, pins and more. See [The feed and posts](https://www.poly-community.com/docs/features/feed/). **Catalogues.** Lists of things members add, each with its own form, fields, categories and pages. Listings is one built in, and you can make your own here. **Forum and Q&A.** Boards in categories for the forum, topics for questions and answers, how topics are sorted and paged, and what happens to a board that is deleted. **Messages.** With Better Messages active: the messages page, its colors, a chat for each space and how space chats are emailed and shown. ## Running it **Insights.** The community in numbers over the last 7, 30 or 90 days: new and active members, posts, replies and reactions, who comes back in the weeks after joining, the most viewed posts and money from plans. Counted on your own site, nothing sent anywhere, and downloadable as a CSV. **Notifications.** Email delivery, which notifications are emailed and how often, what the emails look like, the emails a new member gets, and push notifications. **Moderation.** The queue of reports, posts waiting for approval and new members waiting for you, suspended members, words that hold or refuse a post, the reasons members report with, and how long deleted posts and spaces are kept. **Privacy.** The privacy policy and the terms of service, each made as a draft from how the community is set up and linked on the sign-up and login forms once published, agreeing when signing up, outside content and consent plugins, the services that receive members data, the cookies, what members do with their own data and how long things are kept. See [Privacy, the policy and the terms](https://www.poly-community.com/docs/running/privacy/). **Membership cards.** Once payments are set up, members holding a plan add a membership card to Apple Wallet or Google Wallet, from the certificates of your own developer accounts. **Files.** Every file members uploaded, where each kind is kept (this server or a storage of your own), and moving them when that changes. **Advanced.** How often pages check for news without WordPlus Cloud, the audit log, and whether the data stays when the plugin is deleted. --- # Words Address: https://www.poly-community.com/docs/settings/words/ **Poly Community → Settings → Words** puts any text of the community and its components in words of your own: "Follow" as "Keep up with", "Search by name" as "Find a neighbour", "%s reactions" as "%s cheers". It is the language of your site, and no translation file is needed. (Screenshot: Settings, Words: three texts in words of the site own, each with its field and Use its own words, a plural with a field for 1 and for 2. Settings → Words, with three texts put otherwise.) ## Putting a text otherwise 1. **Find it.** Type the words it shows on the site in the field at the top. Every text that holds them is listed, with where it is used below it (Button, Directory, Post menu) when the same words mean different things in different places. 2. **Write yours** in its field, and press **Save**. It changes everywhere the text shows, for every reader whose language is the language of the site: on pages, in menus, in messages and in what the scripts say. 3. **Take it back** with **Use its own words**. (Screenshot: Settings, Words: a search for Search spaces finds the text of the directory, with an empty field to put it otherwise. Finding a text.) The texts you changed are listed whenever the search is empty. ## Texts with numbers and names - **A placeholder** such as `%s` or `%1$d` is where the community puts a number or a name. Keep the ones the text has, as its listing says (Keep its placeholders). Writing one it lacks is refused, as there would be nothing to put there. - **A plural** has a field for each of its forms in your language, each named by a number it is for: in English, 1 and 2. - **A %** that is not a placeholder is written `%%` in a text that has placeholders, as the community fills the text in. Saving a single one there is refused. - **HTML** is taken only where the text has some. Elsewhere tags are dropped, and the words are kept. ## What it covers Every text of Poly Community and of the components that come with it. A component another plugin adds has its own texts, changed with a translation file of that plugin. The screens of the admin keep their own words. Pages keep moving without a reload: a change makes the page files again with your words. A page loaded after the change shows them. With spaces called groups (Settings → Spaces), a text that says space is found by the words the site shows, groups, and your words replace those. ## For developers The texts are given back through the filters of WordPress (`gettext` and its kin, at priority 20): a filter of another plugin at the default priority runs first, and the words of the site replace what it gave. The list of texts the screen finds is written from the plugin by `bin/texts-list.php`. See [Changing a component](https://www.poly-community.com/docs/developers/changing-components/). --- # Members Address: https://www.poly-community.com/docs/settings/members/ **Poly Community → Settings → Members**, in four tabs. Each tab and where it is explained: - **Profiles**: pictures and places, and deleting an account. See [Settings → Members → Profiles](https://www.poly-community.com/docs/features/profiles/#settings--members--profiles). - **Connections**: how members connect, follows, friends, both or neither, and what friends are called. See [Following and friends](https://www.poly-community.com/docs/features/connections/). - **Profile fields**: what a profile asks beyond the name and the headline, in sections, each field with who sees the answer. See [Profile fields](https://www.poly-community.com/docs/features/profile-fields/). - **Team**: the administrators, staff and moderators of the site, and its official accounts. See [The team](https://www.poly-community.com/docs/features/team/). Who may open profiles and the members directory is set under [Settings → Joining → Who can see it](https://www.poly-community.com/docs/features/profiles/#who-can-open-profiles). --- # Spaces Address: https://www.poly-community.com/docs/settings/spaces/ **Poly Community → Settings → Spaces**, called **Groups** on a site that calls them so. While spaces are off in Settings → Components, the page says so and shows none of its settings. Where each is explained: - **Call them** and **Who can create spaces**. See [Settings → Spaces](https://www.poly-community.com/docs/features/spaces/#settings--spaces). Forum boards and Q&A topics are made under Settings → Forum and Q&A (see [Forum](https://www.poly-community.com/docs/features/forum/#settings--forum-and-qa)). - **Space fields**. See [Space fields](https://www.poly-community.com/docs/features/spaces/#space-fields). With [Spaces inside spaces](https://www.poly-community.com/docs/components/nested-spaces/) on, its settings are here too. How long a deleted space is kept is under Settings → Moderation, beside the deleted spaces (see [Deleting a space](https://www.poly-community.com/docs/features/spaces/#deleting-a-space)). --- # Access rules Address: https://www.poly-community.com/docs/settings/access-rules/ **Poly Community → Settings → Access rules**, under People, is one page: the rules, each with what it is about, whom it opens to, when, and what a shut page shows. See [Access rules](https://www.poly-community.com/docs/running/access-rules/). --- # Posts Address: https://www.poly-community.com/docs/settings/posts/ **Poly Community → Settings → Posts**, in six tabs. While the feed and posts are off in Settings → Components, the page says so and shows none of them. Each tab and where it is explained: - **Writing**: who a new post is for, who posts outside spaces, titles, formatting, long posts, editing and earlier versions, drafts and scheduled posts. See [Who sees a post](https://www.poly-community.com/docs/features/feed/#who-sees-a-post), [Formatting](https://www.poly-community.com/docs/features/feed/#formatting), [Titles, mentions and tags](https://www.poly-community.com/docs/features/feed/#titles-mentions-and-tags), [Long posts](https://www.poly-community.com/docs/features/feed/#long-posts), [Drafts and scheduled posts](https://www.poly-community.com/docs/features/feed/#drafts-and-scheduled-posts) and [Editing a post](https://www.poly-community.com/docs/features/feed/#editing-a-post). - **Feed and comments**: where the feed opens and its order, the kinds of post the activity feed shows, the order of comments, and who sees how many views a post has. See [Reading the feed](https://www.poly-community.com/docs/features/feed/#reading-the-feed), [Comments](https://www.poly-community.com/docs/features/feed/#comments) and [Views](https://www.poly-community.com/docs/features/feed/#views). - **Pictures and files**: how many pictures and files a post and a reply carry, audio and video, GIFs and stickers, places. See [What a post carries](https://www.poly-community.com/docs/features/feed/#what-a-post-carries). - **Reactions and polls**: the reactions offered, polls and quizzes. See [Reactions](https://www.poly-community.com/docs/features/feed/#reactions) and [What a post carries](https://www.poly-community.com/docs/features/feed/#what-a-post-carries). - **Tags and links**: hashtags, link previews and players. See [Titles, mentions and tags](https://www.poly-community.com/docs/features/feed/#titles-mentions-and-tags) and [What a post carries](https://www.poly-community.com/docs/features/feed/#what-a-post-carries). - **Sharing and more**: sharing, saved and pinned posts, and blog posts in the feed. See [Sharing, saving and pinning](https://www.poly-community.com/docs/features/feed/#sharing-saving-and-pinning) and [Blog posts in the feed](https://www.poly-community.com/docs/features/feed/#blog-posts-in-the-feed). A tab whose features are all off is not shown, and a component adds its own rows where they belong. --- # Forum and Q&A Address: https://www.poly-community.com/docs/settings/forum/ **Poly Community → Settings → Forum and Q&A**, reached from Settings → Components too. Where each part is explained: - **Forum**: the categories and their boards, made, renamed and put in order. See [Settings → Forum and Q&A](https://www.poly-community.com/docs/features/forum/#settings--forum-and-qa). - **Q&A**: the Q&A topics questions are asked in. See [Settings → Forum and Q&A](https://www.poly-community.com/docs/features/questions/#settings--forum-and-qa). - **Topics and questions**: **Replies on a page** and **The topics of a board open**. See [Settings → Forum and Q&A](https://www.poly-community.com/docs/features/forum/#settings--forum-and-qa). - **Where is this kept?**: where the topics and questions are stored, and how long a deleted board or Q&A topic is kept, which [Moderation → Deleted spaces](https://www.poly-community.com/docs/running/moderation/#deleted-posts-and-spaces) sets. Each board and Q&A topic has its own settings too, opened from its row: its name, picture and rules, who can post in it, and for a board whether its topics can be solved. --- # Messages Address: https://www.poly-community.com/docs/settings/messages/ **Poly Community → Settings → Messages**, there while [Better Messages](https://wordpress.org/plugins/bp-better-messages/) is active. Each setting is explained in [Settings → Messages](https://www.poly-community.com/docs/features/messages/#settings--messages): **Messages page**, **Colors**, **A chat for each space**, **Email for space chats** and **Space chats in the mini chats**. **Better Messages settings** opens the settings of Better Messages itself. --- # Insights Address: https://www.poly-community.com/docs/settings/insights/ **Poly Community → Settings → Insights**, under Running it, is one page: the members, active members, posts and spaces of a period, a chart of each day, who comes back after joining, and the most viewed posts, with a CSV of every day. See [Insights](https://www.poly-community.com/docs/running/insights/). --- # Notifications Address: https://www.poly-community.com/docs/settings/notifications/ **Poly Community → Settings → Notifications**, under Running it, is one page in three cards. See [Notifications](https://www.poly-community.com/docs/running/notifications/) for each: - **Email**: email notifications, the level members start with, and how often. - **Push**: push notifications through WordPlus Cloud, and what a notification says on the lock screen. - **How emails look**: your logo and accent colour, the footer, a preview, and whether the mail of your site goes out. What a new member finds done for them, such as spaces they join, is under **Settings → Joining → First steps**. --- # Moderation Address: https://www.poly-community.com/docs/settings/moderation/ **Poly Community → Settings → Moderation**, in tabs. Each tab and where it is explained: - **To review**: what waits for a decision, one by one or as a list, and the suspended members. See [To review](https://www.poly-community.com/docs/running/moderation/#to-review). - **Requests**: the requests the forms of the site take, shown once there is a form. Each is answered there, and its sender told. - **Deleted spaces**: the spaces deleted and kept a while, with Restore, and **How long the deleted are kept**. See [Deleted posts and spaces](https://www.poly-community.com/docs/running/moderation/#deleted-posts-and-spaces). - **Rules**: the words that hold or refuse a post, the reasons members report with, when reports hide a post, and the spam check. See [What holds a post back](https://www.poly-community.com/docs/running/moderation/#what-holds-a-post-back) and [Reports and hiding](https://www.poly-community.com/docs/running/moderation/#reports-and-hiding). The reports themselves and the deleted posts are on **Poly Community → Content**, and the audit log on **Poly Community → Members**. --- # Privacy Address: https://www.poly-community.com/docs/settings/privacy/ **Poly Community → Settings → Privacy**, under Running it. Each part of the page and where it is explained: - **Privacy policy and terms**: the privacy policy page, the terms page, a draft of each from how the community is set up, and agreeing when signing up. See [The privacy policy](https://www.poly-community.com/docs/running/privacy/#the-privacy-policy), [The terms of service](https://www.poly-community.com/docs/running/privacy/#the-terms-of-service), [Where members see them](https://www.poly-community.com/docs/running/privacy/#where-members-see-them) and [Agreeing when signing up](https://www.poly-community.com/docs/running/privacy/#agreeing-when-signing-up). - **Services that receive members data**: outside content in visitors browsers, holding the spam check, and each service with what it receives. See [Outside content and consent](https://www.poly-community.com/docs/running/privacy/#outside-content-and-consent) and [The services that receive members data](https://www.poly-community.com/docs/running/privacy/#the-services-that-receive-members-data). - **Cookies and browser storage**: see [Cookies and browser storage](https://www.poly-community.com/docs/running/privacy/#cookies-and-browser-storage). - **Members and their data**: see [Members and their data](https://www.poly-community.com/docs/running/privacy/#members-and-their-data). - **How long things are kept**: see [How long things are kept](https://www.poly-community.com/docs/running/privacy/#how-long-things-are-kept). --- # Files Address: https://www.poly-community.com/docs/settings/files/ **Poly Community → Settings → Files**, under Running it, is one page: **Video processing**, **Quality and files** and **Where files are kept**. See [Files and media](https://www.poly-community.com/docs/running/files/). Which kinds of file members may add, and how large, is under **Settings → Posts → Pictures and files**. A cloud storage for the files is set up under **Settings → Services → Storage**. Every file is listed under **Poly Community → Content → Files**. --- # Advanced Address: https://www.poly-community.com/docs/settings/advanced/ **Poly Community → Settings → Advanced**, under Running it, in seven tabs. Each tab and where it is explained: - **Background jobs**: how notifications, emails and the rest run after the page that caused them, the queues, the recurring jobs and the failed ones. See [Background jobs](https://www.poly-community.com/docs/running/background-jobs/). - **Live updates**: how open pages hear of what is new, with or without WordPlus Cloud. See [Live updates](https://www.poly-community.com/docs/live-updates/). - **Webhooks**: telling another service what happens in the community. See [Webhooks](https://www.poly-community.com/docs/running/webhooks/). - **Automations**: rules that do something when something happens. See [Automations](https://www.poly-community.com/docs/running/automations/). - **API**: keys and apps that use the community through its REST API. See [API keys and apps](https://www.poly-community.com/docs/running/api-keys/). - **Overrides**: the views your theme keeps a copy of. See [A view in your theme](https://www.poly-community.com/docs/developers/changing-components/#a-view-in-your-theme). - **Data**: what deleting the plugin keeps, and how long records are kept. See [Data and deleting the plugin](https://www.poly-community.com/docs/running/data/). --- # Better Messages Address: https://www.poly-community.com/docs/integrations/better-messages/ [Better Messages](https://www.better-messages.com), by the makers of Poly Community, is the messenger of the community. With it active, members write to each other privately and in groups, each space can have a group chat of its own, and with its WebSocket version they call each other by voice and video. Poly Community has no messages of its own: install Better Messages, and its messages are those of the community. ## What it adds - **Messages** in the navigation of the community, beside the bell, with the count of unread conversations, and a popup of the latest ones. - **Message** on profiles and member cards, which opens a conversation with that member. - **A chat for each space**, with **Chat** in the header of the space, if you want one (below). - **Calls**: with the WebSocket version of Better Messages, voice and video call buttons on profiles and in conversations. - **Mini chats**: the bar of conversations at the foot of every page that Better Messages draws, in the look of the community. Who may write to whom follows your community: blocked members can't write to each other or call, the friends and followers of Better Messages are those of the community, and the words your rules hold back are held in messages too. Better Messages keeps its own settings for everything else, under its own menu. ## Settings → Messages Under **Poly Community → Settings → Messages**, while Better Messages is active: (Screenshot: Settings, Messages: the Messages page of the community, the colors of the community, a chat for each space, email for space chats and space chats in the mini chats. Settings → Messages.) - **Messages page**: Messages is a page of the community, in its navigation and beside the bell, with the unread count. If Better Messages is set to show its messenger on a page of its own, under its **Messages location**, it stays there: choose no page there to make Messages a page of the community. - **Colors**: the messenger and the mini chats in the colors of the community, light and dark, or in the colors of the Design settings of Better Messages. - **A chat for each space**: each space has a group chat with its members, who join and leave it with the space. The **Chat** button in the header of the space opens it. - **Email for space chats**: whether Better Messages emails members about unread messages of space chats too. Off by default, so busy spaces don't fill their inboxes. Other conversations still email. - **Space chats in the mini chats**: whether space chats show in the mini chats bar of Better Messages, its combined list and its phone menu, or only in the messenger. ## Live updates New messages reach open pages at once through Better Messages: with its WebSocket version, through WordPlus Cloud, the same connection as the rest of the community. ## Without it With Better Messages inactive there is no Messages page, no Message button and no space chats. Nothing of the community is lost, and the conversations stay in the tables of Better Messages for when it comes back. --- # WordPlus Live Stream Address: https://www.poly-community.com/docs/integrations/live-stream/ WordPlus Live Stream, by the makers of Poly Community, streams video live: from a camera, a screen or OBS, to everyone watching, through its own service. With it active, the **Live** component brings it into the community. Poly Community streams nothing itself. ## What the Live component adds Switch on **Live** under **Settings → Components**, while WordPlus Live Stream is active: - **Live** in the navigation: who is live now, and who was. - **Go live** for members: their camera, their screen or OBS, and the chat beside it, from their profile or a space. - A **Live** tab on every space, for the streams of the space. - While a member is live, a post in the feed, a **LIVE** mark on their picture, and their followers told. (Screenshot: A live stream in the community: the video, who is live, how many watch, and the chat beside it. A live stream in the community.) The streams themselves, their recordings and what they cost are those of your WordPlus Live Stream account. The component needs the plugin at version 0.2.2 or later: with it inactive or older, the component waits, and says so under **Settings → Components**. ## Without it With WordPlus Live Stream inactive, the component waits: Live leaves the navigation and the spaces, and the posts of its streams leave the feed until it is back. Nothing is deleted. --- # Evo Support Address: https://www.poly-community.com/docs/integrations/evo-support/ [Evo Support](https://www.evo-support.com), by the makers of Poly Community, is a live chat and help center for your site. With it active, it fits into the community in two ways, through its own functions only: Poly Community adds no chat or articles of its own. ## Live chat While Evo Support shows its chat on a page, its launcher sits at the foot of the community navigation as **Live chat**, so members reach your team from any page of the community. On a phone it is under **More**. Evo Support decides where its chat shows and to whom, in its own settings. ## The help center in the community Switch on the **Knowledge base** component under **Settings → Components**, while Evo Support is active: - **Help** is in the navigation of the community. It leads to the help center of Evo Support. - With Poly Theme, its pages, the articles and their topics, are framed by the community: its header, its navigation, its look. - Its articles show in the search of the community, under **Help**. (Screenshot: The navigation of the community: Activity, Members, Spaces, Messages, Profile and Help. Help in the navigation of the community.) The articles are written and kept in Evo Support. The component needs it: with Evo Support inactive, the component waits, and says so under **Settings → Components**. [Knowledge base](https://www.poly-community.com/docs/components/knowledge-base/) tells the rest. ## Without it With Evo Support inactive, the Live chat item and Help leave the navigation, and nothing of the community changes. --- # Akismet Address: https://www.poly-community.com/docs/integrations/akismet/ [Akismet](https://akismet.com) is the spam filter of Automattic, the WordPress plugin many sites run for their comments. With it active and its key set, Poly Community asks it about what members write, and what it calls spam waits for your team instead of going out. There is nothing to connect: install Akismet, enter its key in its own settings, and Poly Community uses it. ## Posts and replies While Akismet is active with its key, every post and reply of a member goes to it as it is published: the words, the name and email address of the member, and, when they publish it themselves, their address and browser. One it calls spam waits under **Poly Community → Moderation → To review**, marked **Akismet calls it spam**, until the team approves or deletes it. The posts of administrators are never sent. **Settings → Moderation** says whether it runs, under **Akismet**: **Akismet checks posts and replies**, or that it is not active with its key, so nothing is held. (Screenshot: Settings, Moderation: the Akismet row saying Akismet checks posts and replies, and what it calls spam waits in To review. Settings → Moderation.) ## Sign-ups Under **Settings → Joining → Before taking part**, **Check sign-ups with Akismet** sends each sign-up to Akismet too: the name, email address, address and browser of the person. One it calls spam waits for approval by an administrator, whatever your approval setting says. The others join as usual. (Screenshot: Joining, Before taking part: Check sign-ups with Akismet switched on, with what it sends. Settings → Joining → Before taking part.) It is off by default, and off with no way to switch it on while Akismet is not active with its key: the row says so. ## Your privacy policy Akismet gets what is written above for each post, reply or sign-up it checks. Name it in your privacy policy. Its plugin adds a line about it to the policy guide of WordPress. --- # First checks Address: https://www.poly-community.com/docs/troubleshooting/first-checks/ Most problems show themselves in one of a few places. Look at these first, in this order. ## 1. Site Health **Tools → Site Health** in WordPress runs checks of its own and of Poly Community. **Community background jobs are running** says whether the jobs that send notifications, emails and live updates run on time. A failed check says why and what to do. ## 2. Background jobs **Poly Community → Settings → Advanced → Background jobs** shows when the jobs last ran, what waits in each queue, and what failed, in words. Emails that never arrive, notifications late by hours, pictures of links that never show: each is a job. See [Background jobs](https://www.poly-community.com/docs/troubleshooting/background-jobs/). ## 3. The service it needs Much of what the community does goes through a service you set up: email delivery, text messages, storage, maps, single sign-on, payments. **Poly Community → Settings → Services** lists each with its state. On the screen of a service: - its status says whether it works, and what it last answered when it did not - **Send a test** sends one email, one text or one file now, and says what came back - what failed lately is listed with the reason the service gave A feature that needs a service that is not set up says so beside its switch, with **Set up**. ## 4. The browser A page that does not react, or a button that does nothing, often left a message in the console of the browser. Open it with F12 (or Cmd+Option+J on a Mac), reload the page, try again, and look for lines in red. ## 5. Moves that load the whole page When moving between pages of the community is slow, the page may not be one drawing, and is fetched whole each time. See [A page loads whole](https://www.poly-community.com/docs/troubleshooting/page-loads-whole/), which says how to tell and why. ## 6. Another plugin, or the theme To tell whether something else on the site is in the way, try it with the other plugins switched off, or on a staging copy. A page cache or a plugin that minifies scripts is the usual one: see [Speed and hosting](https://www.poly-community.com/docs/running/performance/) for what Poly Community needs from a page cache. ## Asking for help Ask in the [WordPlus community](https://www.wordplus.org/groups/poly-community/), or with **Contact Support** in the header of the Poly Community screens. Say: - what you did, what you expected and what happened instead - the versions of WordPress, PHP and Poly Community, from **Tools → Site Health → Info** - any red line of the browser console, and what **Background jobs** says --- # Emails do not arrive Address: https://www.poly-community.com/docs/troubleshooting/emails/ Every email of the community goes out the same way: notifications and summaries, the code to confirm an address, a reset password, a reminder to finish signing up. When one does not arrive, find which part stopped it. ## 1. Send a test email **Poly Community → Settings → Services → Email delivery → Send me a test email** sends one to your own address, through the way your site sends mail, and says what came back. - **It arrives.** The site can send. Go on to step 3. - **It does not, or the service refused it.** The way of sending is at fault. Go on to step 2. ## 2. How the site sends mail Most hosts send the mail of WordPress badly or not at all, and much of what does leave lands in spam, as it is not signed for your domain. A sending service fixes both: under **Settings → Services → Email delivery**, choose one (SMTP of your mail provider, Postmark, SendGrid, Mailgun, Amazon SES and others) and save its keys. The service then asks you to add records to the DNS of your domain, so mail it sends for you is trusted. Add them all. What the service refused lately is listed there, with the reason it gave. ## 3. One member gets nothing - **Addresses that bounced**, or marked your email as spam, are listed under **Email delivery → Never sent to**, and no email goes to them. **Send to it again** takes an address off the list once it works again. - **Their address.** The [Members screen](https://www.poly-community.com/docs/running/members-screen/) shows the address the member gave, and whether it was confirmed. - **Their notification settings.** On their **Notifications** page a member may have email off, at a lower level, as a summary, or a topic off. And a member who chose to get none of the automatic messages of the site gets none. - **The spam folder** of their mail. ## 4. Nobody gets notification emails - **Settings → Notifications → Email notifications** may be off, or set to a daily or a weekly summary, which goes at 8:00 on the clock of each member. See [Notifications](https://www.poly-community.com/docs/running/notifications/). - **Email addresses off** for members, under **Settings → Joining → Signing up**: the site then emails no member. - **The background jobs.** Emails are sent by a job a few minutes after what happened, when the member has not read it on the site by then. When jobs do not run, emails wait. See [Background jobs](https://www.poly-community.com/docs/troubleshooting/background-jobs/). ## 5. Codes and links A code that does not arrive while signing up or logging in is the same email as the rest: steps 1 and 2. A code is sent at once, never held for a summary. --- # Text messages do not arrive Address: https://www.poly-community.com/docs/troubleshooting/texts/ Codes by text message go through one service, on an account of yours with it, under **Poly Community → Settings → Services → Text messages**. When one does not arrive, check these. ## 1. Send a test text **Send a test text** on the same screen sends one text, which your provider charges for, to the number you give, through what is saved. Save your changes first. It says what the service answered, and **Texts that failed lately** lists the recent ones with the reason the service gave. ## 2. The service - **Keys and sender.** A text that the service refuses is most often a key, a sender name or a number it does not know. Check them in the console of the service. - **The country of the number.** Many services send to some countries only from a number of their own, not a name: the United States and Canada (+1) take texts only from a number registered for it. A sender name is refused there. - **Funds.** A prepaid account with no balance left sends nothing. ## 3. The countries texts may go to **Countries texts may go to** lists the calling codes of the countries your members live in. A number in another country gets no text, and the phone field says so to whoever chooses that country, in your words where you wrote some. Add the calling codes of your members. ## 4. Texts to new numbers are limited Codes for signing up or adding a number can be abused: someone has your site text numbers that earn them money and never enters the codes. So: - **A country can be paused for a day** when most codes sent there to new numbers were never entered. You get an email, and the screen says when texts go there again. Unpause it there when you know the numbers are real. - **Texts to new numbers an hour** and **a day**, for the whole site. Past them, codes for signing up wait until the hour or the day ends, and you get an email. Codes for logging in still go. - **Texts a month**: past this cap no text goes until next month, or until you raise it. The figures of today and this month, by country, with how many codes were entered, are on the same screen. ## 5. A real captcha Bots fill sign-up forms with numbers that earn their owners money. Under **Settings → Services → Spam protection**, a captcha such as Turnstile, hCaptcha or reCAPTCHA on the sign-up form stops most of them before a text is sent. --- # Members cannot log in Address: https://www.poly-community.com/docs/troubleshooting/logging-in/ ## 1. The way they log in is on **Poly Community → Settings → Joining → Logging in** lists the ways: a password, a code by email, a passkey, a code by text message, and the logins with another account (Google, Microsoft, Apple, Facebook, GitHub). A way turned off is refused, even when someone goes to the login page by hand. Administrators always keep their password, so nobody is locked out of the dashboard. ## 2. The code does not arrive A code by email is an email like any other: see [Emails do not arrive](https://www.poly-community.com/docs/troubleshooting/emails/). A code by text: see [Text messages do not arrive](https://www.poly-community.com/docs/troubleshooting/texts/). ## 3. Logging in with another account - **Not set up yet** under a provider means its keys are missing: **Set up** leads to **Settings → Services → Single sign-on**. - The provider refuses when the address it returns to is not the one saved in its console. Copy it again from the screen of the provider in **Single sign-on**. - Someone new who logs in this way is taken to the sign-up form to finish their account, while sign-ups are open. ## 4. The account itself On the [Members screen](https://www.poly-community.com/docs/running/members-screen/), their state says: - **Waiting for approval**: they can log in, and see only what the setting under **Settings → Joining → Before taking part** lets them, until the team approves them - **Email not confirmed**: they finish signing up with the code sent to them - **Suspended**: their posts and profile are off every page until they are restored A member who forgot their password uses **Lost password** on the login page, which emails a link, or a code by text while that way is on. ## 5. The login page - **Login links lead to** the community pages or to WordPress, under **Settings → Joining → Logging in**. Logging in still goes through WordPress either way, so two-factor and captcha plugins keep working. - **A page cache** must not keep the login page or the pages of members. Poly Community tells known caches so. See [Speed and hosting](https://www.poly-community.com/docs/running/performance/). - **A captcha** under **Settings → Services → Spam protection** that fails to load (blocked by an extension, or held for consent) stops the form being sent until it loads. ## 6. One browser only When a member can log in on one device and not another, the cookies of that browser are the usual cause: a blocker, or a browser set to keep no cookies for the site. A private window shows whether it is the browser. --- # Pages do not update live Address: https://www.poly-community.com/docs/troubleshooting/live-updates/ An open page of the community hears what changed in one of two ways. Without WordPlus Cloud it asks the site every few seconds. With WordPlus Cloud connected, changes reach it at once. When a new post, a reply or a notification shows only after a reload, look here. (Screenshot: Live updates: not connected to WordPlus Cloud, each open page asks the server every 10 seconds, and every 60 while its tab is in the background. Settings → Advanced → Live updates.) ## 1. How the site hears of changes **Poly Community → Settings → Advanced → Live updates** says whether the site is connected to WordPlus Cloud, and how often an open page asks for news without it: **Check for news every** (10 seconds by default) and **While the tab is in the background** (60 seconds). A longer time means less load on the server and later news. What is on the screen changes in place: a reply under a post, a number of reactions, a notification in the bell. A list, such as the members directory, takes in new rows when the member moves to another page or back, so nothing jumps under them as they read. A list that did not change at once is working as it should. ## 2. A page cache A page cache that keeps the pages of logged-in members, or that strips the scripts of a page, stops a page hearing anything. Poly Community tells known caches to leave the pages of members alone. Check that yours honours it, as [Speed and hosting](https://www.poly-community.com/docs/running/performance/) explains. ## 3. The background jobs The news a page hears is sent by a background job right after the change. When the jobs do not run, nothing reaches open pages until they do. See [Background jobs](https://www.poly-community.com/docs/troubleshooting/background-jobs/). ## 4. With WordPlus Cloud - The connection is made by the browser of each member. A firewall or a company network that blocks WebSocket connections leaves the page asking every few seconds instead, as without WordPlus Cloud. - On a staging copy, WordPlus Cloud may treat the copy as the live site or not: see the **WordPlus: the live site or a copy** line of **Tools → Site Health → Info**. ## 5. The browser A browser extension that blocks scripts, or an old browser, can stop the page. Try a private window with extensions off, and look in its console (F12) for lines in red. --- # A page loads whole Address: https://www.poly-community.com/docs/troubleshooting/page-loads-whole/ Moving between the pages of the community is fast because each kind of page is a file the browser keeps, drawn at once from the data of the move: one drawing for every reader. A page that is not one drawing is fetched whole from the site on every move, as a page of WordPress is, which is slower and puts more load on your server. Nothing breaks, it is only slower. ## How to tell - **After a move**, the `` element of the page says how it was drawn, in its `data-poly-move` attribute: `file` when it was drawn from its file, else `html:` and why. Open the inspector of the browser (F12) to see it. - **As an administrator**, open any community page with `?poly_moves_made=1` at the end of its address: it lists each kind of page, and for each kind of reader whether it is one drawing and why not. - **With WP-CLI**, `wp poly-community page-data check ` makes the file of the page now and says, for a visitor, a member and an administrator, whether it is drawn from its file and what to change. `wp poly-community page-data list` lists every page as last made. A file is made from the first loads of a page, so a page just added, or a site with fewer than two members or posts to compare, has none yet. It is made once there are. ## The usual causes - **A classic widget** in the widget area of the community. A widget draws by its own code for each reader. Use a block that draws from data, or take the widget out. - **A block of another plugin**, or one you made, that draws something of one reader or one moment (their name, "3 minutes ago"). Its maker can change it to draw from data, as the guide below explains. - **A page no menu links to.** Only the pages of the menus, their tabs and the pages of a subject (a member, a post, a space) get a file. Link the page from a menu. Some readers always load pages whole, and that is expected: an administrator on a page they can change, a suspended member, and anyone a page answers with an error or the login. ## For the one who changes the page Every reason the check command gives, and what to change for each, is in [Pages drawn from data](https://www.poly-community.com/docs/developers/data-driven-pages/#why-a-page-has-no-file). How the check works is in [Checking a page](https://www.poly-community.com/docs/developers/data-driven-pages/#checking-a-page). --- # Uploads fail Address: https://www.poly-community.com/docs/troubleshooting/files/ ## 1. What the site allows Under **Poly Community → Settings → Posts → Pictures and files**: - **Pictures in a post**, **in a reply**, and **Files in a post**, **in a reply**: how many each may carry. 0 is none. - **File types and sizes**: which kinds members may attach (pictures, video, audio, documents, archives, or types one by one), and **Largest file**. 0 lets files be as large as the server takes, and the row says how large that is. A file of a kind that is not allowed, or larger than allowed, is refused with why, before it is sent. ## 2. What the server takes **Largest file** can never go past the limits of PHP on your server, `upload_max_filesize` and `post_max_size`, shown under **Tools → Site Health → Info → Media handling**. Your host raises them. A video too large for those limits is shrunk in the browser first when **Shrink large videos before upload** is on, under **Settings → Files**. ## 3. Where files go - **This server**: the uploads folder of WordPress must be writable, as for any upload to the site. - **A cloud storage**, under **Settings → Services → Storage**: its status says whether it takes files. A file that could not move is listed as **Failed** under **Poly Community → Content → Files**, with **Retry**. ## 4. Videos that do not play - A video is made ready to stream after it uploads. Until then it plays as it was uploaded, and **Settings → Files → Video processing** says when videos are not being converted. - A video kept in a cloud storage plays in most browsers only when the storage lets your site read it: set that once under **Storage**, with **Configure CORS**. - On a server that does not read `.htaccess` files, such as nginx, **Settings → Files** shows a rule to add to the server, so the files of a video are not open to anyone. ## 5. The count of files is wrong After moving files by hand, or restoring a backup of the database without the uploads folder, **Rebuild index** under **Settings → Files → Where files are kept** counts what is there again. --- # Background jobs are late or stuck Address: https://www.poly-community.com/docs/troubleshooting/background-jobs/ Notifications, emails, live updates, search and much more are [background jobs](https://www.poly-community.com/docs/running/background-jobs/). When they wait too long, the community feels slow to tell anyone anything. **Poly Community → Settings → Advanced → Background jobs** says what is going on, and **Tools → Site Health** has a check of its own, **Community background jobs are running**. ## Jobs wait longer than they should The card says "Jobs are waiting longer than they should" when the oldest job of a queue waited past its time. - **A quiet site.** Without a system cron, jobs run after a page is served, and WP-Cron runs only when someone visits. On a site with few visitors, jobs wait for the next one. Add the **System cron** line, as its card shows it, to the crontab of your server or the cron jobs screen of your host. - **WP-Cron turned off.** The card says so when `wp-config.php` turns it off. Then a system cron is needed. - **No PHP-FPM or LiteSpeed.** **After the response** says it is not available, and a background request is used instead. Some hosts block the site calling itself. A system cron makes it work either way. **Run jobs now** runs what is due at once, to see whether jobs run at all. ## A job failed A job is tried again a few times, waiting longer each time. One that failed every time stops, and is listed under **Failed jobs** with what went wrong. Fix the cause, then **Retry** it, or **Retry all**: - a service that refused, such as email delivery or storage: see its screen under **Settings → Services** - a file the server could not write: the uploads folder must be writable - a timeout: a long job on a slow host, which a system cron gives more time Failed jobs are deleted after 30 days. ## The database came back from a copy When the database of a staging copy is put on the live site, the card says "The database came back from" with the address of the copy. The jobs the copy had set aside that were due already are dropped, as this site ran them meanwhile, so nothing is sent twice. The rest run at their time, and each recurring job starts again from now. ## From the command line ``` wp poly-community queue work ``` runs the jobs for up to 55 seconds in a terminal, where an error shows that a page would hide. --- # Push notifications do not arrive Address: https://www.poly-community.com/docs/troubleshooting/push/ A push notification needs four things: the site connected to WordPlus Cloud, push on for the site, push on for that device of the member, and the browser allowing notifications from the site. Check them in that order. ## 1. The site - **Connected to WordPlus Cloud.** Push goes out through it. **Poly Community → Settings → Notifications → Push** says when the site is not connected, and no push goes out until it is. - **Push notifications on**, on the same card. - **Send a test push** hands one push to WordPlus Cloud for each of your own devices with push on. It shows on every one of them, this one too, even with the settings open. The card says how many devices WordPlus Cloud took it for. Look at each one to see it arrived. When WordPlus Cloud refused it, the card says so, and **Tools → Site Health** says why. - **On a staging copy** of a site, WordPlus Cloud may treat the copy as the live site or not, as you answered when it asked: see the **WordPlus: the live site or a copy** line of **Tools → Site Health → Info**. ## 2. The member On their **Notifications** page, each member turns push on for each of their devices by itself: their phone and their computer are turned on apart. The page says for this device: - **On**: this device shows the community notifications, even with the community closed - **Off on this device**: press to turn it on - **Blocked in this browser**: the browser was told no. Allow notifications for the site in its settings (the padlock or the site settings beside the address), then come back A member who chose a lower level for push, or quiet hours, gets fewer, and later. Their level and topics are on the same page. ## 3. An iPhone or iPad An iPhone or iPad shows notifications only from an app on its Home Screen. The member opens the community in Safari, chooses **Share → Add to Home Screen**, opens it from there, and turns push on in it. The Notifications page tells them so. ## 4. The device itself Notifications of the browser or of the Home Screen app may be off in the settings of the phone or the computer, or held by a focus mode. Those are settings of the device, outside the site. A device doesn't show a community notification while the community is open and in front on it, as the page shows it there itself. Safari shows each one anyway, and the test push shows even then. --- # Questions and answers Address: https://www.poly-community.com/docs/faq/ ### When can I download it? Not yet. Poly Community is in preview. It runs every day on [wordplus.org](https://www.wordplus.org/), and the [Poly Community group](https://www.wordplus.org/groups/poly-community/) there is where its release is announced. The name may still change. ### What does it cost? The plugin is free, with every component in it. Nothing that runs on your own site is held back for a paid version. Instant live updates and push notifications come from a [WordPlus Cloud](https://www.wordplus.cloud) subscription, and without one the community stays live by asking the site every few seconds. ### What does it need? WordPress 7.2 or later, PHP 8.1 or later, and MySQL or MariaDB. No other plugin is required. ### Does it work with my theme? Yes. It looks its best in a block theme, where every page is made of blocks in the Site Editor. It works in classic themes too, and can run as a full-page portal. See [Themes and layouts](https://www.poly-community.com/docs/themes-and-layouts/). ### Does it work with Better Messages? Yes. With [Better Messages](https://www.better-messages.com/) active, private messages and chats come into the community: a messages page, a chat for each space where you want one, and the messages button among the member buttons. ### Can it run without the social part? Yes. The community feed, follows and spaces are one component. Switch it off and run a directory, a job board, a school or a booking site on the rest. ### Can it handle a large community? It keeps its data in tables of its own, with indexes made for large lists, and sends slow work (emails, counts, clean-ups) to a job queue so pages never wait for it. Pages after the first are drawn in the browser from small pieces of data, so moving around the community stays quick. ### Can members install it as an app? Yes. Members can install the community on a phone or a computer as an app with your name, icon and colors, with the unread count on its icon and a page for when there is no network. ### Is the data mine? All of it stays in the database of your site. Members can download their data and delete their account, and WordPress privacy tools export and erase it. ### Where do I ask a question? In the [questions about Poly Community](https://www.wordplus.org/questions/poly-community-help/) on wordplus.org, or through the [contact page](https://www.wordplus.org/contact/). --- # Building on Poly Community Address: https://www.poly-community.com/docs/developers/ Poly Community is built to be added to. Its own components (events, courses, jobs and the rest) use the same framework another plugin uses, so anything they do, yours can. [What you can build](https://www.poly-community.com/docs/developers/what-you-can-build/) lists it all, and what you cannot. To change a component that is there, see [Changing a component](https://www.poly-community.com/docs/developers/changing-components/). Building or changing a part of a page? Start with [Building for instant pages and live updates](https://www.poly-community.com/docs/developers/instant-and-live/): the rules that keep its pages moving without a reload and what they show current by itself. ## Built on WordPress Poly Community is WordPress through and through, with no framework of its own: - **Pages are blocks,** in the Site Editor like any others, with templates and template parts a theme can change. - **What they show and do is the [WordPress Interactivity API](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/):** directives in their markup, drawn by PHP on the server first, one store (`poly-community`), script modules, and moves between pages through the [Interactivity Router](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/client-side-navigation/). The browser runs the Interactivity API of WordPress itself (7.2 or later), never a copy. - **The WordPress documentation is the full reference** for those: the [directives](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#list-of-directives), the [store and its functions](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#store-client-methods), the [router](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-interactivity-router/) and [script modules](https://developer.wordpress.org/reference/functions/wp_register_script_module/). These pages cover what Poly Community adds on top. [Built on the Interactivity API](https://www.poly-community.com/docs/developers/interactivity-api/) maps each part to the WordPress reference, with the rules a block on these pages follows. ## What is stable The names in the [Reference](https://www.poly-community.com/docs/reference/) are stable from the day they are listed there, not from 1.0: the parts of `Poly_Community()` and their methods, the registration hooks, two REST routes, and every block, template part and design token. Each is designed before it is listed, so that it does not need to change, and the list grows by additions. When a listed name must change anyway, the old way keeps working where it can: an old hook or function with a deprecation notice, an old key read as its new one, an old icon name as an alias. It stays for at least two releases, and the notice names what replaces it. Every change is a line starting with "Developers:" in the changelog of the release it ships in. Everything else is internal, even when it is public PHP. The prefixes never change: | What | Prefix | |---|---| | Hooks | `poly_community_*` | | REST | `poly-community/v1` | | Blocks | `poly-community/*` | | Tables | `poly_*` | | CSS custom properties | `--poly-*` | | Script modules | `@poly-community/*` | | Text domain | `poly-community` | ## The main object `Poly_Community()` returns the plugin. Its stable parts: | Part | What it is | |---|---| | `items` | Every kind of post: `create()`, `get_item()`, `update()`, `delete()`, `data()`. | | `kinds` | Kinds of item: `register()`, `get()`, `of()`, `id()`, `counts()`. | | `attachments` | What an item carries beside its words: `register()`. | | `access` | Who may do and see what: `register_rule()`, `register_who_can()`, `who_can()`, `can_see_item()`, `can_open_item()`, `viewer()`. | | `live_data` | Rows and lists drawn from data: `register_type()`, `register_list()`. | | `settings_rows` | A setting on any page of Settings: `add()`, `add_section()`. | | `routes` | Addresses: `item_url()`, `profile_url()`, `space_url()`, `home_url()`, `view_url()`. | | `kits` | The components: `get()`, `view_url()`. | | `thing_fields` | The fields of an item: `of_kind()`, `values()`, `set_visibility()`. | | `terms` | Category trees: `register_tree()`. | | `relationships` | Relationship types between members: `register_type()`. | ## Addresses come from routes Build every address with `routes` or with a component view. Never write `/community/` into code: a site may run the community at its root, and a component may have another word for its pages under **Settings → Pages and addresses**. ```php $url = Poly_Community()->routes->profile_url( $profile_id ); $url = Poly_Community()->routes->item_url( $item_id ); ``` ## Registering things Each registration hook fires once, with the object to register on: | Hook | Registers | |---|---| | `poly_community_register_kits` | Another plugin folder of components. See [Building a component](https://www.poly-community.com/docs/developers/components/). | | `poly_community_register_post_kinds` | Kinds of item. See [Kinds of item](https://www.poly-community.com/docs/developers/kinds/). | | `poly_community_register_attachments` | What an item can carry. | | `poly_community_register_trees` | Category trees. | | `poly_community_register_review_targets` | What members may review. | | `poly_community_register_relationship_types` | Relationship types. | | `poly_community_register_access_rules` | Access rules. | | `poly_community_requirements` | What a member must do before taking part (a filter). | | `poly_community_register_row_types`, `poly_community_register_lists` | Rows and lists drawn from data. | | `poly_community_register_data_kinds` | A component kinds on the data screens. | | `poly_community_register_settings_rows` | Settings rows on any page and section. | | `poly_community_register_forms` | Forms, such as applications and claims. | | `poly_community_register_jobs` | Background jobs. | ## On the WordPlus SDK Logging in with another account belongs to the WordPlus SDK, which Poly Community shares with Better Messages and the other WordPlus plugins, so its hook starts with `wordplus_` rather than `poly_community_`: | Hook | Registers | |---|---| | `wordplus_sso_providers` | A way to log in, such as Discord or GitLab. See [Login providers](https://www.poly-community.com/docs/developers/login-providers/). | ## What happened `poly_community_item_created`, `poly_community_item_updated` and `poly_community_item_deleted` say what happened to an item. `poly_community_kits_changed` and `poly_community_kit_settings_saved` say what happened to the components. ```php function my_plugin_item_created( $item_id, $item ) { // An item of any kind is out: a post, a reply, an event, a job. } add_action( 'poly_community_item_created', 'my_plugin_item_created', 10, 2 ); ``` ## Pages These filters shape the pages: `poly_community_home_choices` (what the community home may open on), `poly_community_page_kind`, `poly_community_content_width`, `poly_community_main_markup`, `poly_community_sidebar_blocks`, `poly_community_home_rewrites` and `poly_community_structured_data`. The menus, the tabs of profiles and spaces and the ⋯ menus are places of the registry, `poly_community_register_ui`, in [Tabs and menus](https://www.poly-community.com/docs/developers/tabs-and-menus/) and [Buttons and menus](https://www.poly-community.com/docs/developers/buttons-and-menus/). `poly_community_blueprints` adds a folder of kinds of site to the start page. ## Blocks and design tokens Every `poly-community/*` block is stable, with every template part name and every `--poly-*` design token, because sites save them in their templates. Style the community through the tokens rather than its class names, which may change. --- # What you can build Address: https://www.poly-community.com/docs/developers/what-you-can-build/ A plugin adds to Poly Community through components and registries. The components of Poly Community itself (Events, Courses, Jobs, Listings and the rest) are made the same way, so what they do, yours can. Whatever a component shows is WordPress blocks drawn with the [WordPress Interactivity API](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/): directives in its markup, its data in the store, its script a script module, and moves between pages through the Interactivity Router. [Built on the Interactivity API](https://www.poly-community.com/docs/developers/interactivity-api/) maps each part to the WordPress reference. ## What you can build 1. **A section of its own.** A component brings its pages and their addresses, its items in the community menu, a tab on every profile or space, its own tables, its admin screens and its rows on any settings page. It has a switch under **Settings → Components**, where its data is counted and deleted too. See [Building a component](https://www.poly-community.com/docs/developers/components/), and the Rooms example plugin of [Building for instant pages and live updates](https://www.poly-community.com/docs/developers/instant-and-live/), which you can download and run. 2. **New kinds of content.** Kinds of item with their own fields, as events and jobs are ([Kinds of item](https://www.poly-community.com/docs/developers/kinds/)), category trees (`poly_community_register_trees`), what an item can carry (`poly_community_register_attachments`), catalogues declared in code, as Listings has them (`poly_community_register_catalogs`), what search finds of yours (`poly_community_register_search_kinds`) and what members may review (`poly_community_register_review_targets`). 3. **People and access.** Relationship types between members (`poly_community_register_relationship_types`), kinds of space (`spaceTypes` in `kit.json`), access rules and the parts of a "who can" rule (`poly_community_register_access_rules`, `whoCan`), what a member must do before taking part (`poly_community_requirements`), forms such as applications and claims (`poly_community_register_forms`), and actions of your own held back like the core ones, so approval, profile requirements and verification hold them too (`actions` in `kit.json`). 4. **Money.** What members sell through your component (`poly_community_register_seller_kinds`), and another payment gateway as a provider of the WordPlus SDK ([Payment gateways](https://www.poly-community.com/docs/developers/payment-gateways/)). 5. **Logging in.** Another way to log in, such as Discord or GitLab ([Login providers](https://www.poly-community.com/docs/developers/login-providers/)). 6. **Reacting to what happens.** Signals, one registry for what reacts to a change once it is saved: points, webhooks, automations, the audit log (`poly_community_register_signals`). Background jobs (`poly_community_register_jobs`), notification and email types (`notifications` in `kit.json`, `poly_community_email_kinds`), reasons to report (`poly_community_report_reasons`), and your data in the export and erasure of personal data (`poly_community_register_data_kinds`). 7. **Pages that move at once and stay current.** Row types, lists, events, facts of the reader, parts and a component script, the same tools the core uses. See [Building for instant pages and live updates](https://www.poly-community.com/docs/developers/instant-and-live/), [Lists](https://www.poly-community.com/docs/developers/lists/), [Live updates in code](https://www.poly-community.com/docs/developers/live/) and [Moving between pages](https://www.poly-community.com/docs/developers/page-moves/). 8. **Tools in the composer.** A button in the post composer that attaches what your component makes to a post: `window.polyCommunityComposer.tool( slug, { open, preview } )`. 9. **Kinds of site.** More choices on the start page, each setting up a whole kind of site (`poly_community_blueprints`). 10. **Apps outside the site.** Mobile apps and other services, through the REST API with API keys and apps (**Settings → Advanced → API**). ## What you cannot build 1. **A front end of another kind inside the community,** such as a React app that draws its own HTML in the browser. It can be mounted, as Better Messages does with the messenger, but such a page has no page file and none of the live updates of Poly Community, and it handles both itself. A part built with blocks and directives gets both ([Built on the Interactivity API](https://www.poly-community.com/docs/developers/interactivity-api/#what-it-does-not-allow)). 2. **Interactivity API directives of your own.** WordPress keeps custom directives behind private APIs it says will break. A block uses the [directives WordPress has](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#list-of-directives). 3. **Directives inside rows drawn as HTML.** WordPress does not run directives inside what [`data-wp-html`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-html) draws. A button there names its action, and Poly Community runs it ([Buttons inside rows drawn as parts](https://www.poly-community.com/docs/developers/page-moves/#buttons-inside-rows-drawn-as-parts)). 4. **A kind of event channel of your own.** Events go on the channels of the core: everyone, members, one account, a profile, its followers or friends, the moderators, and the channels of a space or a post. Filters widen those of a post and a profile (`poly_community_item_channels`, `poly_community_profile_channels`), but there is no registry for a new kind of channel that pages listen to ([Live updates in code](https://www.poly-community.com/docs/developers/live/#channels)). 5. **Live updates for visitors.** A visitor page listens to no events and shows what changed on the next page opened. Members see changes as they happen. 6. **A page file for a block that draws something of its reader or of the moment.** The page still moves without a reload, by its HTML through the router, only slower ([Moving between pages](https://www.poly-community.com/docs/developers/page-moves/)). 7. **Code that never changes on everything.** What does not change is on the [stable list](https://www.poly-community.com/docs/reference/), from the day it is listed there: adding components, row types and lists, the parts of `Poly_Community()`, and every block and design token. The events, the `poly-community` script module, the facts of the reader and the page file hooks are not on it yet. To change a component that is there rather than add one, in the admin, the Site Editor, a copy of a view in your theme or hooks in a plugin, see [Changing a component](https://www.poly-community.com/docs/developers/changing-components/). See also [Building on Poly Community](https://www.poly-community.com/docs/developers/). --- # Built on the Interactivity API Address: https://www.poly-community.com/docs/developers/interactivity-api/ Everything a page of Poly Community shows and does is WordPress blocks and the [WordPress Interactivity API](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/). The plugin has no front end framework of its own and ships no copy of the Interactivity API: the browser runs the one that comes with WordPress, 7.2 or later. A part you build is a block whose markup holds directives, a component script is a script module, and a move between pages goes through the Interactivity Router, as on any WordPress site that uses them. So the WordPress documentation is the full reference for the directives, the store, the router and script modules. The pages of Poly Community say what it adds on top: the data a page is drawn from, the page files, the events that keep a page current. This page maps one to the other. ## What WordPress gives | Part | How Poly Community uses it | In the WordPress reference | |---|---|---| | Directives | Every view and every block template is HTML with `data-wp-*` directives. | [List of directives](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#list-of-directives) | | Drawing on the server | PHP draws each page with its directives applied, so a page is whole before any script runs. Blocks put their data in the state with `wp_interactivity_state()`. | [Server-side rendering](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/server-side-rendering/), [wp_interactivity_state()](https://developer.wordpress.org/reference/functions/wp_interactivity_state/) | | The store | One namespace, `poly-community`, for the whole community: global state, local context and derived state (getters). | [Global state, local context, derived state and config](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/understanding-global-state-local-context-derived-state-and-config/), [Setting the store](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#setting-the-store) | | The Interactivity Router | A move to another page is a client-side navigation of one router region, `poly-community/app`. | [Client-side navigation](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/client-side-navigation/), [@wordpress/interactivity-router](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-interactivity-router/) | | Script modules | The core script is the module `poly-community`. A component script is a module that imports it. | [wp_register_script_module()](https://developer.wordpress.org/reference/functions/wp_register_script_module/), [viewScriptModule in block.json](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#view-script-module) | | Compatibility with client-side navigation | Every block of Poly Community declares `"supports": { "interactivity": true }`, which says it is interactive and works with client-side navigation. Declare it on yours too. | [Client-side navigation compatibility](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/client-side-navigation-compatibility/) | ## The directives in use Poly Community uses these, each as WordPress documents it: - [`data-wp-interactive`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-interactive) and [`data-wp-context`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-context): the namespace and the local context of a part. - [`data-wp-bind`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-bind), [`data-wp-class`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-class), [`data-wp-style`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-style) and [`data-wp-text`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-text): attributes, classes, styles and text from the state. - [`data-wp-html`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-html): trusted HTML drawn by the server and kept in the state by key, such as the rows of a list ([Lists](https://www.poly-community.com/docs/developers/lists/)). - [`data-wp-each`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-each) and [`data-wp-key`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-key): a list drawn from its ids, each item kept by its key. - [`data-wp-on`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-on) and [`data-wp-on-document`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-on-document): actions run on events. - [`data-wp-watch`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-watch) and [`data-wp-init`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#wp-init): what runs when the state changes, or once. In its scripts: [`store()`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#setting-the-store), [`getContext()`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#getcontext), [`getElement()`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#getelement), [`getServerState()`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#getserverstate), [`getServerContext()`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#getservercontext), [`withScope()`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#withscope) and [`withSyncEvent()`](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/#withsyncevent). No private API. ## What Poly Community adds on top None of these replace a part of the Interactivity API. Each is a way of using it: - **Rows, lists and parts in the state.** The data of a page lives in its global state under `state.rows`, `state.lists` and `state.html`, read by getters of the core (`state.partRows`, `state.rowPart`), so a block draws from data the same way on the server and in the browser. See [Lists](https://www.poly-community.com/docs/developers/lists/) and [Live updates in code](https://www.poly-community.com/docs/developers/live/). - **Page files.** A move to a page can be drawn from a file made earlier, with its data asked in one request. The router still shows it: Poly Community gives it the page HTML through the `html` parameter of [`navigate()`](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-interactivity-router/#navigate-parameters) instead of having it fetched. The styles and script modules the page needs come as the router brings any ([Ensuring script modules load during navigation](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/client-side-navigation/#ensuring-script-modules-load-during-navigation)), and Poly Community asks that for every component script. See [Moving between pages](https://www.poly-community.com/docs/developers/page-moves/). - **Events.** What changes on the server is told as an event, and the browser writes what it carries into the state, which the directives draw. See [Live updates in code](https://www.poly-community.com/docs/developers/live/). - **Facts of the reader.** What the reader may do is in `state.reader`, so a page drawn once for every reader of a kind shows each the buttons they may use. - **The `poly-community` module.** What a component script imports: `api()`, `onLive()`, `mergePack()`, `listOf()`, `setPart()` and the rest ([Live updates in code](https://www.poly-community.com/docs/developers/live/#in-a-component-script)). ## Rules met with WordPress 7.2 Each follows from how the Interactivity API of WordPress 7.2 behaves, each was met in Poly Community, and each holds for a block of yours on its pages: - **Give no value in `store()` for a key the server sets.** The runtime takes the server state first and `store()` merges over it, so a value written in the script replaces what the server said for that page or that member. Leave such keys to PHP and only type them in the script. - **Give an element whose context changes from page to page a `data-wp-key`.** The router reuses an element at the same place, and it keeps the context it had ([Preserving elements with data-wp-key](https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/core-concepts/client-side-navigation/#preserving-elements-with-data-wp-key)). - **Put `data-wp-interactive` and `data-wp-context` on a wrapper, never on the `