Settings > Client portal - two-step sign-in for the portal, and * whether people can sign up themselves (saved by edit_client_portal_settings, * admin/post/settings_client_portal.php) with the clients that let them; and * the announcements shown on its home page (to every client, or one) between * their start and end. */ require_once "includes/inc_all_admin.php"; $show_archived = isset($_GET['archived']); $sql = mysqli_query($mysqli, "SELECT announcement_id, announcement_title, announcement_body, announcement_tone, announcement_client_id, announcement_starts_at, announcement_ends_at, announcement_created_at, announcement_archived_at, client_name, user_name FROM portal_announcements LEFT JOIN clients ON client_id = announcement_client_id LEFT JOIN users ON user_id = announcement_created_by WHERE announcement_archived_at IS " . ($show_archived ? 'NOT NULL' : 'NULL') . " ORDER BY COALESCE(announcement_starts_at, announcement_created_at) DESC, announcement_id DESC"); $archived_count = intval(mysqli_fetch_row(mysqli_query($mysqli, "SELECT COUNT(*) FROM portal_announcements WHERE announcement_archived_at IS NOT NULL"))[0]); $state_badges = ['showing' => 'text-bg-success', 'scheduled' => 'text-bg-info', 'ended' => 'text-bg-secondary', 'archived' => 'text-bg-secondary']; // Signing up - on for the portal, and the clients that let people at their domains do it (functions/portal_invite.php) $signup_ready = portalInvitesReady(); $signup_on = $signup_ready && portalSignupOn(); $signup_clients = $signup_ready ? portalSignupClients() : []; ?>
The client portal is off - turn it on in Modules.
Single sign-on is set up' . (empty($config_azure_client_id) ? ' (it isn\'t yet)' : '') . '.') ?> 'requireMfa', 'help' => 'Contacts who sign in with a password are asked for a code from an authenticator app too. Anyone without it set up is taken to set it up before anything else. Microsoft 365 sign-ins are left to Microsoft.']) ?> 'portalSignup', 'help' => 'Shows Create an account on the sign-in page, while a client below lets people sign up. Anyone else can still be invited.']) ?>
Outgoing mail isn't set up, so nobody can sign up - the link to finish is emailed. Set it up in Mail.
Clients that let people sign up
    $signup_client) { ?>
  • -
No client lets people sign up yet - turn it on for one on its Contacts > Invites.

Announcements

Shown at the top of the portal's home page - to every client, or one - between their start and end.
Announcement For When Action
Every client' ?>
Posted by
$show_archived ? 'No archived announcements' : 'No announcements', 'text' => $show_archived ? '' : 'Planned maintenance, an outage, a new service - a note at the top of every client\'s portal, or one client\'s.', 'icon' => 'fa-bullhorn', 'filtered' => false, 'actions' => $show_archived ? [] : [['label' => 'New Announcement', 'modal' => 'modals/portal_announcement/portal_announcement_add.php', 'size' => 'lg']], ]) ?>