Admin
Site Builder's control-panel pages: the Tools page, with the rebuild that repairs the positions the board already has, Banner statistics, the AI providers and models the assistant talks to, and the option groups behind all of it. Everything else in Site Builder — the layout editor, the item settings, display rules — happens in manage mode on the board itself, and those pages are documented with the feature they belong to.
Where the Site Builder pages live
The add-on adds one Site Builder section to the admin navigation, with eight entries: Tools, Banner statistics, the three assistant pages (Assistant options, AI Providers, Conversations) and the three option groups (Rule analytics, GeoIP options, Image options). The section sits between Add-ons and Content, and it collapses like every other one.


On mobile:


The three assistant entries are always there, whether or not the assistant is on yet: AI Providers is where you set up the provider that turns it on (see Setting up a provider). The Permissions section says which permission each entry needs.
Tools
Tools has three sections: Rebuild positions, Positions and Native reconciliation. Press a section's header to open it. Each section needs its own permission (see Permissions); a section you may not use is not shown.
Positions
The Positions section lists every position on the board: its type, how many items it holds, whether Site Builder renders it, and how many display rules it carries. One position is one name and one type — a banner position and a widget position that share a name are two different positions with a row each, and they are edited separately.
The five columns are:
| Column | What it tells you |
|---|---|
| Position | The position's title — the advertising or widget position as XenForo names it, or the page position for one of Site Builder's own pages — with its position id under it. |
| Type | Which kind it is: Banner or Widget, the editor's words. |
| Items | How many items the position holds. |
| Active | Whether Site Builder renders this position. A position you have converted in the board's manage mode but not yet published reads No and its row is dimmed: the board renders its native content untouched until the first publish hands it over. |
| Position rules | How many display rules the position carries. A cell's or an item's rules are edited in manage mode, not here. |
The section is read-only and is a debugging tool: provide what it shows to our support when they ask. A position's layout, its cells and its items are all edited in the board's manage mode.
A position deleted in XenForo stays on this list, showing its position id and rendering nothing. Rebuild positions does not remove it.
Native reconciliation
Site Builder writes the native fallback — the advertisement records, the widget options — continuously, so the board keeps working when the add-on is deactivated. Native reconciliation compares the stored synchronization fingerprints against the current native content and what Site Builder would write now, and changes nothing. It is a debugging tool: use it when our support asks you to.
The Report block gives the four counts:
- Missing — a record created natively while Site Builder was inactive. Its position became managed in the meantime, so the record renders nowhere until a rebuild imports it. This is the count worth acting on.
- Changed — the record was edited natively, or its native-only state moved (user groups, the active flag). The stored synchronization fingerprint no longer agrees with what Site Builder would write.
- Conflicting — the record changed both natively and through Site Builder since it was last synchronized. This is the count that needs a person to decide which side wins.
- Unchanged — everything else.
Below them sit Advertisements and Widgets, one table per fallback kind, each row a record with its title and id under Record, its status under Status, and what the next apply would do to its content and its placement.
Two more tables report state that is waiting to be translated rather than imported: Display criteria to display rules lists banners and cells whose stored native display criteria become display rules on the next apply, each with the reason, and Per-device visibility to device rules does the same for the per-cell device hiding. Both name the work left to do, and both stay empty once there is none.
Apply reconciliation is the only button in the section that changes anything. It rebuilds the positions, imports the missing records, and brings you back to this section when it is done.
Rebuild positions
Rebuild positions repairs the layout of the positions your board already has. If you also have XenForo's Manage advertising permission, it then applies the reconciliation above. Read the reconciliation report first to see what will change, then press Run rebuild.
Run it after an upgrade, or when the reconciliation report shows something out of step.


