Facebook 

SMFHacks.com - Celebrating 20 Years!

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4342
Latest: eva
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 44312
Total Topics: 7676
Most Online Today: 513
Most Online Ever: 27044
(May 30, 2026, 09:10:16 pm)
Users Online
Members: 0
Guests: 443
Total: 443

Author Topic: [Mod]Ultimate Shoutbox & Chatroom  (Read 134052 times)

0 Members and 3 Guests are viewing this topic.

[Mod]Ultimate Shoutbox & Chatroom
« on: »
Ultimate Shoutbox & Chatroom




https://www.smfhacks.com/index.php?action=downloads;sa=view;down=244

Ultimate Shoutbox & Chatroom v1.4
====================================
A feature-rich, AJAX-powered shoutbox and chatroom for SMF 2.1.

Features:
- Real-time shoutbox widget on every page (configurable placement)
- Full-page chatroom with online users sidebar
- Multi-room support with public/private rooms and group-based access
- Whisper (private) messages via /whisper or /w commands
- Admin messages visible to moderators only via /admin or /a commands
- Message reactions with 5 icon types (like, dislike, star, heart, award)
- GIF picker with Tenor and Giphy support (server-side proxy)
- @mention autocomplete (searches online users + SMF member DB)
- Slash command autocomplete (/whisper, /prune, /clean, /mute, etc.)
- Inline message editing and deletion
- Moderation tools: ban/mute/unmute users, prune/clean messages
- /me action messages
- Sound notifications with tab-away title flash and unread counter
- Searchable message history with date filtering and CSV/text export
- Auto-prune old messages (configurable retention period)
- Flood protection for non-moderators
- Per-room online presence tracking via cache
- BBCode and smiley parsing support
- Fully responsive design with dark mode support
- 100% hook-based installation (zero core file edits)
- 5 configurable permissions (view, post, moderate, whisper, gif)
- Guest read-only access (optional)
- Adaptive polling with exponential backoff on errors
- SMF cache integration for reduced database load

Installation:
1. Go to Admin > Packages > Install a New Package
2. Upload the mod package or install from directory
3. Set permissions under Admin > Permissions > Shoutbox
4. Configure settings under Admin > Configuration > Shoutbox Settings

For GIF support:
- Giphy: Get a free API key from developers.giphy.com

Notification Sound:
- A WAV notification chime is included.
- For smaller file sizes, optionally provide notification.mp3
  and/or notification.ogg in the shoutbox-sounds directory.
  The player will prefer MP3 > OGG > WAV automatically.

Credits & Licenses:
- Icons: FamFamFam Silk icon set by Mark James
  http://www.famfamfam.com/lab/icons/silk/
  Licensed under
  Creative Commons Attribution-ShareAlike 4.0 International
  https://creativecommons.org/licenses/by-sa/4.0/
- Notification sound generated procedurally (public domain)
- This modification is provided as-is with no warranty.

Requirements:
- SMF 2.1.x
- PHP 7.0+
- MySQL 5.6+ / MariaDB 10.0+
« Last Edit: September 01, 2026, 06:48:59 pm by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #1 on: »
Minor fixes and upates
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #2 on: »
Small update Klipy support added. Fix a bug with images inserted just being displayed instead of BBC code.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #3 on: »
I would love to use this VB but the smileys are an issue as I have so many on my site remembering the code to post them is a non starter for my members, but thank you for creating it and adding it for free.

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #4 on: »
Do you want a smiley popup or something as n option?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #5 on: »
Do you want a smiley popup or something as n option?

That would be great VB

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #6 on: »
Done please check. Added option to show a basic bbc editor and smileys popup.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #7 on: »
Update:

Thank you for the new version.

I hope you don't mind but I have made changes to it as the smiley box when activated goes outside the right side of the forum. I have also made changes to the width of the smiley box so it spans the width of the lower part of the shoutbox, I've also commented out the smileys width as there were squashed up in the box and some where not easy to recognise, see attached

[ Guests cannot view attachments ] [ Guests cannot view attachments ]

This was tested on 2 different sites so that I could see what would happen when there were more smileys than one row in the box, as you will see it goes to a new line.

The following is the code that was changed in the shoutbox.css

Code: [Select]
.shoutbox-smiley-picker {
 /*position: fixed;*/
 z-index: 10000;
 background: var(--shoutbox-msg-bg);
 border: 1px solid var(--shoutbox-border);
 border-radius: 6px;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
 padding: 8px;
 /*max-width: 280px;*/
 max-height: 200px;
 overflow-y: auto;
 display: flex;
 flex-wrap: wrap;
 gap: 4px;
 scrollbar-width: thin;
 scrollbar-color: var(--shoutbox-scrollbar-thumb) var(--shoutbox-scrollbar-track);
}

