The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
+15
Kuriboo
conan@10
smejker
Rupture
Count Dooku
Ramdaman
brandon_g
Mati
Rapid_Punbb
Van-Helsing
FrOsTyXi
J0k3R^
_Twisted_Mods_
Rhino.Freak
JScript
19 posters

    [Project] Staff's Chatbox

    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty [Project] Staff's Chatbox

    Post by JScript December 7th 2014, 12:56 am

    First topic message reminder :

    Hello folks!

    Introduction:

    I realized that many users would like to have a "chatbox for exclusive staff" and I also wanted!
    It was then that so I had the idea of making one, I did inside a widget but I found it strange because it was very small, boring to implement, required many steps to create and parameter settings in the ACP ...

    But now, based on another project I'm developing, this code has the ability of a true "installer", also having an uninstaller in which all the code and the pseudo database are removed completely !!!

    Only by creating a new JavaScript so that we can have the installer code is required.

    But how does it work?
    It's simple:
    The installer first create a category and within a forum with permissions only to administrators and moderators, but this can be changed later in the ACP.
    Then it creates a topic within this forum that will serve as a pseudo database to our chat!

    Features:
    1- Each member will be able delete or edit your own message;
    2- Messages are written in JSON format, thus we gain storage space and ease of maintenance in code;
    3- The message storage capacity is the same as a topic.

    How about we make tests?

    First access the ACP and check "Unauthorize unoficial forms .." to "no", see example below:
    [Project] Staff's Chatbox - Page 3 WUMZtMU

    In the ACP, create a new JavaScript as follows:
    Title * : @install_chat_staff
    Placement : In the home page
    Javascript Code * : - Copy and paste the code below in this field:

    Download link: https://www.dropbox.com/s/yeu4mif5bk62acg/Staff%27s_Chat_div.js?dl=1

    Note: The title field should have exactly this name: @install_chat_staff
    For uninstalling the code and structure of pseudo database depends exclusively on him!

    When you finish this step, go to your forum, reload the page and wait for the following window:
    [Project] Staff's Chatbox - Page 3 JNICziY
    Follow the steps waiting for the end of each.

    After the installer finishes, the page will reload, then you can use the chatbox staff that will have the following appearance (varying according to the version of your forum):
    [Project] Staff's Chatbox - Page 3 PBqUxGx

    Example: Editing a message!
    [Project] Staff's Chatbox - Page 3 VtK5yWb

    To uninstall is easy, as well as install, only the founder can do this! Simply by typing in the chat: /uninstall
    You will see the following window:
    [Project] Staff's Chatbox - Page 3 JGG01ME
    Just follow the steps and the chat will be uninstalled completely!

    Some chat commands:

    /cls - Clear all messages, resetting the list.
    /stop - Pause the reception of messages, useful when you do not want to be disturbed.
    /start - Restarts the reception of messages.

    See an example of how messages are stored in the pseudo database:
    [Project] Staff's Chatbox - Page 3 65UZl7P

    JSON format:
    Code:
    {
        "user": [{
            "id": 1,
            "name": "JScript",
            "pname": "%3Cspan%20style%3D%22color%3A%23000099%22%3E%3Cstrong%3EJScript%3C%2Fstrong%3E%3C%2Fspan%3E",
            "avatar": "http://autoitbrasil.com/forum/uploads/av-89.png"
        }, {
            "id": 2,
            "name": "Member Test",
            "pname": "%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%20153)%3B%22%3E%3Cstrong%3EMember%20Test%3C%2Fstrong%3E%3C%2Fspan%3E",
            "avatar": "http://2img.net/i/fa/invision/pp-blank-thumb.png"
        }],
        "msgs": [{
            "id": 1,
            "msg": "Messages%20cleared!",
            "date": "18:56 - 19/12/2014"
        }, {
            "id": 1,
            "msg": "Test%2001%20-%20FF",
            "date": "18:56 - 19/12/2014"
        }, {
            "id": 2,
            "msg": "Test%2002%20-%20IE",
            "date": "18:57 - 19/12/2014"
        }, {
            "id": 2,
            "msg": "Test%2003%20-%20CR",
            "date": "18:57 - 19/12/2014"
        }]
    }


    Who can contribute to the project, either with more ideas, codes and even translations into other languages, I thank you!

    JS


    Last edited by JScript on June 3rd 2015, 10:53 am; edited 7 times in total
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by _Twisted_Mods_ January 5th 2015, 8:00 pm

    true but you can remove that group from mod of that forum .. turn on auto subscribe for 0 post on that group... turn it back off then turn mod back on ..on that forum... bit annoying but it will do the trick
    smejker
    smejker
    Forumember


    Male Posts : 167
    Reputation : 4
    Language : serbo-croatian/english/macedonian/bulgarian

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by smejker February 6th 2015, 6:51 am

    This is realy nice! [Project] Staff's Chatbox - Page 3 4032543900

    [Project] Staff's Chatbox - Page 3 1863999599 for this JScript. Great job!

    But I have a little problem... When I click on smiles... box is empty (See image)

    [Project] Staff's Chatbox - Page 3 210

    And...
    1. Is it possible to put sound when new message will come?
    2. Is it a chanse to see this chatbox from subforums, profile... etc... not just homepage?
    3. Is it a chanse to change FM chat with this chat... 'cause this chat is more better from this one chat.. it's not good for me.

    Thanks in advance!

    Regards & Respect!
    conan@10
    conan@10
    New Member


    Male Posts : 24
    Reputation : 2
    Language : Vietnam
    Location : HCMC

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by conan@10 February 6th 2015, 7:24 am

    this chatbox has lots of errors, effects to many codes and somewhat difficult to use...
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by JScript February 6th 2015, 8:15 am

    @smejker
    Hello, I am very glad you enjoyed the code!

    Let me know the version of your forum so I can check the problem with smiles ok?
    I made a last update in this current version, check if that solves this problem.
    Example: https://i.imgur.com/7mqzK3j.png

    All items below are already part of a new version in which is being tested:

    1. Is it possible to put sound when new message will come?
    2. Is it a chanse to see this chatbox from subforums, profile... etc... not just homepage?
    3. Is it a chanse to change FM chat with this chat...


    @conan@10
    1- this chatbox has lots of errors,
    -> And unfortunately you did not specify what the errors, in this case is extremely difficult to solve them!

    2- effects to many codes
    -> ???

    3- and somewhat difficult to use...
    -> So you find difficult to use this chat ?! Or is it to install?
    Again you did not specify the details ...

    But you are free to not use it!

    JS
    smejker
    smejker
    Forumember


    Male Posts : 167
    Reputation : 4
    Language : serbo-croatian/english/macedonian/bulgarian

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by smejker February 6th 2015, 9:11 am

    JScript wrote:@smejker
    Hello, I am very glad you enjoyed the code!

    Let me know the version of your forum so I can check the problem with smiles ok?
    I made a last update in this current version, check if that solves this problem.
    Example: https://i.imgur.com/7mqzK3j.png

    All items below are already part of a new version in which is being tested:

    1. Is it possible to put sound when new message will come?
    2. Is it a chanse to see this chatbox from subforums, profile... etc... not just homepage?
    3. Is it a chanse to change FM chat with this chat...



    Thanks for quick answer JScript

    I have phpBB3 (prosilver) version, and anothertime thanks for sharing of everything what you made [Project] Staff's Chatbox - Page 3 1863999599

    but someone can speak what they want...

    Regards & Respect!
    avatar
    Kuriboo
    New Member


    Posts : 8
    Reputation : 1
    Language : Engish

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by Kuriboo February 7th 2015, 2:02 pm

    The possibilities of being able to manipulate data in a pseudo database from a HTML page on the forum would be quite..staggering.. kudos
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by JScript February 7th 2015, 4:03 pm

    @Kuriboo
    Absolutely yes!


    @smejker
    I tested in phpBB3 (prosilver) version and it worked normally!

    I await your response,

    JS
    smejker
    smejker
    Forumember


    Male Posts : 167
    Reputation : 4
    Language : serbo-croatian/english/macedonian/bulgarian

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by smejker February 9th 2015, 3:02 am

    JScript wrote:
    @smejker
    I tested in phpBB3 (prosilver) version and it worked normally!

    I await your response,

    JS

    Nothing... The box of smilies is still empty!
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by SLGray February 9th 2015, 3:19 am

    Have you modified any templates?



    [Project] Staff's Chatbox - Page 3 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    smejker
    smejker
    Forumember


    Male Posts : 167
    Reputation : 4
    Language : serbo-croatian/english/macedonian/bulgarian

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by smejker February 10th 2015, 3:27 am

    SLGray wrote:Have you modified any templates?

    Yes SLGray

    index_body, index_box, overall_header, topics_list_box and viewtopic_body

    Regards & Respect!
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by JScript February 11th 2015, 2:18 pm

    @smejker

    Could you post the address of your forum?

    JS
    avatar
    palokm
    New Member


    Posts : 1
    Reputation : 1
    Language : SLOVAKIA

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by palokm February 26th 2015, 7:37 am

    super chat

    if only add sound
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by JScript February 26th 2015, 8:34 am

    @palokm
    Hello!

    Thank you, the sound will be part of the next version ok?

    So long,

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by Van-Helsing February 26th 2015, 8:45 am

    Hello dear all,
    Perfect the sound for chatboxes is a very beautiful function.
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by JScript April 10th 2015, 7:37 pm

    Hello everybody, I modified the code to make life easier for developers, although still does not contain the significant changes of the next version!

    Download link: https://www.dropbox.com/s/yeu4mif5bk62acg/Staff%27s_Chat_div.js?dl=1
    (Also present in the first post!)

    JS
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by FrOsTyXi April 20th 2015, 5:43 pm

    @JScript Thank you for the update on the staff chatbox working great!!
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by JScript April 20th 2015, 6:15 pm

    @FrOsTyXi
    Thank you my friend...

    In next version will have the Forumotion's chatbox fully integrated in this chat!!!

    JS
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by FrOsTyXi April 20th 2015, 6:37 pm

    @JScript I await that version and the normal chatbox, thank you for your continued work and effort!!

    Best Regards
    FrOsTyXi
    FrOsTyXi
    FrOsTyXi
    Forumember


    Male Posts : 460
    Reputation : 12
    Language : english

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by FrOsTyXi May 30th 2015, 1:30 pm

    @JScript Has there been an update to this awesome code as of yet?

    Regards
    FrOsTyXi
    avatar
    Guest
    Guest


    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by Guest June 1st 2015, 10:35 am

    I can't see the other forums when I install this,

    It looks like this in my Admin account:

    [Project] Staff's Chatbox - Page 3 2f240612f1a5afc0417d2fef70ec7392

    In guest mode:
    [Project] Staff's Chatbox - Page 3 E509652c79a7ff8d8714f186a72699f9

    I'll let you my link forum into the hide thing so It won't be spam. I can send you the link for PM anyways.



    The forum is in Spanish cuz I'm Spanish. I can change the language if you feel conforted.

    And sorry for the confusion

    Thanks.
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by JScript June 1st 2015, 12:47 pm

    @mpelmmc

    Okay, so since the forum in question is only for testing purposes, you could create an account in moderation rights so I can better assess what is happening?

    If so, you can post username and password here or send me PM.

    JS
    avatar
    Guest
    Guest


    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by Guest June 1st 2015, 2:39 pm

    I have just sent you a PM.
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by JScript June 1st 2015, 4:37 pm

    @mpelmmc
    In your ACP, follow the steps below image, choose one of three models of "Split categories on index":
    [Project] Staff's Chatbox - Page 3 B4dXySF

    And thank you for this information, it will make me adapt the code to another format available for the categories!

    JS
    avatar
    Guest
    Guest


    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by Guest June 1st 2015, 4:44 pm

    Oh, so it was that. [Project] Staff's Chatbox - Page 3 1f63110 Thank you and best wishes on your adaptation Wink.
    avatar
    darki
    Forumember


    Posts : 254
    Reputation : 10
    Language : German, english

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by darki June 2nd 2015, 4:36 pm

    After toogling the chatbox and reloading the page, the chatbox disappears and the created forum appears instead.

    The toolbar disappears after toggling and reloading.

    The "refresh" and "clear" button don't work (nothing happens by clicking on it).

    Don't know whether the problems are only in my forum. I'm using phpbb3.
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by JScript June 2nd 2015, 5:02 pm

    darki wrote:After toogling the chatbox and reloading the page, the chatbox disappears and the created forum appears instead.
    So I can check this probable error, you need to create a temporary account with moderator privileges because this chat is for staff, and send me username and password via PM ok?

    darki wrote:The toolbar disappears after toggling and reloading.
    Which toolbar do you mean?

    darki wrote:The "refresh" and "clear" button don't work (nothing happens by clicking on it)
    1- The refresh button only works if there are new messages and for some reason they were not shown on the screen!
    2- The clear button is designed to clean only the input field!

    Edit:

    See:
    [Project] Staff's Chatbox - Page 3 N9Xp5l6

    JS


    Last edited by JScript on June 2nd 2015, 9:10 pm; edited 1 time in total (Reason for editing : More info...)
    avatar
    Ams
    Forumember


    Posts : 57
    Reputation : 1
    Language : Finnish, english

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by Ams December 16th 2016, 10:38 am

    Hi, I would love to have this chat! Are you @JScript still updating this? Also I have a little problem: I can't install the chat. I have done everything step by step but installation doesn't start.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by SLGray December 16th 2016, 2:27 pm

    If you look at JScript's profile, you will see that he has not been on since October 15, 2015.



    [Project] Staff's Chatbox - Page 3 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by SLGray February 23rd 2017, 1:59 am

    This will no longer be supported by JScript: https://help.forumotion.com/t151137-in-memory-of-jscript-joao-carlos.



    [Project] Staff's Chatbox - Page 3 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    [Project] Staff's Chatbox - Page 3 Empty Re: [Project] Staff's Chatbox

    Post by SLGray April 10th 2021, 11:30 pm

    For people who do not like to add coding, you might want to checkout a recent update:  https://help.forumotion.com/t159691-new-chatbox-channels-arrive-on-forumotion#1113343



    [Project] Staff's Chatbox - Page 3 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

    SarkZKalie and TonnyKamper like this post


      Current date/time is November 11th 2024, 2:47 pm