পণ্যের অংশে চলে যান
LCPanelলাইসেন্স সেন্টার প্যানেল
MMB MyMeetBook টি অধ্যায়

MyMeetBook ডকুমেন্টেশন

মেসেঞ্জার ও কল

ব্যক্তিগত চ্যাট, গ্রুপ চ্যাট আর অডিও ও ভিডিও কল - সাধারণ PHP-তেই, Node.js বা সকেট সার্ভার ছাড়া।

প্লাগিনগুলো হালনাগাদ ৬ নভে ২০২৬ ১৩ / ৪০

The Messenger plugin gives members private chats, group chats, and audio and video calls. It runs on plain PHP: no Node.js, no socket server.

What members get

  • One-to-one chats and group chats, at /messages and in a chat dock on every page.
  • Photos, videos, audio files, other files, voice messages, GIFs and stickers.
  • Seen and typing marks, reactions, reply, forward, edit and delete.
  • A Requests folder for messages from people who are not friends.
  • Audio and video calls between two members, with ringing, mute, camera switch and a missed-call note.
  • Group calls in group chats, meetings with a public /meet/<code> link that works without an app (scheduled with a waiting page and countdown since 1.2.0), a data saver for slow connections and recording (1.1.0, see below).

On a phone the Messages page fills the screen and behaves like a chat app.

Settings

Admin → Plugin pages → Messenger.

Delivery

SettingWhat it does
Check for new messages every (seconds) on the Messages pageHow fast a message appears. 3 is a good value; lower means more requests.
…and every (seconds) on other pagesHow fast the chat dock and the unread badge notice a new message.
Live updates (Server-Sent Events)One open connection per member instead of repeated checks. Messages appear at once. Needs a host that allows long requests; when it does not work the site falls back to checking by itself.

On shared hosting leave Live updates off first, and switch it on when the site runs well. On a VPS switch it on.

Content

  • Longest message (characters), Link previews in messages.
  • Attachments members may send: photos, videos, audio files, other files, voice messages. Sizes follow the upload limits of the site.
  • GIF search needs a free Tenor or Giphy API key.
  • Group chats, Message requests folder, Chat dock on desktop each have a switch.
  • Keep messages for (days): 0 keeps them forever. Otherwise the hourly clean-up removes older messages and their files.

Calls

  • Audio calls and Video calls have separate switches.
  • Ring for (seconds): after that the call counts as missed.
  • STUN servers: comma-separated. Google's public ones are filled in and are enough to start.
  • TURN server, TURN username, TURN credential: see below.

What calls need

  1. HTTPS. Browsers give the camera and microphone only to secure pages.
  2. Permission. Each member allows the camera and microphone when the browser asks, once.
  3. A way through the network. Calls go straight from one browser to the other (WebRTC). STUN is enough when both sit on ordinary home or office internet.

When to add a TURN server

On mobile data and behind strict office firewalls two browsers often cannot reach each other directly. The call rings and is answered, but there is no sound or picture. A TURN server relays the call in that case.

  • Hosted: services such as Metered, Twilio or Xirsys give you an address, a username and a credential. Paste them into the three TURN fields.
  • Your own: install coturn on a small VPS. The server address looks like turn:turn.example.com:3478.

A site whose members mostly use phones should have a TURN server. Calls are one-to-one; there are no group calls.

Group calls (1.1.0)

In a group chat the phone and camera buttons start a group call. The chat gets a Group video call · In progress bubble with a Join button, and the chat header shows Join call while the call runs; the bubble turns into Group video call · 3:21 when the last person leaves.

Every browser talks directly to every other one (a mesh), so there is no media server to run - but the bandwidth grows with the number of people. Most people in one room (default 8) caps it. Inside the call: tiles for everyone, a green frame around whoever is speaking, mute, camera off, switch camera on a phone, screen sharing on a desktop, a People panel and the connection indicator (three bars: good / fair / poor).

Where to find it. In Messages, the green New meeting button sits at the top of the chat list (next to the new-group and new-message buttons, on phones too), the Meetings chip under the search box opens the meetings view in place (the address changes to /messages/meetings, so Back works), the + menu in the site header has New meeting, and so does the floating Chats box on desktop.