Code: [Select]
.shoutbox-smiley-picker img {
 cursor: pointer;
 padding: 2px;
 border-radius: 3px;
 /*width: 20px;*/
 height: 20px;
 transition: background 0.1s;
}


One last thing, if you update this cold you put an option for the new messages to be at the top please and if possible put in an option for it to be not shown in various areas. I wouldn't want a shoutbox in the Arcade or Quiz etc?

Thanks VB
« Last Edit: March 02, 2026, 04:31:16 am by davejo »
Like Like x 1 View List

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #8 on: »
Changes made and updated! Thanks for smiley css changes!
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #9 on: »
Changes made and updated! Thanks for smiley css changes!

Thank you for the additions you made to the mod

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #10 on: »
This mod has a great potential. Thanks for creating it :)

I would consider a few tweaks which I personally miss:

1. It would be nice to have an option to set a height of shoutbox in settings panel.
2. It would be great to be able to ban users from writing only in Shoutbox.
3. The most important - attachments. Would it be possible to add function to upload them?
4. Is it possible to show images instead of link when you post a jpeg or png link?
5. It would be nice to be able to change time format in settings.
6. Very important - Quote function.
7. Less important - it would be nice to have share link button where edit and reacts are placed so that we can refer to a shoutbox message on forum.

I'll try to test it more and let you know with some other thoughts.

PS. I don't know if it's only in my case but there is a problem with GIFs.
I'm using Giphy and when I want to add a gif - the panel with a searchbar appears only for a second and it changes into a window with random gifs so it's impossible to search a proper one.
« Last Edit: March 08, 2026, 05:43:24 am by Bodzio »

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #11 on: »
Will see what I can do on theses

For #2. You can use the /mute username   command.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #12 on: »
Great. I can't wait to see an update.

One more question.

Is this mod safe?

I use CleanTalk Security mod and for the first time in my life I got a message like this considering this file Sources/Shoutbox-Admin.php

Hint:
These files may not contain malicious code, but they use very dangerous PHP functions and constructions! PHP developers don't recommend to use such code.


Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #13 on: »
Updated the mod!
It follows all the security practices of SMF and I do a basic security review.


Updated:
Added setting to set shoutbox height.
Fixed search bar searching for gifs
Added attachment option enable in settings allows you to upload images from the shoutbox.
Added quote function.
Images urls posted in chat should autoembed.

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: [Mod]Ultimate Shoutbox & Chatroom
« Reply #14 on: »
Thank you! It's becoming better and better.

I need more time to test it.

Height works well.
Attachments work.

Unfortunately gifs doesn't work in my case. I a room all is good but on forum button GIF doesn't respond.

I also noticed that the shoutbox doesn't show avatars.

With the rest I'll let you know.
« Last Edit: March 09, 2026, 01:09:39 pm by Bodzio »

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
4606 Views
Last post February 10, 2009, 08:33:34 pm
by bluedevil
6 Replies
9932 Views
Last post May 12, 2012, 05:37:44 pm
by mariodieck
5 Replies
50009 Views
Last post March 17, 2026, 08:34:58 pm
by SMFHacks
11 Replies
75353 Views
Last post March 28, 2026, 05:41:45 am
by js
12 Replies
88983 Views
Last post September 02, 2026, 01:35:09 am
by davejo

+- Recent Topics

Registration - anti bot pattern matching by SMFHacks
November 01, 2026, 07:20:17 pm

EZPortal 8 by davejo
October 21, 2026, 01:01:54 pm

Downloads Pro 7.0 Released by SMFHacks
October 07, 2026, 07:35:30 pm

[Mod]ActivityPub Federation for SMF 2.1 by SMFHacks
October 01, 2026, 05:03:45 pm

Newsletter Pro 4.0 Released by SMFHacks
September 23, 2026, 08:08:24 pm

Can't remove or restore any item from the recycle bin by SMFHacks
September 22, 2026, 11:01:51 am

MCP Server for SMF 2.1 - let Claude, ChatGPT or Cursor run your admin chores by SMFHacks
September 12, 2026, 02:50:45 pm

Suggestions for improvements to Ultimate Shoutbox & Chatroom by davejo
September 02, 2026, 01:35:09 am

Automatic Sorting of Categories by Kiwi
August 31, 2026, 12:36:09 am

' appears as ' in Most Viewed (and Recent Items ?) by SMFHacks
August 22, 2026, 11:01:56 pm

Powered by EzPortal