caerostris / van2shout Goto Github PK
View Code? Open in Web Editor NEW[discontinued] A simple shoutbox for vanilla2
Home Page: http://vanillaforums.org/addon/van2shout-plugin
[discontinued] A simple shoutbox for vanilla2
Home Page: http://vanillaforums.org/addon/van2shout-plugin
Feature request by jeongwee @ vanillaforums.org
Display the number of users currently online somewhere next to the shoutbox.
http://vanillaforums.org/discussion/25308/some-suggestions-for-this-plugin#latest
Add a spam protection by limiting messages per second
Every time I click Send it posts a blank message.
the user Caerostris won't receive a private message sent to caerostris because firebase is case sensitive.
Just transforming all PM recipients to lower case won't do the trick as it would say "PM to caerostris" instead of "PM to Caerostris" then. (big deal, but still...)
When changing role permissions, there is no way to update the firebase tokens except for manually deleting them from the database. Just a small button on Van2Shout's settings page would suffice.
Using the CSS emoticon jQuery plugin to render the smiley freezes firefox for a few seconds
Old firebase tokens might cause issues after upgrading when the token schema changes.
I'm considering support for pictures and/or videos in a future version.
As @melaur already pointed out in #17 though, bandwidth might become a problem...
to allow non-root admin roles to go to settings page
change
in class.van2shout.plugin.php
from:
public function SettingsController_Van2Shout_Create($Sender) {
$Sender->Permission('Garden.Plugins.Manage');
to:
public function SettingsController_Van2Shout_Create($Sender) {
$Sender->Permission('Garden.Settings.Manage');
to allow emoji to show images when viewing from category, etc
for the js
plugins/Van2Shout/js/emojify.min.js
I added the gdn.definition('WebRoot')+ "/" +
@Caerostris @woft more dynamic...
change...
*/!function(a){var b=function(){function b(a){return" "===a||" "===a||"\r"===a||"\n"===a||""===a}function c(a,b,c){var d=i.createElement("img");d.setAttribute("title",":"+c+":"),d.setAttribute("class","emoji"),d.setAttribute("src",q.img_dir
to
*/!function(a){var b=function(){function b(a){return" "===a||" "===a||"\r"===a||"\n"===a||""===a}function c(a,b,c){var d=i.createElement("img");d.setAttribute("title",":"+c+":"),d.setAttribute("class","emoji"),d.setAttribute("src",gdn.definition('WebRoot')+ "/" + q.img_dir
Add an option to display new messages at the top, not at the bottom
I have installed Van2Shout with:
Vanilla forum 2.1.6
The Server and Vanilla are in Italian.
I have an issue with special characters: "ò, à, è, ì, ù". They are displayed as "ò, à , è, ì, ù ".
Hi devs,
This emoji import structure is wrong, think there is an forum which will have on chat over 50 people and there will be 4 emoji listed than there will be 200 requests for 4 emoji instand of 1. Try to use all emoji in one sprite and to use sprite structures for display to save requests, something like this http://is.gd/jseNd8 .
display the shoutbox on a separate page
Shoutbox is vulnerable to encoded XSS
Example:
ASCII:
Encoded:
%3C%73%63%72%69%70%74%3E%61%6C%65%72%74%28%22%58%53%53%22%29%3C%2F%73%63%72%69%70%74%3E
Looks like this has been an issue for some time
https://exchange.xforce.ibmcloud.com/#/vulnerabilities/83425
Would love to get urls parsed as links in messages.
Feature request by Dr_Sommer @ vanillaforums.org:
Hi! Are there any plans for integrating Sounds to the Shoutbox? So if one User shouts, there would be a "Ping" ? If this is not integrated and you find it a good feature that would be great.. ;) And don't forget an OFF Button.. ;)
Greetz,
Dr. Sommer
http://vanillaforums.org/discussion/24719/sound-for-shoutbox#latest
Sending a message like "chars è others" will result in the message "chars".
If the message starts witha a char like these (èéìùò etc) the message is blank.
The title says all, when you try to delete an entry from the shoutbox in Vanilla 2.3, it says "Message deleted" and....
Still here.
I'll try to find the problem, If I fix it, I'll send a pull request.
The current firebase security rules do not allow messages to be deleted.
When the firebase backend is enabled, changing the colour in the profile settings has no effect at all
It seems as if the private messages can't be deleted. Now they are polluting the bottom chat lines, so that new messages of other users can't be read if you have a higher count of private messages and a "regular" chat window height. They also stay for users when they logout or leave the chat but come back.
Can you add an "x" or similar to throw away read private messages?
www.VanillaSkins.com likes to sponsor: Private Message Deletion, any other ideas in the pipe for Van2Shout?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.