MyBB Community Forums

Full Version: RT Chat 1.4 (Ajax Chat w/ Cache)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
RT Chat
Is a modern and responsive MyBB chat plugin which utilizes MyBB cache system when retrieving messages via ajax. For high performance and no database queries, you can speed up ajax requests to even 1-2 seconds per request for better message sync.

Stable versions are since 1.0 and up.

#Plugin page
#Dependencies
#Features
  • Responsive design (CSS, templates, and settings included)
  • Ajax chat with cached messages. (No database stress!)

  • Whispers system. (Private chat messages)
  • Popup modal for top 10 chat posters
  • Chat bot (Get configurable notifications from bot in chat)
  • Chat actions like (/clear, /ban, /unban, /check)
  • Anti flood system
  • Live message timer update
  • Infinite scroll for older messages
  • Set refresh time
  • Set away time (Ajax won't be called when user is afk)
  • Supports BBCodes and Smilies
  • Min message length
  • Groups which can access chat
  • Separated chat page at /misc.php?ext=rt_chat
  • Edit message / Delete message
  • and many more features

#Installation
  1. Copy the directories from the plugin inside your root MyBB installation.
  2. Settings for the plugin are located in the "Plugin Settings" tab. /admin/index.php?module=config-settings

#Update
  1. Deactivate the plugin.
  2. Replace the plugin files with the new files.
  3. Activate the plugin again.

#Removal
  1. Uninstall the plugin from your plugin manager.
  2. Optional: Delete all the RT Chat plugin files from your MyBB folder.

#Feature request
Open a new idea by clicking here
good job!
RT Chat 0.2 (Ajax Chat w/ Cache)


#Changes:
  • Added AbstractHandler
  • Fixed issue with inserting message not showing instantly.
  • Added my_post_key verification on all ajax requests
  • Added task cleaner for older messages
  • General code cleanup
  • Javascript optimization


#Left to do:
  • Add edit message option
  • Add delete options
  • Add chat ban panel
  • Check if user is banned in chat

RT Chat 0.3 (Ajax Chat w/ Cache)


#New feature
  • Support native bot watcher
  • Get in-chat notifications for new threads, posts, and users (Selectable)
  • Set up the forums which you want a bot to watch.
  • Set up bot id.

[Image: ss1.png]
[Image: ss2.png]
Happy to see a new chatbox, thanks for your job
RT Chat 0.4 (Ajax Chat w/ Cache)


#Changes
  • Added edit message option
  • Added delete message option
  • Added function to check if user is banned
  • Changed errors to use jGrowl instead of alert
  • Optimized code and fixed some minor issues

Most of the basic features are now included. It is considered a release candidate and can be used on the live sites. The left to do options are moderator features.
RT Chat 0.5 (Ajax Chat w/ Cache)

[Image: ss5.png]

This is a pre-final release. As everything has been added, I will let users write suggestions and ideas before finishing releasing main version which will no longer accept new features.

#Changes
  • Added chat actions
  • Added default actions: /clear, /ban, /unban.
  • Added plugin hooks so developers can use rt_chat hooks to extend the plugin.
  • Added complete ban system to check if bans expired.
  • Minor code cleanup

Ban user via chat action
/ban "username" "ban reason" 60


Unban user via chat action
/unban "username"


Clear chat via chat action
/clear
RT Chat 1.0 (Ajax Chat w/ Cache)

Official stable release.
[Image: ss6.png]

Quote:As I didn't receive any feature request to be included before stable release, this is considered a final build and going forward no new features will be added. Code optimization and bugfixes will be included when/if needed

#Changes:
  • Added anti-flood system (no database queries / moderators are immune to anti-flood)
  • Removed "Edit/Delete" buttons from groups that don't have permission to use those buttons.
  • Added new chat action (/check "username") to check if a user is banned and for how long (Moderators action).
  • Changed time to live update of seconds/minutes/hours via javascript.
  • Code optimization.
  • Stability improvements

RT Chat 1.1 (Ajax Chat w/ Cache)

#Changes:
  • Reorganized code caching.
  • Fixed auto-flood system
  • Fixed infinite scroll
  • Inserting new message scrolls always to bottom
  • Fixed can_post() permission
  • Fixed task for cleaning bans
  • General code cleanup
RT Chat 1.2 (Ajax Chat w/ Cache)

[Image: ss1.png]
[Image: ss2.png]

Changes
  • Added whisper system (private chat messages)
  • Added statistics popup (top 10 chat posters)
  • Added new templates
  • CSS/JScript is now loaded only on index and misc
  • Optimized code
  • Removed all hardcoded HTML
  • Many more bugfixes/improvements
You can add mycode editor icons there and add an option to the bot that he can show if new posts or new threads created will push a msg in chatbox

And

Can it sync with post that every msg will work like a post in a dedicated forum chosen by admin
Like live forum or live thread...
(2023-04-27, 06:26 PM)PARADOX987 Wrote: [ -> ]You can add mycode editor icons there and add an option to the bot that he can show if new posts or new threads created will push a msg in chatbox

And

Can it sync with post that every msg will work like a post in a dedicated forum chosen by admin
Like live forum or live thread...

1. That is out of my scope as the design is meant to be minimal and slim. (HTML /CSS/JS related stuff can be edited and included by users themself as everything is modular and included via templates).

2. There is already a bot watching action, you can set which forums should be watched and you can change the way how bot responds into chat in rt_chat.lang.php language file.
Pages: 1 2