It repairs positions; it never creates one. A native position becomes a Site Builder position when you convert it in the board's manage-mode editor, and its row appears in the Positions section from then on.
Device cookie and page caching
Site Builder serves each position once, for the visitor's device (desktop,
tablet or mobile). The board's script writes the device it measured from the
screen width (768px and 1200px breakpoints) to the sb_device cookie on
every load; a first visit with no cookie is decided by the browser's user
agent. XenForo's own page cache varies by this cookie where XenForo
carries the page_cache_id event — Site Builder requires XenForo 2.2.15,
which carries it (2.2.0 does not) — at or above it, the version itself is
the guarantee. On a XenForo below that requirement — including one
running a patched copy of XF/PageCache.php that dropped the event —
Site Builder cannot key the cache by device and switches the
guest page cache off for the board's guest pages — whole board, not just
the pages with positions — while any managed position exists, so the
board always renders the visitor's own screen. If a CDN or a full-page
cache sits in front of the board, make it vary on the sb_device
cookie (or bypass the cache for pages that hold Site Builder
positions), or every visitor gets the layout of whoever was cached first.
Banner statistics
Banner statistics (under Site Builder, for administrators with the Manage advertising permission) counts how often each banner was shown and, for image and text banners, clicked:
- An impression is counted once per page view for each banner in a position on that page. A banner that is only in another device's layout is not counted. Also not counted: robots, manage mode, preview links, and guest pages XenForo serves from its page cache.
- A click goes through the board's click address, which counts it and sends the visitor on to the banner's URL. HTML banners count impressions only — their links are yours.
- The page lists each banner per position with its Impressions, Clicks and CTR (clicks per impression) for a date range — the last 30 days unless you pick one — and the By position tab sums them per position. Days are UTC days, and new counts appear within five minutes.
- No IP address or user is stored. A deleted banner's statistics go with it.
- Track banner impressions and clicks (Site Builder → Banner Statistics options, on by default) turns counting off; the existing figures stay. Each counted page view costs one database write after the page is sent.


AI Providers
An AI provider is one API endpoint the assistant can talk to. Any Anthropic-compatible endpoint works. An install seeds three, each inactive and without an API key, each with its models:
| Provider | Base URL | Models |
|---|---|---|
| Anthropic (the default) | https://api.anthropic.com |
Claude Opus, Claude Sonnet, Claude Haiku |
| z.ai (Anthropic-compatible) | https://api.z.ai/api/anthropic |
GLM-5.3, GLM-5.3 Flash |
| OpenRouter | https://openrouter.ai/api |
Claude Opus 5.5, GLM 5.3, GPT-6.1 Sol, Gemini 4 Argon, Grok 4.7, DeepSeek V4 Pro, Kimi K3 |
On a new install Anthropic is the default provider. To activate one, edit it, put your key in API key, tick Active and save.
An upgrade never changes your API key, your Active setting or your default provider, and it does not bring back a provider you renamed or deleted.


The top of the list carries the one note on spending:
Site Builder does not cap AI spending, so set the limit at your provider. Anthropic: create this key in a workspace other than Default and set that workspace's spend limit (Claude Console → Settings → Workspaces → your workspace → Spend limits). z.ai: use your plan or billing settings. Any token or cost figure Site Builder shows is an estimate, not your bill.
Each row shows the provider's Title, its Provider key and default effort, a Models (n) link, the Active switch and a delete button. API keys are never shown in the list.
One provider is the default: the one the assistant uses unless you pick another in the chat. Set it with Default provider on the provider's edit page. Only an active provider with an API key can be the default. If the default is turned off, deleted or loses its API key, the default moves to another active provider that has an API key.


Add a provider
- Open AI Providers and press Add AI Provider.
- Fill Provider key, Title and Base URL — the key is the unique machine name for the endpoint, the title is what the chat bar's provider selector shows, and the base URL is where the API lives.
- Put the provider's key in API key. On a new provider this is the only way to set one.
- Save. The provider is active at once.
The form takes seven fields:
| Field | What it is |
|---|---|
| Provider key | The unique machine key for the endpoint (for example zai). Used internally, and it must be unique. |
| Title | The human-readable name, shown in this list and in the chat bar's provider selector. |
| Base URL | The provider's API base URL, for example https://api.z.ai/api/anthropic. |
| API key | The key sent to the provider. On the add form it is the only way to set one; see the API key. |
| Default effort | The reasoning effort used when the chat-bar switcher does not override it. All five levels are offered; a level the model does not take is sent as the highest one it does (see AI models). |
| Default provider | The provider the assistant uses unless another is chosen. There is always one; turn another one on to replace it — the current default cannot be turned off directly. |
| Active | Unchecked, the provider and its models are hidden from the chat bar. |


A new provider is active as soon as it is saved, and the chat offers it. Untick Active to keep the provider and its models out of the chat.
The API key
On a provider that has an API key, the field shows only the first eight characters of the key, with three actions:
The API key sent to the provider. Only its first characters are shown here.


