Connecting mosques and communities
📖 Help Center & User Manual · Documentation Version 1.0

Kariahku.com User Manual & Help Center

Official step-by-step documentation for the Kariahku.com Multi-Tenant Mosque Management System.

Kariahku.com Multi-Tenant Mosque Management System

SEC-06B — Residential Area Classification: State, District, Locality/Mukim, Kampung, Taman & Street (/mosque-admin/kariah-areas)

Official step-by-step documentation for the Kariahku.com Multi-Tenant Mosque Management System.

Documentation Version: 1.0
Generated On: 2026-12-05 00:44 UTC
Articles: 1

Table of Contents

  1. [SEC-06B] Residential Area Classification: State, District, Locality/Mukim, Kampung, Taman & Street (/mosque-admin/kariah-areas) — Section 6: Kariah Member Management & Residential Area Classification
SEC-06B · Section 6: Kariah Member Management & Residential Area Classification ✓ Fully Implemented

Residential Area Classification: State, District, Locality/Mukim, Kampung, Taman & Street (/mosque-admin/kariah-areas)

Complete explanation of how kariah members are classified by residential location (State, District, Locality/Mukim, Kampung, Taman Perumahan, Street/Jalan, and Other), database relationships, and practical examples.

Purpose of Function Enable Mosque Administrators to model their parish geography hierarchically so members living in different kampung, taman, and streets within the same mosque kariah can be identified, filtered, and reported.
Prerequisites Signed in as `mosque_admin` with an active `kariah_membership` subscription entitlement.
Required User Permissions Mosque Scope: mosque.manage + Active Subscription (kariah_membership)

1. Residential Area Classification & Database Relationships

Kariahku.com classifies member residences using the administrative State/District tables combined with the hierarchical kariah_areas and mosque_kariah_areas tables:

  • Negeri / State (states): Automatically inherited from the mosque’s mosques.state_id.
  • Daerah / District (districts): Automatically inherited from the mosque’s mosques.district_id.
  • Town / Locality / Mukim (area_type = 'locality'): Top-level local area or mukim grouping within the district.
  • Kampung (area_type = 'kampung'): Traditional village area within the mosque kariah (can be nested under a locality or placed at the root of the district).
  • Residential Taman (area_type = 'taman'): Housing estate or residential development within the kariah.
  • Street / Jalan (area_type = 'street'): Specific street classification node (can be nested under a parent Kampung or Taman via parent_area_id, in addition to the member’s individual street_name address field).
  • Other (area_type = 'other'): Institutional quarters, apartments, or custom residential zones.

2. Creating a New Residential Area (/mosque-admin/kariah-areas)

  1. Open /{lang}/mosque-admin/kariah-areas.
  2. In the Add Area form:
    • Enter the Area Name (e.g., Mukim Kajang, Kampung Sungai Ramal, Taman Harmoni Indah, or Jalan Harmoni 3).
    • Select the Area Type (locality, kampung, taman, street, or other).
    • Optionally select a Parent Area (parent_area_id) to build a multi-level hierarchy (e.g., placing Jalan Harmoni 3 under Taman Harmoni Indah).
    • If linking an area name that already exists in the district, enter a Sharing Basis / Authorization (at least 10 characters).
  3. Click Add Area.

3. Linking Shared Boundary Areas & Deactivating Links

  1. When neighbouring mosques in the same district share a boundary area, use the Link Shared Area form, choose the existing district area, provide the Sharing Basis (≥ 10 characters), and submit.
  2. To stop new member registrations in an area while preserving historical member records, click Deactivate Link in the Area Hierarchy table.

4. Example: Identifying Members Across Kampung, Taman & Streets

For example, a mosque administrator at Masjid Al-Hidayah can configure:

  • Locality (Mukim): Mukim Damansara
    • Kampung: Kampung Melayu Subang → child Streets: Jalan Merbau 1, Jalan Merbau 2
    • Residential Taman: Taman Subang Murni → child Streets: Jalan SM 3/1, Jalan SM 3/4

In /mosque-admin/kariah-members, the administrator can view exact headcount breakdowns under Members by Area, filter the directory by any Kampung, Taman, or Street, or search by street name to generate targeted CSV exports.

Kariah Residential Area Hierarchy management (Locality/Mukim, Kampung, Taman, Street) at /mosque-admin/kariah-areas.
Kariah Residential Area Hierarchy management (Locality/Mukim, Kampung, Taman, Street) at /mosque-admin/kariah-areas.

Input Fields & Options Reference

Database ColumnTablePurpose & Constraint
area_typekariah_areasENUM('locality','kampung','taman','street','other').
parent_area_idkariah_areasSelf-referencing FK within the same district & state; cycle-checked up to 25 levels.
name_keykariah_areasNormalized unique key across (state_id, district_id, area_type, parent_id_key, name_key).
sharing_basismosque_kariah_areasRequired (≥ 10 chars) when linking an area shared with another mosque in the same district.
Expected Results: Residential areas are organized hierarchically, selectable on `/kariah-register`, and available for filtering and reporting in `/mosque-admin/kariah-members`.
Important Notes & Data Boundaries: Deactivating an area link (`mosque_kariah_areas.is_active = 0`) hides it from new public applications while retaining all existing member associations and history.

Common Errors & Troubleshooting

If you see "A sharing authorization basis is required (at least 10 characters)" when creating an area, an area with that normalized name already exists in the district—provide a 10+ character sharing note to link it.