FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 24 users online :: 0 Registered, 0 Hidden and 24 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

Shoutbox Project Discussion

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 08 Feb 2015, 00:56

Hi !

If you haven't noticed already, there's a giant box you can write in on the front page. This will be one of the newest plugins to utilize the database. It'll be like any other chatbox or shoutbox, allowing you to drop in and chat at anytime, so long as you're authorized to modify the database.

Shoutbox Project Discussion Captur77

Some of the basic functions have been implemented so far :

  • Formatting options such as bold, color, emoticons..
  • Automatic and manual refreshing
  • Automatic-pruning of old messages


You can test this shoutbox on the index page at anytime. If you have any suggestions, feel free to post them below. I cannot guarantee all suggestions will be implemented, but I will try and add those I see ideal. Currently my main focus is to get the basic functionality finished and optimize the code.

See you Smile
Van-Helsing
Van-Helsing

Gender : Male
Age : 49
Posts : 853
Points : 4803
Reputation : 84
Location : Somewhere out there!
Language : English, Greek
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : punBB
http://itexperts.forumgreek.com/

PostVan-Helsing Sun 08 Feb 2015, 07:34

Hi Ange,
It is a wonderful project. I love it I love you!
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4047
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Sun 08 Feb 2015, 11:15

You got the screen of my terrible tablet typo... Oh no! Laughing
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 08 Feb 2015, 14:35

@Dark-Avenger thanks Mr. Green

@brandon_g lol I was trying to capture Rhino's shout.. you just happened to be in the right place at the right time.. Razz

If you have any suggestions, or general Ideas, feel free. I plan to make some optimizations to the code later today -- I said that would be last, but that apparently was a lie. Earlier optimizations, means easier development. Very Happy
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4047
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Sun 08 Feb 2015, 15:10

Ah ok... well that was an embarassing typo Embarassed... I meant to say your lying! When is the next addition expected to be finished? I can not wait! I will give it a try on my test forum when it is finished being optimized for phpbb 2 and the rest Smile.
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 08 Feb 2015, 15:29

@brandon_g Typos happen. I study French in my free time, and sometimes I end up spelling English words as French ones. Usually it's similar ones, like texte. Razz

I'll most likely select beta testers once I know the code is ready. Smile
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4047
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Sun 08 Feb 2015, 15:47

Well my test forum will do just fine. Do you have an account on the French Support by the way? Do they have a translator or does google Transalate work there? I know I am going a bit off topic, it is easy to do so.

I can not wait to try out your features and new things. Smile
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 08 Feb 2015, 15:50

brandon_g wrote:Well my test forum will do just fine. Do you have an account on the French Support by the way? Do they have a translator or does google Transalate work there? I know I am going a bit off topic, it is easy to do so.

I can not wait to try out your features and new things. Smile
The database should work on phpbb2. It's an integral part in all plugins. I don't recommend installing it yet, because I am working on v1.02 which will be a lot better.

I suppose google translate would work there, why ? Also, my account is http://forum.forumactif.com/u155553 Surprised
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4047
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Sun 08 Feb 2015, 16:08

Ange Tuteur wrote:

I suppose google translate would work there, why ? Also, my account is http://forum.forumactif.com/u155553 Surprised


Why? Because I hear they often implement more things that are suggested over there, announce new features earlier over there, the techs log in and post over there, it appears to be a worthwhile place to invest joining in. I just will be a tad bit annoyed that I will have build my reputation from scratch over there as well. It will just feel wierd to be like a newbie when I have used Forumotion for 4 years and been a member that long on the ESF as well. My point is it sounds like something to invest in, but then you have to start over scratch. That is all.
Van-Helsing
Van-Helsing

Gender : Male
Age : 49
Posts : 853
Points : 4803
Reputation : 84
Location : Somewhere out there!
Language : English, Greek
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : punBB
http://itexperts.forumgreek.com/

PostVan-Helsing Sun 08 Feb 2015, 16:23

Ange you can add the function edit/delete messages for staff, and for each member's owned messages in shoutbox too.
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 08 Feb 2015, 22:08

@brandon_g true, and it's understandable, because the company is based in France. Wink

I took a leave of absence from there, because things got busy in my life and on the English support. I've only just returned to try and answer at least one topic a day.

Dark-Avenger wrote:Ange you can add the function edit/delete messages for staff, and for each member's owned messages in shoutbox too.
I'll consider this, however, I may consider making it optional, because some people may prefer an unaltered chat. Ignoring the fact that the database can be altered, but I plan to install some security options for that. Relying on JavaScript for security isn't ideal, but that would be the only option and can keep simple users out. Wink


Update

As I mentioned I'm working on optimizations to the code, because :

  • It'll make it easier to manage, and take up less space.
  • I'm keeping user customization in mind and making it easier to add custom functions, even if you don't know JavaScript.


The following is how the bold button now functions. Keep in mind I haven't applied the code here, yet.
Code:
button({
  name : 'bold',
  text : 'B',
  css : 'font-weight:bold',
  tags : ['[b]','[/b]'],
  toggle : 1
});

The name serves as the name and title of your format. It can be called as fo.bold.press(), which would toggle between bold and normal font. This is only simple formatting which can be toggled on and off on the message area. You use CSS properties and values to define the style, and then create your tags which will wrap the message upon submission.

