A proposal for (another) shoutbox
#1
Hi new friends from the MyBB community!

Just discovered MyBB, what a great platform it is! The programming behind is truly amazing,

Not long  ago, I implemented a shoutbox for some friend's forum that had  integration problems with a commercial shoutbox available out there. To make sure that there members felt at home, my shoutbox (GBOX) is similar in looks, but resemblance stops there, not a single line was copied from the initial shoutbox.

I program for the fun of it, but I must admit I get my reward from peoplle using my code.  I would like to propose a shoutbox plugin but I am pretty sure tons of shoutboxs are availaible on myBB, so before I do further work (with your help) to to make sure my plugin meets MyBB standards, I would like to know if it is of any interest to this community.

Here's my beta version (click on icon bottom right):

http://149.56.32.176/~clubgpsc/FORUM/

As it is implemented  right now, it is not integrated to MyBB, so you can test it by putting a name in the yellow-ish edit box. A later version would use the MyBB member name. It's also in French for now, but I am sure you'll figure out  how it works.

So please give me feedback on it.

Thanks!
Reply
#2
I am honestly not able to see the button on bottom right related to shoutbox. Confused
Reply
#3
(05-18-2018, 02:41 AM)WallBB Wrote: I am honestly not able to see the button on bottom right related to shoutbox. Confused

Hi WallBB

So, you don't see that icon?


[Image: pop_cbox.ico]

Please tell me what browser and operating system you are using.

Thanks!
Reply
#4
I do like the popup concept of this chatbox since all the shoutboxes I've seen for MyBB have all been added into the index page.

And just a heads up, I noticed you haven't sanitized user inputs in the shoutbox leaving it open to XSS. You should sanitize inputs using htmlspecialchars_uni
Reply
#5
(05-18-2018, 04:15 AM)0xB9 Wrote: I do like the popup concept of this chatbox since all the shoutboxes I've seen for MyBB have all been added into the index page.

And just a heads up, I noticed you haven't sanitized user inputs in the shoutbox leaving it open to XSS. You should sanitize inputs using htmlspecialchars_uni

Thanks 0xB9. As it is written right now, one could inject html code too!

I have to admit that the sliding chatbox was not my idea, like I said before,  I tried to mimic the looks of the commercial shoutbox I had to replace since it had serious bugs in it.  Now, I don't know if they have a trademark on the sliding effect, probably not, as I would think it's a feature developed by jquery.  Wink



Note that I couldn't use the sliiding effect from jquery, since the version I was stuck with (1.7) had a problem sliding a iframe. So, I had to do the effect based on a timer event.

To the person who asked me on the GBOX how far back you can scoll down messages, here's how it works

As it is right now, previous are never deleted so, as you scoll down, 5 older messages are added to the first 20 messages read on refresh. So you can scroll down as far as the first message.

A future version will limit the messages to 500 messages or so.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)