---
title: "Events"
date: "2026-10-23T16:32:48+01:00"
modified: "2026-11-19T17:52:50+00:00"
url: "https://nihumanists.org/events/"
post_id: 28
---

# Events

What’s on in Northern Ireland
=============================

Talks, socials, walks and brunches run by humanists in Northern Ireland. Everyone is welcome, whether or not you’re a member.



     Select Event Types  ##### OUR EVENTS

   **Featured Events**  



   Major Events &amp; Conferences  

   Local Groups &amp; Meet-ups  

   LGBT+ Humanists  

   Defence Humanists  

   Humanist Climate Action  

   Young Humanists  

   Faith to Faithless  

   External  

 

 Clear filters 

 

 

   Just Show Me…  ##### JUST SHOW ME…

   Events in Belfast  

 

 Clear 

 

 

  

   Featured Events 
-----------------

---

 

 

  

 

  Events 
--------

---

 

 

  Loading… 

Loading events…

 

   

  ### No events found

Try adjusting your filters to see more events.

 

 

 

 




.border-humanistsuk-blue {
	border-color: var(--bs-humanistsuk-blue) !important;
}

.text-humanistsuk-blue {
	color: var(--bs-humanistsuk-blue) !important;
}

.form-check-input:checked {
	background-color: var(--bs-humanistsuk-blue);
	border-color: var(--bs-humanistsuk-blue);
}

.spinner-border.text-humanistsuk-blue {
	color: var(--bs-humanistsuk-blue) !important;
}


.event-type-checkbox {
	margin-bottom: 0.5rem;
}

/* Mobile filter toggle button */
.btn-outline-primary {
	border-color: var(--bs-humanistsuk-blue);
	color: var(--bs-humanistsuk-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
	background-color: var(--bs-humanistsuk-blue);
	border-color: var(--bs-humanistsuk-blue);
	color: white;
}

/* Ensure collapse transitions smoothly */
#ourEventsCollapse,
#locationFiltersCollapse {
	transition: height 0.35s ease;
}

@media (max-width: 768px) {
	.col-md-4 {
		margin-bottom: 2rem;
	}
}