- View shows the stored API key in full, after a confirmation.
- Replace opens a field for the new API key. Leave it empty to keep the current one.
- Clear is a checkbox: ticked, the stored API key is deleted on save.
On a new provider the row is the API key field alone.
To read the stored API key in full:
- Open the provider's own form — press its title on the row.
- Press View. A confirmation overlay opens, reading The full API key will be shown after you confirm. Current value: and repeating the snippet.
- Press View API key. The full API key is shown.
Site Builder does not limit spending. Set a spending limit in your provider account.
AI models
A model belongs to one provider, and its page says so: each row carries the provider's name and the model's key on its second line.
Open a provider's models with the Models (n) link in its row on the AI Providers list.


Add a model
- Press Models (n) on the provider's row to open its models page.
- Press Add Model. The model belongs to the provider whose page you are on.
- Fill Model key — the identifier sent to the provider, for example
glm-5.3— and a Display label, the name the chat bar's model selector shows, which falls back to the key when you leave it blank. - Set Display order (lower values appear first) and, if the model's tier
matters to you, Role (optional) — a hint such as
haiku/sonnet/opus. Tick Default model if a conversation should start on it; a provider always has one default, so ticking it clears the provider's previous default. A provider's first model becomes its default, and the models list names the default in its row hint (Default model); it is changed on the model's form. - Save. The chat offers the model at once.
A model has no effort setting: the chat offers Low, Medium, High, Extra High and Max for every model. If a model does not support the chosen level, the highest level it supports is used.


A new model is active as soon as it is saved. Turn its switch off to keep the model configured but out of the chat.
Assistant options
The assistant's own settings, under Assistant options.
![The [Site Builder] Assistant Options group](/products/site-builder/docs/media/admin/assistant-options.light.webp)
![The [Site Builder] Assistant Options group](/products/site-builder/docs/media/admin/assistant-options.dark.webp)
| Option | Default | What it does |
|---|---|---|
| Default assistant mode | Read only | The mode a new conversation starts in: Read only (the assistant answers questions and changes nothing) or Full (it can also draft changes). You can switch the mode in the chat. |
| Assistant turn limit | 50 | How many steps one answer may take. At the limit the answer stops and says how to continue. |
| Assistant turn time limit (seconds) | 600 | The longest one answer may run. |
| Archive conversations after (days) | 90 | How long after its last use a conversation is archived. An archived conversation is read-only: it leaves the chat's list and stays in the control panel's Conversations list. 0 never archives. |
| Assistant flood interval | 0 (off) | The seconds an administrator must wait between two messages, so a double click does not send — and bill — the same message twice. A message sent too early is refused with the seconds left. An answer to a question the assistant asked is always accepted. XenForo's "bypass flood check" permission does not apply here. 0 turns it off. |
| Allowed upload extensions | gif, jpg, png, mp4 | The file types the chat accepts as attachments, separated by commas or spaces. A GIF, JPEG or PNG image can become a banner or page image. A video, an audio file or a PDF is stored as a public file that any visitor can load, and the assistant can use its address in any HTML it writes: an HTML widget, an HTML banner or a page's content. Other file types are shown to the assistant by name only. An empty list falls back to the default. |
The note on spending limits is at the top of the AI Providers list.
Image options
The limits every uploaded image is held to, under Image options.
![The [Site Builder] Image Options group, with its file size, width and height limits](/products/site-builder/docs/media/admin/image-options.light.webp)
![The [Site Builder] Image Options group, with its file size, width and height limits](/products/site-builder/docs/media/admin/image-options.dark.webp)
| Option | Default | What it does |
|---|---|---|
| Maximum image file size (KB) | 300 | An image larger than this is refused. The assistant can scale it down to fit, but only after the administrator agrees to it in the chat. Never above the PHP upload limit of the server, or the request is refused before Site Builder sees the file. |
| Maximum image width (px) | 2400 | An image wider than this is refused. The assistant can scale it down to fit, but only after the administrator agrees to it in the chat. |
| Maximum image height (px) | 2400 | An image taller than this is refused. The assistant can scale it down to fit, but only after the administrator agrees to it in the chat. |
These are upload limits, not display sizes. How wide an image renders is set per item in manage mode.
GeoIP options
Country conditions on display rules need a GeoIP database to resolve the visitor's country. GeoIP options is where that database comes from.
![The [Site Builder] GeoIP Options group with the MaxMind license key field and the download status](/products/site-builder/docs/media/admin/geoip-options.light.webp)
![The [Site Builder] GeoIP Options group with the MaxMind license key field and the download status](/products/site-builder/docs/media/admin/geoip-options.dark.webp)
| Option | What it does |
|---|---|
| MaxMind Account ID | The numeric ID of your MaxMind account (on your MaxMind account page, beside each license key). MaxMind needs it together with the license key: both are sent as HTTP Basic Auth. |
| MaxMind GeoLite2 License Key | Saving it (with the account ID) downloads the GeoLite2-Country database from MaxMind. A cron job checks for a newer build every 6 hours. |
Site Builder checks for a newer database every 6 hours and downloads it only when MaxMind has published one. The status under the key says when the last check ran and what it did. A failed download leaves the current database in place. If MaxMind limits the requests (429 Too Many Requests), the next check tries again.
There is no download button. Save the options with an account ID and a license key to start the download; save them again to retry after a failed one. Without a database the visitor's country is unknown:
No database: the visitor's country is unknown until a download succeeds, so country conditions set to "matches" hide their content and ones set to "does not match" show it.
Conversations
Conversations lists every administrator's assistant conversation, archived ones included, under the lead sentence the page itself carries:
Every administrator's assistant conversation, archived ones included. Conversations are never deleted: they are the record of what the assistant did.
It is read-only. Archiving only moves a conversation out of the chat bar's default list — it opens read-only and stays here.


