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.

SEC-05A ✓ Fully Implemented

Registering a Mosque (/register-mosque) & Platform Verification (/admin/mosques)

Step-by-step instructions for submitting a public mosque registration application with supporting documents, and how platform administrators verify and approve mosques.

Fully Implemented: This module is fully implemented and active in the current Kariahku.com system.
Purpose of Function Enable mosque representatives to apply for onboarding and guide Platform Administrators through verifying documents, approving tenants, and starting the 1-month free trial.
Prerequisites 1 to 3 supporting documents (PDF, JPG, or PNG, max 5 MB each). For approval: an active `users` account matching `applicant_email`.
Required User Permissions Public Access for Application (/register-mosque) | Global mosques.review for Approval (/admin/mosques)
System Route /register-mosque

Step-by-Step Instructions

1. Submitting a Mosque Registration Application (/register-mosque)

  1. Click Register Mosque in the top navigation or visit /{lang}/register-mosque.
  2. Under Mosque Details:
    • Enter the official Mosque Name (required, max 180 chars) and select Mosque Type (Masjid, Surau, or Surau Jumaat).
    • Enter an optional Reference Number (up to 100 chars).
    • Select State and District (the District list filters automatically to match the chosen State).
    • Select the optional Official Prayer Zone (auto-suggested based on State and District).
    • Fill in Address, 5-digit Postcode, Latitude (-90 to 90), Longitude (-180 to 180), Telephone, and Email.
  3. Under Applicant Details, enter Applicant Name, Applicant Position, Applicant Contact, and Applicant Email (applicant_email).
  4. Select 1 to 3 Supporting Documents (PDF, JPEG, or PNG, max 5 MB per file).
  5. Click Submit. The application is saved with status pending.

2. Reviewing & Approving Mosque Applications (/admin/mosques)

  1. Sign in with mosques.review permission (Super Admin or Portal Admin) and open /{lang}/admin/mosques.
  2. Click the supporting document links on a pending mosque to inspect files securely via /admin/mosque-document?id={doc_id}.
  3. Verify that an active users account exists matching the application’s applicant_email.
  4. Enter a Review Note (mandatory when rejecting) and click:
    • Approve: Sets mosques.status = 'active', assigns the applicant user as mosque_admin in mosque_users, and automatically starts the 1-Month Free Trial on the mosque-standard plan.
    • Reject: Sets mosques.status = 'rejected' and logs the rejection note.

Verified Screenshots & UI Reference

Public Mosque Registration form (/register-mosque) and Platform Mosque Review console (/admin/mosques). 🔍 Click image to enlarge preview

Input Fields & Options Reference

Form FieldRequirementValidation Rules
nameRequiredOfficial mosque name (max 180 chars); generates a unique URL slug.
mosque_typeRequiredAllowed values: masjid, surau, or surau_jumaat.
state_id & district_idRequiredDistrict must belong to the selected State (enforced server-side).
postcodeRequiredExact 5-digit numeric postcode (^\d{5}$).
latitude & longitudeRequiredDecimal coordinates: Latitude -90..90, Longitude -180..180.
applicant_emailRequiredEmail address of the user who will be granted mosque_admin upon approval.
documents[]Required1 to 3 files; allowed MIME types: application/pdf, image/jpeg, image/png; max 5 MB each.

Expected Results

The mosque transitions to `active`, the applicant becomes `mosque_admin`, the microsite `/masjid/{slug}` goes live, and the 1-month free trial starts.
Important Notes & Data Boundaries: Uploaded registration documents are stored outside the public web root in `storage/mosque-documents/` and served only to authorized reviewers.

Common Errors & Troubleshooting

If approval fails stating that the applicant user account must be created first, provision the account via php database/manage.php create-user with the exact applicant_email and retry approval.