SneakyDave Posted August 4, 2016 Posted August 4, 2016 (edited) I'm allowing free downloads to members of BASH.zone. If you are more delicate of nature, you may prefer to purchase this addon for $2.00 on SneakyDave.com Chat Markenator for Siropu Chat on SneakyDave.com DESCRIPTION The Chat Markenator is an extension of Chat by Siropu which enables the ability to mask shout messages with a replacement character, such as an asterisk. Options exist to choose the replacement character, which buzzwords/keywords shouldn't be masked. XenForo usergroup permissions are used to determine which groups should be affected by this addon. Thanks goes to [uSER=13]@Mark.B[/uSER] for the idea, for whom this addon is named, and @Siropu, for his easily extendable Chat add-on. Chat announcements and user mentions are not affected by this addon. Links in chat are replaced with [link], images are replaced with [image], and quotes are replaced with . By enabling this addon for guests, you can change your Chat permissions so that guests can view chat activity without giving them the ability to see chat messages. This may encourage visitors to register on your forum. This add-on is especially useful to forums that have more chat activity than forum activity. Chat by Siropu is required for this add-on to function. Practically any version should work. This add-on has no call backs, and has no branding. DEMO Currently, this add-on is used on BASH.zone. USAGE Upload the "library" folder to your xenforo root folder on your server. Install the add-on with the included addon-chat_markenator.xml file via the XenForo admin interface. Visit the options and look for the "Chat Markenator" option, and click on it. Follow the option descriptions, such as setting a replacement character, and setting any keywords you'd like to use. Visit your usergroup permissions in XenForo's admin interface, you'll want to set the "View the Chat" and "Enable Chat Markenator" permissions to "Yes", for any usergroup that you want affected by this addon, e.g. Unregistered/Unconfirmed usergroups, etc. Options [ATTACH=full]492._xfImport[/ATTACH] Permissions [ATTACH=full]493._xfImport[/ATTACH] What visitors see: [ATTACH=full]486._xfImport[/ATTACH] What members see: [ATTACH=full]487._xfImport[/ATTACH] CURRENT BUGS There is an issue when a chat message is edited, it is temporarily displayed un-masked until a refresh is performed. A solution for this exists, but requires editing a file in Siropu Chat. This this thread for more information Edited October 20, 2016 by SneakyDave Quote "I wonder if wife Susie knows about the vile crap he posts on his site and how it fits in with her "youth ministry"?" - Dr. Howard Rosenzweig, former owner of TheAdminZone
SneakyDave Posted August 10, 2016 Author Posted August 10, 2016 Version 1.0.1 is in the first post, this release includes: 08/08/2016: Version 1.0.1 - Fixed regex problem with links and url's not getting masked correctly if they contain brackets. - Replaced the numerical usergroup option with a permission in the Siropu Chat permission group. NOTE: With this release, you will now have to edit your usergroup permissions, and choose which groups you want affected by this addon. Quote "I wonder if wife Susie knows about the vile crap he posts on his site and how it fits in with her "youth ministry"?" - Dr. Howard Rosenzweig, former owner of TheAdminZone
SneakyDave Posted August 16, 2016 Author Posted August 16, 2016 After a discussion with Siropu, the bug that exists where the chat message is not masked immediately after editing it can't be easily fixed without editing Siropu's existing chat add-on native files. That being said, I hacked the fix for it here at BASH.zone. Edited messages that should be masked will appear as "[edited]" until the next refresh. [ATTACH=full]495._xfImport[/ATTACH] Quote "I wonder if wife Susie knows about the vile crap he posts on his site and how it fits in with her "youth ministry"?" - Dr. Howard Rosenzweig, former owner of TheAdminZone
SneakyDave Posted August 19, 2016 Author Posted August 19, 2016 (edited) Here's an explanation of how to fix the "edit" bug, which requires a file edit in Siropu's Chat addon: Chat Markenator - How To Fix The Edit Bug Edited August 19, 2016 by SneakyDave Quote "I wonder if wife Susie knows about the vile crap he posts on his site and how it fits in with her "youth ministry"?" - Dr. Howard Rosenzweig, former owner of TheAdminZone
SneakyDave Posted October 20, 2016 Author Posted October 20, 2016 Version 1.0.2 added to first post. Quote "I wonder if wife Susie knows about the vile crap he posts on his site and how it fits in with her "youth ministry"?" - Dr. Howard Rosenzweig, former owner of TheAdminZone
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.