The meetings view starts with two tiles:

  • Meet now - a meeting that starts right away; you land on its page and share the link.
  • Schedule - opens the form: title, details (shown on the waiting page - an agenda, what to prepare), date, time and time zone (your own by default, else the site's), duration, video or audio only, repeats (does not repeat / every day / every week), an optional passcode (4-32 letters or digits), a cover colour and an emoji, and five switches: Lobby (people wait until you let them in), Allow guests to join before the host, Mute people when they join, Camera off when they join, Only signed-in members see the details. Leave the date empty for a meeting that is open any time.

Below the tiles are Upcoming and Past meetings. The host has Start, Copy link, Add to calendar (an .ics file for Google Calendar, Outlook or Apple Calendar - repeating meetings carry the repeat rule and a reminder), Edit (the same form, filled in), End meeting and Delete.

The meeting page - every meeting gets a link like https://your-site/meet/abc-defg-hij. Before the start it is a waiting page: the title and cover, the host, the details text, the date and time in the viewer's own time zone (with the host's time when it differs), a live countdown (days, hours, minutes, seconds), Add to calendar and Remind me (a notification a few minutes before the start, sent by the cron job Meeting reminders). The join button stays off until the start time and then turns on by itself - or earlier, as soon as the host presses Start early. With Allow guests to join before the host on, people can come in any time (into the lobby, when it is on). A meeting with a passcode asks for it once; the passcode never shows to anyone but the host.

Visitors who are not signed in are asked to sign in (or create an account) and land back on the meeting afterwards. With Only signed-in members see the details switched off they first see the title, details and countdown. Joining always needs an account. Once in, the pre-join card has microphone / camera / data saver switches (Mute people when they join and Camera off when they join set their starting position) and the meeting runs in the browser - no app, it works on phones.

The host's controls sit in the People panel: Let in / Deny for the lobby, Mute and Remove per person, Mute all, Lock meeting (nobody new can enter; people already inside may re-join), and End meeting. A repeating meeting that ends (or whose time simply passes) moves on to its next date with the same link. After a one-off meeting ends, its page says This meeting has ended and shows the host's next meeting, if there is one.

Meeting settings (Admin › Plugins › Messenger)

  • Meetings with a public link - switches the feature off for everyone (the /meet/... links then answer 404).
  • Who may create meetings - every member, Pro members only, or admins only.
  • Planned meetings per member - meetings that have not ended yet (0 = no limit).
  • Lobby on by default, Most people in one meeting (2-12; a package with a smaller group-call size lowers it for that host), Longest meeting (minutes) - the longest duration in the form; the cron ends a meeting that runs longer.
  • Allow passcodes, Allow repeating meetings (daily / weekly), Reminder before the start (minutes) (default 10).

A Wallet package can still switch Meetings with a public link off for its members (see Packages below).

A meeting for a group chat (1.1.1, 1.2.0)

In a group chat the header's link button opens a small menu:

  1. Meet now - creates a meeting named after the group, posts it into the chat as a card with Join meeting and a copy button, and takes you straight in;
  2. Schedule - opens the scheduling form; when you save it, the meeting's card (with its time) is posted into the group;
  3. Meeting link - creates the meeting, posts the card and copies the link, ready to paste anywhere (people outside the group can join with it too).

The chat's info panel also has Meeting link under Members. During a group call the top bar has Copy invite link. That link opens the group chat and joins the running call; it works for members of the group.

Packages (Wallet, 1.1.1)

Each Wallet package can switch on or off Audio calls, Video calls, Group calls, Meetings with a public link and Record calls and meetings, and set People in a group call (default 8) and Longest recording (minutes) (default 30). A member whose package leaves a feature out sees Your package does not include this. Upgrade to use it. with an Upgrade button. Joining a call or meeting someone else started is always allowed; the host's package decides how many people fit in the room. Admins pass every gate.

Data saver (1.1.0)

Calls and meetings have a data saver for slow connections:

  • By itself: the browser reports a 2G/3G or "save data" connection, or the quality indicator stays poor for a while. The admin switch Data saver switches on by itself on slow connections controls this.
  • By hand: the Wi-Fi button in the call bar, or the switch on the pre-join card.

With the saver on, the video sent is capped to Data saver video bitrate (default 150 kbps), half resolution and 12 frames a second; audio is capped at 24 kbps; at most four video tiles are shown (the rest show the avatar); and when the connection stays poor the camera is paused so the sound stays clear (Turn camera back on brings it back). The indicator in the top bar shows good / fair / poor from the measured round-trip time and packet loss.

Recording (1.1.0)

The record button saves the call in the browser (all tiles mixed into one picture with everyone's sound) and uploads it when it stops. In a group call the recording lands in the chat as a video message marked Call recording with a download link; in a meeting it appears under Recordings on the meeting page for the host and the people who joined.

Admin settings under Recording:

  • Members may record calls and meetings - the master switch.
  • Longest recording (minutes) - the recorder stops itself at the limit.
  • Recordings per member per month and Recording storage per member (MB) - 0 means no limit.
  • When the Wallet plugin is on, a second set of the same three limits applies to Pro members (the user_is_pro filter decides who is Pro). Packages can change any limit through the messenger_limits($limits, $userId) filter.

Recording needs a browser with MediaRecorder (Chrome, Edge, Firefox, Safari 14.1+). The file is WebM (MP4 in Safari).

Phones (1.1.0)

On a phone the bottom tab bar hides while a chat is open, so the message box always sits at the bottom of the screen above the keyboard. The Menu sheet of the tab bar shows every item with its icon and its name.

The + at the left of the message box opens a sheet with Photo / video, Attach a file, Record a voice message, GIF and Sticker (whichever the admin allows); the floating chat box on a desktop page has the same tray. Touch and hold a message for its menu (react, reply, copy, forward, edit, delete, report). On a computer, hovering a message shows the emoji button (quick reactions, and + for every emoji) and ⋯ for the same menu.

In a call, Connected shows for two seconds and then fades away so it does not sit over the video; Calling…, Ringing… and Reconnecting… stay on screen while they are true.

Moderation

Admin → Plugin pages → Messenger → Moderation finds a member and lists their conversations. An admin can read a thread to act on a report, delete a message or delete a whole conversation. It is read-only otherwise, and nothing there notifies the members.

A member can block another member; blocked people cannot message or call each other. A member can report the person they are chatting with from the chat menu; the report arrives on Admin → Reports.

Clean-up

The cron job Messenger clean-up runs every hour: typing marks, old call signals, calls that timed out, room signals and empty group-call rooms and, when a limit is set, old messages. Run clean-up now on the settings page starts it by hand.

Coming from WoWonder

When the WoWonder Migration plugin runs, Messenger imports the old conversations, group chats and their files, so members find their history where they left it.

এটি কি কাজে লেগেছে?
এই অধ্যায়টি শেয়ার করুন