Before the assistant is first used, the list reads No assistant conversations yet.
Analytics
Rule analytics is not in the control panel. It is the card at the top of the Display rules dialog on the board, and it shows how often that rule has matched.


| Reading | What it means |
|---|---|
| Match count | How often the rule has matched. |
| Last matched | When it last did, both relative (3 hours ago) and as a date. |
| Last matched by | The user id of the visitor on whose request it last matched — #12, not a name. A match on a guest's request leaves it blank. |
| Never matched yet | The rule has not matched on this board. |
A rule reads Never matched yet until its first match. The question-mark icon on the card (About rule analytics) explains rule analytics in more detail.
The rules themselves are built and read in Rule building.
Demo mode
A public demo board should let visitors try the editor without anything going
live. Add this line to config.php:
$config['xrSiteBuilder']['demoMode'] = true;
While it is on:
- Nothing can be published. Publishing a position, a page, or asking the assistant to publish is refused with one message. Deleting a published page, reordering positions and changing the display rules of a single placed item (each of which changes the live board at once) are refused too. A page's display rules are staged in its draft, like the rest of the page.
- Each user may send 10 typed assistant messages in a rolling 24 hours. The message that hits the limit says when the next one is allowed, in the visitor's own time zone. Confirm, Cancel and the answers to the assistant's questions do not count and are never refused, so a user at the limit can still settle what is pending.
- The assistant shows a Demo badge in its header.
- Drafts are thrown away after 30 minutes without a change. A cron entry (every five minutes) discards idle position and page drafts, their uploads and their undo history, and deletes pages that were never published.
The board's super administrators are exempt: they publish, send unlimited assistant messages, see no Demo badge, and keep the drafts they saved last. A never-published page whose positions hold such a draft is kept too; the cleanup removes only the idle, never-published pages without one. Every other user, administrators without the super flag included, keeps the limits above.
Remove the line to switch it off; the cron entry then does nothing.
Permissions
An administrator sees only the entries, and only the Tools sections, they have the permission for.
| Entry | Permission |
|---|---|
| Tools | any one of the three section permissions below |
| Tools → Positions section | Site Builder: manage positions, pages and placed content |
| Tools → Native reconciliation section | XenForo's own Manage advertising |
| Tools → Rebuild positions section | XenForo's own Rebuild caches |
| AI Providers, AI models, Conversations | Site Builder: manage AI assistant (providers and models) |
| Assistant options, Rule analytics, Image options, GeoIP options | XenForo's own Manage options |
License
Site Builder checks its license with the XenReact portal. Enter the key in the Site Builder license option; it is verified when you save and then periodically, and the key itself is not kept. A state that needs attention (an invoice due, a cancellation date, a suspended, expired, cancelled or ended license) shows as a notice on the control panel home page to every administrator; dismissing it hides it for you only, for a while. Administrators with the add-on permission also see a notice when an update is available, with a link to what changed and a Download link. One-step install from the notice follows once signed packages ship.
The public footer of the board shows a small "Site Builder by XenReact" line under the copyright. The XenReact portal can replace its text and link, or remove it for licenses that include removal. Visitors never see license state. A style without the copyright in its footer shows no line.