document.addEventListener('DOMContentLoaded', function() {

	const fixedLocation = "ni";

	// Parse URL parameters to restore filter state from shared links
	const urlParams = new URLSearchParams(window.location.search);
	const featured = urlParams.get('featured');
	const groups = urlParams.get('e');
	const locations = urlParams.get('locations');

	// Nothing checked = show all (John Lewis / faceted-search pattern).
	// URL params only appear when actively filtering.
	const isInitialLoad = featured === null && groups === null && locations === null;

	if (!isInitialLoad) {
		// Restore filter state from URL
		if (featured === '1') {
			document.getElementById('event_type_featured').checked = true;
		}

		if (groups) {
			groups.split(' ').forEach(groupKey => {
				const checkbox = document.getElementById('event_group_' + groupKey);
				if (checkbox) {
					checkbox.checked = true;
				}
			});
		}

		if (locations) {
			const radio = document.getElementById('location_' + locations);
			if (radio) {
				radio.checked = true;
			}
		}
	}

	// Update URL to reflect current filter state (only active filters appear)
	function updateURL() {
		const checkboxes = document.querySelectorAll('#event-types-checkboxes input[type="checkbox"]:checked');
		const selectedValues = Array.from(checkboxes).map(cb => cb.value);
		// Keep any parameters this listing doesn't own (e.g. a preview flag)
		const params = new URLSearchParams(window.location.search);
		['featured', 'e', 'locations'].forEach(key => params.delete(key));

		if (selectedValues.includes('featured')) {
			params.set('featured', '1');
		}

		const groupKeys = selectedValues.filter(value => value !== 'featured');
		if (groupKeys.length > 0) {
			params.set('e', groupKeys.join('+'));
		}

		const selectedLocation = document.querySelector('.location-filter:checked');
		if (selectedLocation) {
			params.set('locations', selectedLocation.value);
		}

		let newURL = window.location.pathname;
		if (params.toString()) {
			newURL += '?' + decodeURIComponent(params.toString());
		}
		window.history.replaceState(null, '', newURL);
	}

	// Event type checkboxes
	document.querySelectorAll('#event-types-checkboxes input[type="checkbox"]').forEach(checkbox => {
		checkbox.addEventListener('change', function() {
			updateURL();
			loadEvents();
		});
	});

	// Location filter radio buttons
	document.querySelectorAll('.location-filter').forEach(radio => {
		radio.addEventListener('change', function() {
			updateURL();
			loadEvents();
		});
	});

	// Clear filters — unchecks everything and clears location
	document.getElementById('clear-filters-btn').addEventListener('click', function() {
		document.querySelectorAll('#event-types-checkboxes input[type="checkbox"]').forEach(cb => {
			cb.checked = false;
		});
		document.querySelectorAll('.location-filter').forEach(radio => {
			radio.checked = false;
		});
		updateURL();
		loadEvents();
	});

	// Clear location only
	document.getElementById('clear-location-btn')?.addEventListener('click', function() {
		document.querySelectorAll('.location-filter').forEach(radio => {
			radio.checked = false;
		});
		updateURL();
		loadEvents();
	});

	// Initial load
	loadEvents();

	// WebMCP: lets an AI agent working in this visitor's browser search the listing (Chrome origin trial
	// in 2026; nothing happens in browsers without document.modelContext). Only on the main events page:
	// a regional page lists one area. The search runs server-side, so an agent can ask about a place.
	if (document.modelContext && !fixedLocation) {
		try {
			Promise.resolve(document.modelContext.registerTool({
				name: 'find_events',
				title: 'Find Humanists UK events',
				description: 'Search upcoming public Humanists UK events: talks, local group meet-ups, socials and online events. ' +
					'Filter by place, dates or a word; results come in date order, 6 at a time, with a link to each event page for details and booking.',
				inputSchema: {
					type: 'object',
					properties: {
						near: {type: 'string', description: 'A UK postcode or town. Leave out for events anywhere.'},
						miles: {type: 'integer', minimum: 1, maximum: 200, description: 'How far from "near", in miles (default 25).'},
						online: {type: 'boolean', description: 'true for online events only.'},
						from: {type: 'string', description: 'Earliest date, as YYYY-MM-DD.'},
						to: {type: 'string', description: 'Latest date, as YYYY-MM-DD.'},
						topic: {type: 'string', description: 'A word to look for in the title, description or type, e.g. "lecture" or "LGBT".'},
						page: {type: 'integer', minimum: 1, description: 'Which page of results, starting at 1. Use nextPage from the previous result.'}
					}
				},
				execute: function (input) {
					return new Promise(function (resolve) {
						wp.ajax.post('humanistsuk_events_agent_search', Object.assign({}, input || {}, {nextNonce: humanists_uk_ajax.nextNonce}))
							.done(resolve)
							.fail(function (message) {
								resolve({error: typeof message === 'string' ? message : "The search didn't work. Please try again."});
							});
					});
				},
				// event titles and venues are written by local group volunteers
				annotations: {readOnlyHint: true, untrustedContentHint: true}
			})).catch(function (e) {
				console.warn('Could not offer the events search to AI agents', e);
			});
		} catch (e) {
			console.warn('Could not offer the events search to AI agents', e);
		}
	}

	function loadEvents() {
		const checkedBoxes = document.querySelectorAll('#event-types-checkboxes input[type="checkbox"]:checked');
		const selectedValues = Array.from(checkedBoxes).map(cb => cb.value);
		const featuredSelected = selectedValues.includes('featured');
		const selectedGroups = selectedValues.filter(value => value !== 'featured');

		// Expand selected groups to event type IDs
		let eventTypeIds = [];
		selectedGroups.forEach(groupKey => {
			const groupCheckbox = document.querySelector(`#event_group_${groupKey}`);
			if (groupCheckbox && groupCheckbox.dataset.eventTypes) {
				groupCheckbox.dataset.eventTypes.split(',').forEach(id => eventTypeIds.push(parseInt(id)));
			}
		});

		const selectedLocationRadio = document.querySelector('.location-filter:checked');
		const locationFilters = selectedLocationRadio ? [selectedLocationRadio.value] : [];
		const nothingChecked = selectedValues.length === 0;

		// Update section title
		updateSectionTitle(selectedGroups, featuredSelected, nothingChecked);

		// Show loading
		document.getElementById('events-loading').style.display = 'block';
		document.getElementById('events-container').style.display = 'none';
		document.getElementById('no-events-message').style.display = 'none';
		document.getElementById('featured-events-section').style.display = 'none';
		const eventsHeaderSection = document.querySelector('.events-header-section');
		if (eventsHeaderSection) eventsHeaderSection.classList.add('d-none');

		// Empty event_types = "show all" on the server side
		wp.ajax.post("get_filtered_events", {
			nextNonce: humanists_uk_ajax.nextNonce,
			event_types: eventTypeIds,
			include_featured: featuredSelected ? 1 : 0,
			location_filters: locationFilters,
			fixed_location: fixedLocation
		}).done(function(response) {
			displayEvents(response);
		}).fail(function(response) {
			console.error('Error loading events:', response);
			showNoEventsMessage();
		});
	}

	function updateSectionTitle(selectedGroups, featuredSelected, nothingChecked) {
		const titleElement = document.getElementById('events-section-title');

		if (nothingChecked) {
			titleElement.textContent = 'All Events';
		} else if (selectedGroups.length === 1 && !featuredSelected) {
			const groupCheckbox = document.querySelector(`#event_group_${selectedGroups[0]}`);
			titleElement.textContent = (groupCheckbox && groupCheckbox.dataset.sectionTitle)
				? groupCheckbox.dataset.sectionTitle
				: 'Events';
		} else if (featuredSelected && selectedGroups.length === 0) {
			titleElement.textContent = 'Featured Events';
		} else {
			titleElement.textContent = 'Events';
		}
	}

	function displayEvents(data) {
		const featuredContainer = document.getElementById('featured-events-container');
		const eventsContainer = document.getElementById('events-container');
		const featuredSection = document.getElementById('featured-events-section');

		document.getElementById('events-loading').style.display = 'none';

		// Featured section
		if (data.featured && data.featured.length > 0) {
			featuredContainer.innerHTML = '<div class="row row-cols-1 row-cols-lg-2 row-cols-xxl-3 g-4">' +
				data.featured.map(card => `<div class="col">${card}

`).join('') + ''; featuredSection.style.display = 'block'; } else { featuredSection.style.display = 'none'; } // Regular events section const eventsHeaderSection = document.querySelector('.events-header-section'); if (data.regular &amp;&amp; data.regular.length &gt; 0) { eventsContainer.innerHTML = '' + data.regular.map(card =&gt; `${card}

`).join('') + '

'; eventsContainer.style.display = 'block'; document.getElementById('no-events-message').style.display = 'none'; if (eventsHeaderSection) eventsHeaderSection.classList.remove('d-none'); } else if (!data.featured || data.featured.length === 0) { showNoEventsMessage(); } else { eventsContainer.style.display = 'none'; document.getElementById('no-events-message').style.display = 'none'; if (eventsHeaderSection) eventsHeaderSection.classList.add('d-none'); } } function showNoEventsMessage() { document.getElementById('events-loading').style.display = 'none'; document.getElementById('events-container').style.display = 'none'; document.getElementById('featured-events-section').style.display = 'none'; document.getElementById('no-events-message').style.display = 'block'; } }); Register as a supporter, for free
---------------------------------

Stand with humanists in Northern Ireland. We’ll keep you up to date on our local news, events, and campaigns. Add your postcode so we know you’re here.

 

 [Register as a supporter](https://nihumanists.org/register/)