This is a list of my goals currently :
- Optimize code

- Use local storage to store last sent message and make sure it sent

- Change how new messages are added, so the entire HTML isn't replaced

- Add button to mention username in input area

- Add cookies for formatting and options

- Fix timestamps so they appear as the users local time

- Fix tags to make sure they're closed

- Fix messagebox scroll on min/max change
naki
naki
New Member
Gender : Unspecified
Posts : 7
Points : 3687
Reputation : 0
Location : Kosova
Language : Albanian, English, polish
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
https://www.nasergashi.com https://www.facebook.com/naser.gashi

Postnaki Tue 10 Feb 2015, 18:02

Great shoutbox Ange can you give the code for it Very Happy Very Happy Very Happy
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4047
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Tue 10 Feb 2015, 19:19

You have to install a database first.
_Twisted_Mods_
_Twisted_Mods_

Gender : Male
Age : 37
Posts : 36
Points : 3508
Reputation : 20
Location : USA
Language : code
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
http://liquidcode.forumotion.com/

Post_Twisted_Mods_ Tue 10 Feb 2015, 19:50

chat will not be released until all bugs are fixed and gone threw beta testing
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Tue 10 Feb 2015, 22:53

When I've cleared the bugs, and finished a majority of the todos I'll release the shoutbox for everyone. I also still need to work on updates for the database and ensure that the shoutbox works with it. I made a small update for it recently.. Wink

I've made some minor changes today :

  • Auto refresh text shortened and is now clickable
  • Max/Min button text has been changed to a + and -
  • /8ball command line added ( thanks to twisted for the idea )
  • Help button added for information on using command lines

Shoutbox Project Discussion Screen22

I'll also mention that a majority of the optimizations have been made, so I'll now be able to make changes more easily ! Smile
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Wed 11 Feb 2015, 23:10

Today I've finally gotten to some things I've been meaning to add and fix. The changes made today are as follows :

  • Fixed the addition of new messages ( this should solve videos reloading, and make the shoutbox slightly lighter )
  • Fixed a bug on IE which prevented use of Bold and Italic
  • Cookies added for refresh and formatting
  • You can now mention a user by clicking their username ( avatar still takes you to the profil )
  • Various technical changes.. ( style strings, loops.. )

Shoutbox Project Discussion Captur88

If any problems or suggestions, don't hesitate to let me know. See you Smile
smejker
smejker

Gender : Male
Posts : 28
Points : 3629
Reputation : 8
Location : Macedonia
Language : Macedonian, Serbo-Croatia
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB3

Postsmejker Fri 13 Feb 2015, 05:26

Ooooh, I like it!!!
How to get code... or tutorial of this? Shoutbox Project Discussion 2892060086

Regards & Respect!
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Fri 13 Feb 2015, 14:02

@smejker It will be released Soon™
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Fri 13 Feb 2015, 19:12

That bug with messages not showing / refreshing should be fixed. If you notice it doing the same thing again, let me know. Wink

I'm doing a check based on IDs now, which should be more accurate than my method before. We just have to do some testing is all to make sure reflect
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4047
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Fri 13 Feb 2015, 20:30

I do not know if this is just my end or not but it could also be a bug, so I will just simply report it anyway. The shoutbox is not appearing in IE.

Shoutbox Project Discussion No_sho12
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Fri 13 Feb 2015, 20:42

@brandon_g thanks for reporting. I fixed the bugs that were preventing IE8< from working. You should be able to see it again. Wink
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4047
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Fri 13 Feb 2015, 20:48

After clearing my browser's cache and cookies it does show up... but it looks kind of messed up:
Shoutbox Project Discussion Shoutb12
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Fri 13 Feb 2015, 20:52

You might be running IE7 or lower, which has some display issues. There could also be an error that I'm not aware of, preventing me from fixing it. ( I'm only using Emulation to catch most of the errors )
brandon_g
brandon_g

Gender : Unspecified
Age : 26
Posts : 458
Points : 4047
Reputation : 67
Location : USA
Language : English
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
http://broadcastingduo.forumotion.com

Postbrandon_g Fri 13 Feb 2015, 20:54

Ange Tuteur wrote:You might be running IE7 or lower, which has some display issues. There could also be an error that I'm not aware of, preventing me from fixing it. ( I'm only using Emulation to catch most of the errors )

I would not be surprised if I am running on IE7 or lower... knowing how often they update this old thing...
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12013
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sun 15 Feb 2015, 02:57

Some important modifications have been made today.. Smile

  • Fixed a major bug with the last update that caused slowdowns.
  • Automatically applies focus to the input after sending a message.
  • Added a check to make sure the last message was sent to the database. If it wasn't, it'll be resent.
  • Added a timeout to message refreshing to prevent continuous requests to the server, if the member left their browser unattended on the page. ( this also made users appear active when they weren't )

Shoutbox Project Discussion Captur94

With these changes, I'm one step closer to making a public release. I'll most likely review the code -- when I'm more alert -- and test it on a majority of browsers and forum versions. If there aren't any bugs or suggestions which I can't make a release without, then I'll proceed to making the final touches to the database before then. Wink

If you notice any bugs or have a suggestion, don't hesitate to let me know. I can't guarantee your suggestion being implemented in the first public release, but I will release updates over time.. Smile
Sponsored content

PostSponsored content

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum