Skip to content
RWC

Project

Glory Sole: Live Chat, Notifications and Commissions for a Members-Only Community

Glory Sole is a members-only community where models share photos and videos and members subscribe, follow, chat and order custom videos. I worked on its Laravel platform: live chat and notifications with Pusher, search, commissions and account screens.

By Rohit Pippal8 min readComments

Glory Sole is a members-only community for adults, built around models and the people who follow their work. Models publish photos, videos and posts. Members pay a monthly subscription to follow them, comment, chat and order custom videos made just for them. The front page sums up the invitation in its tagline: "Dip your toe in!"

The platform is a Laravel application with its own website and admin panel. Other developers started it, and I joined later to work on the live, social side of the product: chat, notifications, search, the commission flow and the account screens around them. This write-up explains how the platform works and what I worked on, without claiming every line of it.

What I worked on

  • Live chat: one-to-one messages between friends, with pictures and documents, unread counts and times shown in each reader's own timezone.
  • Notifications: new followers, friend requests, comments, booking requests, delivered videos and new messages, as a live counter on the bell and a page to read or clear them.
  • Online status: "Online" or "Offline" next to each friend in the chat.
  • Search and the feed: a live search for models and members, plus likes and comments on posts without a page reload.
  • Commissions: the booking form for custom videos and the screens where models deliver them.
  • Accounts and admin: member and model dashboards, sign-up rules, account settings and admin screens.

How Glory Sole works

Three groups use the platform: members, models and the admin team.

Members

A member signs up with a username, an email address, a date of birth and a password, then chooses the monthly plan. The member area checks four things on every page: the person is signed in, the subscription is active, the account is approved and the account has not been closed. If any of them fails, the session ends and the person is back on the front page.

Inside, the dashboard is a feed of posts with text, a picture or a short video. Members can like and comment, see who else liked a post, and post themselves. They follow models, send friend requests and accept or decline the ones they receive. A Friends page keeps friend requests, friends and the people they follow in three lists.

From a model's profile a member can see the model's photos, videos and recent posts, and book a commission: a custom video of a chosen length. Their Bookings page lists every request, and the finished video appears there when the model delivers it.

Models

A model signs up with a few more details: full name, mobile number and a profile picture. A new model account waits for the admin team's approval, and the model gets an email as soon as it is approved.

A model's profile has a profile picture, a background picture, an about text, a photo gallery and a video library. Under Manage Levels, the model picks a level and ticks the features they are willing to provide. That choice sets the price members see on the booking form.

The Commissions page lists every request with the member, the level, the length, the price and the date. From there the model views the request, uploads the finished video, reports a problem, or makes the video public on their profile.

The admin team

The admin panel covers the daily running of the site:

  • all members and all models, with a switch to approve or deactivate each account
  • levels and their features, each with an amount
  • pages, separate FAQs for members and for models, and the terms
  • enquiries from the contact form
  • site settings and admin accounts

Commissions: custom videos on request

The admin team defines levels. Each level has an amount and a list of features with their own amounts. Each model chooses one level and the features they offer. When a member opens the booking form, the price comes from the model's level, and it follows the length the member picks, from 1 to 30 minutes. The "Pay" button shows the new total as soon as the length changes, before anything is sent.

A booking stores the model, the member, the level, the chosen features, the length, the price, a description of what the member wants and an optional note. The request appears on the model's Commissions page, and the member gets a notification that it is being processed. When the model uploads the finished video, the platform links it to that booking and tells the member it is ready. Either side can report a booking with a comment, and the model decides whether the video stays private or appears on their public profile.

Live chat, online status and notifications

A community like this lives on fast replies, so nothing here waits for a page reload.

Chat. Members and models can chat once they are friends. The chat page lists friends in two groups, members and models, each with the number of unread messages. Opening a conversation marks its messages as read. A message can carry an attachment: pictures show inside the conversation, and documents such as PDF or Word files show an icon and their original file name.

Times in your own timezone. At sign-up and sign-in, the browser reports its offset from UTC, and the platform turns it into a timezone for the session. Messages are stored in UTC and shown in the reader's own local time, so "sent 10:15" means the same thing to a model in one country and a member in another.

Online status. Every page a signed-in person opens refreshes a short-lived "online" mark in the cache. The chat asks for that mark and shows Online or Offline next to each friend. When someone stops using the site, the mark simply runs out; there is no "offline" event that can get lost.

Notifications. Each event is stored as a Laravel database notification: a new follower, a friend request, a comment on a post, a booking request, a delivered video and a new chat message. At the same moment, Pusher sends a small signal with the sender and the receiver to the open pages. Only the receiver's page reacts: it updates the counter on the bell and, for a chat message, either reloads the open conversation or adds one to the unread badge next to the sender, all without a reload of the page. The notifications page lets each person mark items as read, delete one or clear them all.

One account, two kinds of user

Members and models do different things, but they also follow each other, chat and appear in the same search. In this version both are stored as one kind of account with a type, user or model, instead of two separate account systems with their own tables, sign-in pages and copies of every screen.

That keeps the shared features in one place: a like, a comment, a friend request or a message works the same way whoever sends it. Where the sides differ, such as the booking form, levels or the extra sign-up fields, the code checks the account's type.

The header search shows the result of that design. As a person types, it looks up usernames among active, approved and subscribed accounts, lists models and members under their own headings, highlights the typed letters in each name and links straight to the profile.

Rules at sign-up and when leaving

  • The sign-up form only accepts people aged 18 or over.
  • A password needs at least 8 characters with a capital letter, a small letter, a number and a symbol.
  • Usernames may only hold letters, numbers, dashes and underscores, and must be unique.
  • New members get a welcome email; for every new model, the admin team gets an email to approve the account.
  • Closing an account signs it out and takes it out of search and friends lists at once. Its email address and username become free again.

What I took from this project

Joining a product that other developers started means learning their decisions before adding your own. Here the lesson was that live features are mostly about state that runs out: an online mark that expires, a counter that must match what is stored, a timezone that belongs to the person reading. Getting those small things right is what makes a community feel alive.

Tools used

AreaTools
BackendLaravel, PHP, MySQL
FrontendBlade templates, Bootstrap, jQuery, jQuery Validate
Real timePusher, Laravel events and database notifications
Admin panelBlade, Bootstrap, DataTables
MediaPicture and MP4 video uploads
EmailLaravel Mail

Building a community or creator platform that needs live chat and notifications? Tell me about it.

Comments

No ratings yet

Log in to comment

Only members can comment and rate posts. It is free and takes a minute.

No comments yet. Be the first to share your thoughts.

All projects
  • Project

    Service Marketplaces

    Bid Learn Grow: A Booking Engine Where Clients Bid for a Coach's Time

    Bid Learn Grow is a Laravel booking engine where clients bid for a coach's time slots. I built the booking and bidding rules, the outbid and winner emails, Google Calendar and Outlook sync, and a booking widget coaches paste into their own websites.

    7 min read
  • Project

    Online Stores

    CoffeeRun: Coffee Ordering and Delivery for Salons and Cafés on Laravel

    CoffeeRun is an Australian Laravel platform where salon clients scan a QR code, order coffee from nearby cafés and get it brought to their chair. I worked on the ordering flow, the Stripe and PayPal checkout, the café dashboard and the admin order screens.

    9 min read