Live URL: https://sobran.lovestoblog.com
Wedlock is now a PHP-first matrimonial platform designed for shared hosting like InfinityFree:
- User register/login
- Admin moderation panel (approve/reject profiles)
- Editable profile/about/bio
- Smart matching via unsupervised clustering (K-means style vectors)
- Membership packages and subscription activation
- Connection requests (send/accept/decline)
- File-cache based acceleration for heavy match loads
- Skeleton/loading animations for slow sections
- Template image settings (landing/dashboard/payment)
- PHP 8+
- MySQL / MariaDB
- Vanilla JS + CSS
index.phplanding pageregister.phpregistration pagelogin.phplogin pagedashboard.phpuser dashboardprofile.phpeditable profile/about/biopackages.phppackage + payment confirmation flowconnections.phprequests and interaction pageadmin.phpadmin moderation + plans + settingscontact.phpdirect owner support page (WhatsApp)logout.phplogout endpointapi.phpJSON APIsincludes/core.phpDB + auth + matching + caching helpersincludes/bootstrap.phpapp boot/session setupincludes/layout.phpshared page layout helpersassets/style.cssUI styles and loadersassets/app.jsfrontend behaviordatabase/schema.sqloptimized tables + indexes.htaccessrewrite support
- Create MySQL DB from InfinityFree panel.
- Put project files in
htdocs/. - Copy
includes/config.local.sample.phptoincludes/config.local.php. - Fill DB credentials in
includes/config.local.php:- host:
sql101.infinityfree.com - db:
if0_40800486_Wed_lock - user:
if0_40800486 - password: your vPanel password
- host:
- Ensure
storage/is writable. - Open site URL.
On first run, schema auto-creates and seeds:
- default admin:
- email:
admin@wedlock.local - password:
admin123456
- email:
- default plans: Free, Gold, Platinum
From Admin page, set URLs for:
landing_image_urldashboard_image_urlregister_image_urlprofile_image_urlpayment_qr_url
This lets you use your own dashboard/landing/register/profile templates without code changes.
- Payment activation is currently manual (
MANUAL-UPIreference) so users can pay and confirm over WhatsApp. - Matching cache TTL is configured in
includes/core.php(cache_ttl). - Profile status defaults to
pendinguntil admin approves. - Owner support WhatsApp:
7847948216(also available oncontact.php). - Multipage structure is now live:
index.php,register.php,login.php,dashboard.php,profile.php,packages.php,connections.php,admin.php,contact.php.